summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/dracut/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/user/dracut/APKBUILD b/user/dracut/APKBUILD
index 6be168f60..a4b386c68 100644
--- a/user/dracut/APKBUILD
+++ b/user/dracut/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dracut
pkgver=048
-pkgrel=2
+pkgrel=3
pkgdesc="Event-driven initramfs infrastructure"
url="https://dracut.wiki.kernel.org/"
arch="all"
@@ -17,8 +17,13 @@ source="https://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.ta
mount-run-without-noexec.patch
"
+prepare() {
+ default_prepare
+ # Breaks separate /usr with OpenRC
+ rm -r "$builddir"/modules.d/98usrmount
+}
+
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -29,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
for sysdmod in 00systemd 98dracut-systemd \
01systemd-initrd 02systemd-networkd; do