summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/system/dbus.xibuild8
-rw-r--r--repo/system/networkmanager.xibuild2
-rw-r--r--repo/util/acpi.xibuild2
3 files changed, 9 insertions, 3 deletions
diff --git a/repo/system/dbus.xibuild b/repo/system/dbus.xibuild
index b97f906..1078cd8 100644
--- a/repo/system/dbus.xibuild
+++ b/repo/system/dbus.xibuild
@@ -5,6 +5,10 @@ DEPS=(elogind)
PKG_VER=1.12.20
SOURCE=https://dbus.freedesktop.org/releases/dbus/dbus-$PKG_VER.tar.gz
+BOOTSCRIPTS=blfs-bootscripts-20210826
+ADDITIONAL=(
+ https://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$BOOTSCRIPTS.tar.xz
+ )
DESC="A message bus system allowing applications to talk to one another"
@@ -31,7 +35,6 @@ package () {
chown -v root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper &&
chmod -v 4750 $PKG_DEST/usr/libexec/dbus-daemon-launch-helper
-
cat > $PKG_DEST/etc/dbus-1/session-local.conf << "EOF"
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
@@ -44,4 +47,7 @@ package () {
</busconfig>
EOF
+ tar xf $BOOTSCRIPTS.tar.xz
+ cd $BOOTSCRIPTS
+ make DESTDIR=$PKG_DEST install-dbus
}
diff --git a/repo/system/networkmanager.xibuild b/repo/system/networkmanager.xibuild
index 3a59ce4..7522910 100644
--- a/repo/system/networkmanager.xibuild
+++ b/repo/system/networkmanager.xibuild
@@ -15,7 +15,7 @@ DESC="Network connection manager and user applications"
prepare () {
grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'
-
+ dbus-uuidgen --ensure
}
build () {
diff --git a/repo/util/acpi.xibuild b/repo/util/acpi.xibuild
index c09792d..ebcad37 100644
--- a/repo/util/acpi.xibuild
+++ b/repo/util/acpi.xibuild
@@ -13,5 +13,5 @@ build () {
}
package () {
- make -C "acpi-$PKG_VER" DESTDIR"=$PKG_DEST" install
+ make DESTDIR=$PKG_DEST install
}