From ac12a0b6b6fadfad3a5835de32d5e333d66b5b05 Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 4 Jul 2010 10:41:16 +0200 Subject: ajout post-install a dbus --- extra/dbus/Pkgfile | 2 +- extra/dbus/post-install | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 extra/dbus/post-install diff --git a/extra/dbus/Pkgfile b/extra/dbus/Pkgfile index 19109acf2..85cb43749 100755 --- a/extra/dbus/Pkgfile +++ b/extra/dbus/Pkgfile @@ -18,7 +18,7 @@ build() { cd $name-$version ./configure --prefix=/usr \ --localstatedir=/var \ - --sysconfdir=/etc + --sysconfdir=/etc make make DESTDIR=$PKG install mkdir -p $PKG/etc/dbus-1 diff --git a/extra/dbus/post-install b/extra/dbus/post-install new file mode 100644 index 000000000..9f9715396 --- /dev/null +++ b/extra/dbus/post-install @@ -0,0 +1,5 @@ +# getent group dbus >/dev/null || usr/sbin/groupadd -g 81 dbus +# getent passwd dbus >/dev/null || usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus +usr/bin/passwd -l dbus &>/dev/null +dbus-uuidgen --ensure + -- cgit v1.2.3-70-g09d2