summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 18:40:15 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 18:40:15 +0000
commitf39e240a3930d408af1e6d399e7c95c5a9123fe8 (patch)
treee0e99cd0ef8b5cc85ac6e8b145dc707f14a471ac /repo
parent9f85b0878f307141bd5ca57a0e3500409219115c (diff)
fixed acpi problems
Diffstat (limited to 'repo')
-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
}