From 14a1fee0a54d94f0f57f50d2532849f3c2383a15 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 29 Mar 2022 22:30:13 +0100 Subject: fixed dracut to work, and can boot --- repo/system/eudev.xibuild | 28 ++++++++++------------------ repo/system/sbase.xibuild | 6 +++--- 2 files changed, 13 insertions(+), 21 deletions(-) (limited to 'repo/system') 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 } -- cgit v1.2.1