main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191)

This commit is contained in:
mae 2024-06-02 12:37:46 +02:00 committed by MaeIsBad
parent 45dec6cc73
commit ebd351c346
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
3 changed files with 3 additions and 1 deletions

View file

@ -10,3 +10,4 @@
/sysroot
/tmp
/usr
/hooks-cleanup

View file

@ -1,7 +1,7 @@
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-initramfs
pkgver=2.6.1
pkgver=2.7.0
pkgrel=0
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
url="https://postmarketos.org"

View file

@ -87,6 +87,7 @@ init="/sbin/init"
setup_bootchart2
# Switch root
run_hooks /hooks-cleanup
killall telnetd mdev udevd msm-fb-refresher 2>/dev/null
# shellcheck disable=SC2093