X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage4%2Fpkg%2Fdbus;h=a5ba346df08b276236f2b715fa608bdf30fa51d6;hb=47f2031ebd11633c79f3fb0fd173658b2d2ef3d4;hp=f576ac76ca9df017d0a3cd5a8a2b25591c3da7f8;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage4/pkg/dbus b/stage4/pkg/dbus index f576ac7..a5ba346 100644 --- a/stage4/pkg/dbus +++ b/stage4/pkg/dbus @@ -2,14 +2,17 @@ hvconfig_pre() { - hv_groupadd -g 18 messagebus - hv_useradd -c D-BUS-Message-Daemon-User -d /dev/null \ - -u 18 -g messagebus -s /bin/false messagebus + groupadd --system -f messagebus + hv_useradd --system -c D-BUS-Message-Daemon-User -d /dev/null \ + -g messagebus -s /bin/false messagebus - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --libexecdir=/usr/lib/dbus-1.0 \ - --localstatedir=/var" + CONFIGURE_OPTS+=" \ + --localstatedir=/var \ + --disable-doxygen-docs \ + --disable-static \ + --disable-systemd \ + --without-systemdsystemunitdir \ + --with-console-auth-dir=/run/console/" } hvbuild_post() @@ -20,8 +23,7 @@ hvbuild_post() # script-name start stop bootscript_add_rc3 dbus 92 20 - # Starting the session daemon here has the added bonus that it will exit - # when you log out of your GNOME session. If you wish to start the daemon - #here, use the following command instead of the one shown above: - ##echo "exec dbus-launch --exit-with-session gnome-session" >> ~/.xinitrc + # Generate D-Bus UUID to avoid warnings when compiling some packages + # without dbus running (without this, VLC was giving an error). + dbus-uuidgen > /var/lib/dbus/machine-id }