mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-26 07:50:40 +08:00
update linux-phicomm-n1 to 5.5.8-2, fix #2
This commit is contained in:
parent
5f5b8002f2
commit
df08474967
3 changed files with 7 additions and 4 deletions
|
@ -8,7 +8,7 @@ _srcname=linux-5.5
|
|||
_kernelname=${pkgbase#linux}
|
||||
_desc="AArch64 kernel for Phicomm N1"
|
||||
pkgver=5.5.8
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('aarch64')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
|
@ -28,7 +28,7 @@ source+=("http://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz")
|
|||
md5sums=('0a78b1dc48dc032fe505b170c1b92339'
|
||||
'caa2dbc19116d818e6d0d46baeca961b'
|
||||
'24e1591eba356a657ca6ddb1efcd99f8'
|
||||
'66e0ae63183426b28c0ec0c7e10b5e16'
|
||||
'30130b4dcd8ad4364ddbfd56c3058d5e'
|
||||
'ce6c81ad1ad1f8b333fd6077d47abdaf'
|
||||
'bdeb5fb852fd92b4e76b4796db500dd4'
|
||||
'74fdb27ae62f3ea870a86ff3546764e5')
|
||||
|
|
|
@ -2,9 +2,12 @@ post_upgrade() {
|
|||
if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then
|
||||
echo "WARNING: /boot appears to be a separate partition but is not mounted."
|
||||
fi
|
||||
if (( $(vercmp $2 5.5.8-2) < 0 )); then
|
||||
echo '==> Fallback initramfs is not used, so it is being deleted now.'
|
||||
rm -f boot/initramfs-%PKGBASE%-fallback.img
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
rm -f boot/initramfs-%PKGBASE%.img
|
||||
rm -f boot/initramfs-%PKGBASE%-fallback.img
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
ALL_config="/etc/mkinitcpio.conf"
|
||||
ALL_kver="%KERNVER%"
|
||||
|
||||
PRESETS=('default' 'fallback')
|
||||
PRESETS=('default')
|
||||
|
||||
#default_config="/etc/mkinitcpio.conf"
|
||||
default_image="/boot/initramfs-%PKGBASE%.img"
|
||||
|
|
Loading…
Reference in a new issue