5.3.2.arch2-1
This commit is contained in:
parent
be16067dd6
commit
964e000a29
12
PKGBUILD
12
PKGBUILD
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgbase=linux # Build stock -ARCH kernel
|
||||
#pkgbase=linux-custom # Build kernel with a different name
|
||||
_srcver=5.3.2-arch1
|
||||
_srcver=5.3.2-arch2
|
||||
pkgver=${_srcver//-/.}
|
||||
pkgrel=1
|
||||
arch=(x86_64)
|
||||
|
@ -29,7 +29,7 @@ validpgpkeys=(
|
|||
'8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig)
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'89c1d6cf6c935ccda0d43236eb716a313f7989a9251bd61796ca12286a08ca5b'
|
||||
'7d09d1d79a4ecb82502b4483cf989ede3f643e05613de45e12563dfe85d80423'
|
||||
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
|
||||
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
|
||||
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')
|
||||
|
@ -70,8 +70,9 @@ build() {
|
|||
_package() {
|
||||
pkgdesc="The ${pkgbase/linux/Linux} kernel and modules"
|
||||
[[ $pkgbase = linux ]] && groups=(base)
|
||||
depends=(coreutils linux-firmware kmod mkinitcpio)
|
||||
optdepends=('crda: to set the correct wireless channels of your country')
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
backup=("etc/mkinitcpio.d/$pkgbase.preset")
|
||||
install=linux.install
|
||||
|
||||
|
@ -86,6 +87,9 @@ _package() {
|
|||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
install -Dm644 "$modulesdir/vmlinuz" "$pkgdir/boot/vmlinuz-$pkgbase"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
msg2 "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
|
||||
|
||||
|
|
Loading…
Reference in New Issue