summaryrefslogtreecommitdiff
path: root/user/dracut/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-07-11 01:19:52 -0500
committerMax Rees <maxcrees@me.com>2020-07-11 23:47:51 -0500
commit77a32d089abcb5f43da122e4b97575e671213457 (patch)
tree6b56008ebcb8bdb328168ae74f1bbd9fc247684d /user/dracut/APKBUILD
parenta444a46387483758bb8d75cf16d48db6b7876cff (diff)
downloadpackages-77a32d089abcb5f43da122e4b97575e671213457.tar.gz
packages-77a32d089abcb5f43da122e4b97575e671213457.tar.bz2
packages-77a32d089abcb5f43da122e4b97575e671213457.tar.xz
packages-77a32d089abcb5f43da122e4b97575e671213457.zip
user/dracut: add easy-boot hook
Diffstat (limited to 'user/dracut/APKBUILD')
-rw-r--r--user/dracut/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/user/dracut/APKBUILD b/user/dracut/APKBUILD
index 40f60f469..744b206c5 100644
--- a/user/dracut/APKBUILD
+++ b/user/dracut/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dracut
pkgver=050
-pkgrel=0
+pkgrel=1
pkgdesc="Event-driven initramfs infrastructure"
url="https://dracut.wiki.kernel.org/"
arch="all"
@@ -16,6 +16,7 @@ source="https://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.ta
fts.patch
header-fix.patch
mount-run-without-noexec.patch
+ dracut.easy-boot
"
prepare() {
@@ -44,6 +45,9 @@ package() {
01systemd-initrd 02systemd-networkd; do
rm -r "$pkgdir"/usr/lib/dracut/modules.d/$sysdmod
done
+
+ install -Dm755 "$srcdir"/dracut.easy-boot \
+ "$pkgdir"/etc/easy-boot.d/20-dracut
}
bashcomp() {
@@ -71,4 +75,5 @@ lvm() {
sha512sums="eba046cf1c8013369a398e585e0bff233daa8595d469ce9acc8bbc6a32d55c6a5429d4219db19abbf6001104be05b357f0961f9e66b7f926039a5d3ee7c2b850 dracut-050.tar.xz
ce84e527e441e18494ea9011b4b10cf723ce5981c4717140f43861b6ed3e0f0aa78545be41c111d3338422f2ad158edc8704376c3dca207ae4445c58f54a4574 fts.patch
988f03a3fd2e7ee62409d3c57e8029403513dcec5efb37e64633d989728e4c7b619ce5b8775a04c5a0b654f7f093777d94fe6e4098a99a690c353a94f537e24c header-fix.patch
-d7aa2b35def975ec2a9620d3e8c94da5fad5be51e81ac913b9f3497b3ca62beefb9d4cf8e4ba3b292f89b936373486d0e3184f65eb1eaed972f38d17424a32b1 mount-run-without-noexec.patch"
+d7aa2b35def975ec2a9620d3e8c94da5fad5be51e81ac913b9f3497b3ca62beefb9d4cf8e4ba3b292f89b936373486d0e3184f65eb1eaed972f38d17424a32b1 mount-run-without-noexec.patch
+ea576d30e51b2f1c676e29fb81b064b3b8c696a3692dbcf6a31f8a589ab2a426f421bc1002295eb79843cba22d6ddeb04fadb3f99d9e5c00d2d5f53fd3a6c484 dracut.easy-boot"