core/linux-odroid-xu3 to 6.6.44-2

Fix drop-ins for mkinitcpio by shipping ALL_config comment out
in inux.preset.  With this line defined, *.conf placed in
/etc/mkinitcpio.conf.d/ are ignored in my testing.

Remove etc/mkinitcpio.d/${pkgbase}.preset from backup array
since having it there will cause breakage of mkinitcpio if
the user modified the preset.  This is due to our hard-coding
the kernel version in the file.  Closes #2029
This commit is contained in:
graysky 2024-08-18 11:58:56 -04:00
parent cc84c62ed2
commit fb01998d52
2 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="ODROID-XU3/XU4/HC1, odroid-6.6.y branch"
pkgver=6.6.44
pkgrel=1
pkgrel=2
arch=('armv7h')
url="https://github.com/hardkernel/linux"
license=('GPL2')
@ -20,7 +20,7 @@ source=("linux-odroid-$_commit.tar.gz::https://github.com/hardkernel/linux/archi
'linux.preset')
md5sums=('7c4b9741e6610d170452ff00120f16d8'
'7b72babe7125b3bfa0aa5e460518f10a'
'86d4a35722b5410e3b29fc92dae15d4b')
'8b93b6ca167f70c60277f352f7b78024')
prepare() {
cd $_srcname
@ -49,7 +49,6 @@ _package() {
optdepends=('wireless-regdb: to set the correct wireless channels of your country')
provides=("linux=${pkgver}" "WIREGUARD-MODULE")
conflicts=('linux')
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=${pkgname}.install
cd $_srcname

View file

@ -1,6 +1,6 @@
# mkinitcpio preset file for the '%PKGBASE%' package
ALL_config="/etc/mkinitcpio.conf"
#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="%KERNVER%"
PRESETS=('default')