summaryrefslogtreecommitdiff
path: root/repo/system
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
parent19b9a12a93a45cc02b31de9b40c45029fbf3c569 (diff)
fixed dracut to work, and can boot
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/eudev.xibuild28
-rw-r--r--repo/system/sbase.xibuild6
2 files changed, 13 insertions, 21 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
}
diff --git a/repo/system/sbase.xibuild b/repo/system/sbase.xibuild
index a101bb9..e4a36cd 100644
--- a/repo/system/sbase.xibuild
+++ b/repo/system/sbase.xibuild
@@ -29,8 +29,8 @@ package () {
make PREFIX=/usr DESTDIR=$PKG_DEST install
# these are provided by other utils
- for p in tar sed find xargs; do
- rm $PKG_DEST/usr/bin/$p
- rm $PKG_DEST/usr/share/man/man1/$p.1
+ for p in tar sed find xargs grep; do
+ mv $PKG_DEST/usr/bin/$p $PKG_DEST/usr/bin/s$p
+ mv $PKG_DEST/usr/share/man/man1/$p.1 $PKG_DEST/usr/share/man/man1/s$p.1
done
}