5.3.6-2 (clr 5.3.1-843) remove initramfs remove hook file
This commit is contained in:
parent
5f5b261f60
commit
9a0dee86fc
4 changed files with 7 additions and 17 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = linux-clear
|
pkgbase = linux-clear
|
||||||
pkgver = 5.3.6
|
pkgver = 5.3.6
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/clearlinux-pkgs/linux
|
url = https://github.com/clearlinux-pkgs/linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
|
@ -20,7 +20,6 @@ pkgbase = linux-clear
|
||||||
source = add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio
|
source = add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio
|
||||||
source = 60-linux.hook
|
source = 60-linux.hook
|
||||||
source = 90-linux.hook
|
source = 90-linux.hook
|
||||||
source = 99-linux.hook
|
|
||||||
source = linux.preset
|
source = linux.preset
|
||||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||||
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
||||||
|
@ -32,7 +31,6 @@ pkgbase = linux-clear
|
||||||
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
|
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
|
||||||
sha256sums = 452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c
|
sha256sums = 452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c
|
||||||
sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636
|
sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636
|
||||||
sha256sums = ed9d35cb7d7bd829ff6253353efa5e2d119820fe4f4310aea536671f5e4caa37
|
|
||||||
sha256sums = ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65
|
sha256sums = ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65
|
||||||
|
|
||||||
pkgname = linux-clear
|
pkgname = linux-clear
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Trigger]
|
|
||||||
Type = File
|
|
||||||
Operation = Remove
|
|
||||||
Target = boot/vmlinuz-%PKGBASE%
|
|
||||||
|
|
||||||
[Action]
|
|
||||||
Description = Remove %PKGBASE% initramfs files...
|
|
||||||
When = PreTransaction
|
|
||||||
Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -68,7 +68,7 @@ _srcname=linux-${_major}
|
||||||
_clr=${_major}.1-843
|
_clr=${_major}.1-843
|
||||||
pkgbase=linux-clear
|
pkgbase=linux-clear
|
||||||
pkgver=${_major}.${_minor}
|
pkgver=${_major}.${_minor}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/clearlinux-pkgs/linux"
|
url="https://github.com/clearlinux-pkgs/linux"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
|
@ -84,7 +84,6 @@ source=(
|
||||||
'add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio'
|
'add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio'
|
||||||
'60-linux.hook' # pacman hook for depmod
|
'60-linux.hook' # pacman hook for depmod
|
||||||
'90-linux.hook' # pacman hook for initramfs regeneration
|
'90-linux.hook' # pacman hook for initramfs regeneration
|
||||||
'99-linux.hook' # pacman hook for remove initramfs
|
|
||||||
'linux.preset' # standard config files for mkinitcpio ramdisk
|
'linux.preset' # standard config files for mkinitcpio ramdisk
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -234,8 +233,6 @@ _package() {
|
||||||
"$pkgdir/usr/share/libalpm/hooks/60-${pkgbase}.hook"
|
"$pkgdir/usr/share/libalpm/hooks/60-${pkgbase}.hook"
|
||||||
sed "$subst" ../90-linux.hook | install -Dm644 /dev/stdin \
|
sed "$subst" ../90-linux.hook | install -Dm644 /dev/stdin \
|
||||||
"$pkgdir/usr/share/libalpm/hooks/90-${pkgbase}.hook"
|
"$pkgdir/usr/share/libalpm/hooks/90-${pkgbase}.hook"
|
||||||
sed "$subst" ../99-linux.hook | install -Dm644 /dev/stdin \
|
|
||||||
"$pkgdir/usr/share/libalpm/hooks/99-${pkgbase}.hook"
|
|
||||||
|
|
||||||
msg2 "Fixing permissions..."
|
msg2 "Fixing permissions..."
|
||||||
chmod -Rc u=rwX,go=rX "$pkgdir"
|
chmod -Rc u=rwX,go=rX "$pkgdir"
|
||||||
|
@ -335,7 +332,6 @@ sha256sums=('78f3c397513cf4ff0f96aa7d09a921d003e08fa97c09e0bb71d88211b40567b2'
|
||||||
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1'
|
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1'
|
||||||
'452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c'
|
'452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c'
|
||||||
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
|
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
|
||||||
'ed9d35cb7d7bd829ff6253353efa5e2d119820fe4f4310aea536671f5e4caa37'
|
|
||||||
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')
|
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')
|
||||||
|
|
||||||
validpgpkeys=(
|
validpgpkeys=(
|
||||||
|
|
|
@ -32,3 +32,8 @@ post_upgrade() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
rm -f boot/initramfs-%PKGBASE%.img
|
||||||
|
rm -f boot/initramfs-%PKGBASE%-fallback.img
|
||||||
|
}
|
||||||
|
|
Reference in a new issue