From f39e240a3930d408af1e6d399e7c95c5a9123fe8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 6 Feb 2022 18:40:15 +0000 Subject: fixed acpi problems --- repo/system/dbus.xibuild | 8 +++++++- repo/system/networkmanager.xibuild | 2 +- repo/util/acpi.xibuild | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'repo') 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" 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 } -- cgit v1.2.1