main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191)
This commit is contained in:
parent
45dec6cc73
commit
ebd351c346
3 changed files with 3 additions and 1 deletions
|
@ -10,3 +10,4 @@
|
||||||
/sysroot
|
/sysroot
|
||||||
/tmp
|
/tmp
|
||||||
/usr
|
/usr
|
||||||
|
/hooks-cleanup
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
||||||
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||||
pkgname=postmarketos-initramfs
|
pkgname=postmarketos-initramfs
|
||||||
pkgver=2.6.1
|
pkgver=2.7.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
|
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
|
|
|
@ -87,6 +87,7 @@ init="/sbin/init"
|
||||||
setup_bootchart2
|
setup_bootchart2
|
||||||
|
|
||||||
# Switch root
|
# Switch root
|
||||||
|
run_hooks /hooks-cleanup
|
||||||
killall telnetd mdev udevd msm-fb-refresher 2>/dev/null
|
killall telnetd mdev udevd msm-fb-refresher 2>/dev/null
|
||||||
|
|
||||||
# shellcheck disable=SC2093
|
# shellcheck disable=SC2093
|
||||||
|
|
Loading…
Reference in a new issue