mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/linux-odroid-n2 to 4.9.219-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:
parent
fb01998d52
commit
0ac4c1b3e5
2 changed files with 3 additions and 4 deletions
|
@ -9,7 +9,7 @@ _srcname=linux-${_commit}
|
|||
_kernelname=${pkgbase#linux}
|
||||
_desc="ODROID-N2"
|
||||
pkgver=4.9.219
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('aarch64')
|
||||
url="https://github.com/hardkernel/linux/tree/odroidn2-4.9.y"
|
||||
license=('GPL2')
|
||||
|
@ -24,7 +24,7 @@ source=("https://github.com/hardkernel/linux/archive/${_commit}.tar.gz"
|
|||
md5sums=('6201373509cc03ea705da2d0d6856f7e'
|
||||
'0260cbce6933ed5f95ede70d90aad03a'
|
||||
'97bc0593f313c84218958379fc4aa100'
|
||||
'86d4a35722b5410e3b29fc92dae15d4b'
|
||||
'8b93b6ca167f70c60277f352f7b78024'
|
||||
'ce6c81ad1ad1f8b333fd6077d47abdaf'
|
||||
'3dc88030a8f2f5a5f97266d99b149f77')
|
||||
|
||||
|
@ -81,7 +81,6 @@ _package() {
|
|||
optdepends=('crda: to set the correct wireless channels of your country')
|
||||
provides=('kernel26' "linux=${pkgver}")
|
||||
conflicts=('linux')
|
||||
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
||||
install=${pkgname}.install
|
||||
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue