summaryrefslogtreecommitdiff
path: root/repo/system/dbus.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-30 17:54:09 +0100
committerdavidovski <david@davidovski.xyz>2022-03-30 17:54:09 +0100
commitde16da348671bd797500ab144ae56d23e88c7463 (patch)
tree728ec7d354049c977b34d9693109cd5683992a30 /repo/system/dbus.xibuild
parent9ae31d6c582fbb636625a87d0921fd914f33c05e (diff)
fixed initd files
Diffstat (limited to 'repo/system/dbus.xibuild')
-rw-r--r--repo/system/dbus.xibuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/repo/system/dbus.xibuild b/repo/system/dbus.xibuild
index e1a0e72..795d2d7 100644
--- a/repo/system/dbus.xibuild
+++ b/repo/system/dbus.xibuild
@@ -5,10 +5,12 @@ 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
- "
+dbus.confd
+dbus.initd
+dbus.trigger
+"
DESC="A message bus system allowing applications to talk to one another"
@@ -25,7 +27,8 @@ build () {
--docdir=/usr/share/doc/dbus-$PKG_VER \
--with-console-auth-dir=/run/console \
--with-system-pid-file=/run/dbus/pid \
- --with-system-socket=/run/dbus/system_bus_socket &&
+ --with-system-socket=/run/dbus/system_bus_socket \
+ --with-x &&
make
}
@@ -47,7 +50,6 @@ package () {
</busconfig>
EOF
- tar xf $BOOTSCRIPTS.tar.xz
- cd $BOOTSCRIPTS
- make DESTDIR=$PKG_DEST install-dbus
+ install -Dm755 dbus.initd $PKG_DEST/etc/init.d/dbus
+ install -Dm644 dbus.confd $PKG_DEST/etc/conf.d/dbus
}