summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 00:35:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 00:35:12 +0000
commit76f04362b543ed74ecd3dab250ea769b144a7dbb (patch)
tree7d1c36cb3ca231af694e1b6ad6db9902e94a9fae
parentc23b07fd024be0c9ccc4e1c911cddad9c65251dc (diff)
downloadpackages-76f04362b543ed74ecd3dab250ea769b144a7dbb.tar.gz
packages-76f04362b543ed74ecd3dab250ea769b144a7dbb.tar.bz2
packages-76f04362b543ed74ecd3dab250ea769b144a7dbb.tar.xz
packages-76f04362b543ed74ecd3dab250ea769b144a7dbb.zip
user/dracut: Remove 98usrmount module
-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