summaryrefslogtreecommitdiff
path: root/repo/system/eudev.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-29 22:30:13 +0100
committerdavidovski <david@davidovski.xyz>2022-03-29 22:30:13 +0100
commit14a1fee0a54d94f0f57f50d2532849f3c2383a15 (patch)
treea62d365540ad7c90618496bf7e2382107b579c83 /repo/system/eudev.xibuild
parent19b9a12a93a45cc02b31de9b40c45029fbf3c569 (diff)
fixed dracut to work, and can boot
Diffstat (limited to 'repo/system/eudev.xibuild')
-rw-r--r--repo/system/eudev.xibuild28
1 files changed, 10 insertions, 18 deletions
diff --git a/repo/system/eudev.xibuild b/repo/system/eudev.xibuild
index 8697c0f..c6bb6da 100644
--- a/repo/system/eudev.xibuild
+++ b/repo/system/eudev.xibuild
@@ -1,6 +1,6 @@
#!/bin/sh
-MAKEDEPS="make "
+MAKEDEPS="make autoconf automake"
DEPS="gperf udev-rules kmod"
PKG_VER=3.2.10
@@ -12,30 +12,22 @@ ADDITIONAL="
"
prepare () {
- apply_patches
+ #apply_patches
+ autoreconf -fiv
sed -i 's/\$(LN_S) -n -f/\$(LN_S) -f/' src/udev/Makefile.in
}
build () {
- ./configure \
- --prefix=/usr \
- --bindir=/usr/sbin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --enable-split-usr \
- --enable-manpages \
- --disable-hwdb \
- --enable-modules \
- --enable-kmod
- --disable-static
+ ./configure --prefix=/usr \
+ --bindir=/usr/sbin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --enable-manpages \
+ --disable-static
make
}
package () {
- mkdir -p $PKG_DEST/usr/lib/udev/rules.d
- mkdir -p $PKG_DEST/etc/udev/rules.d
-
make DESTDIR=$PKG_DEST install
- rm -rf $PKG_DEST/sbin
}