diff --git a/PKGBUILD b/PKGBUILD index c7fac4f..31d929e 100644 --- a/PKGBUILD +++ b/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 diff --git a/config b/config index f97f588..d5f72ba 100644 --- a/config +++ b/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.3.3-arch1 Kernel Configuration +# Linux/x86 5.3.2-arch2 Kernel Configuration # #