Change-Id: I7c8387b4f71a7ab2d012895de6445f15ceea105b
Signed-off-by: Baptiste Durand <baptiste.durand@open.eurogiciel.org>
S = "${WORKDIR}/git"
-inherit manifest autotools-brokensep
+inherit manifest autotools-brokensep systemd
BBCLASSEXTEND = ""
PROVIDES = ""
}
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- systemctl daemon-reload
- if [ $1 == 1 ]; then
- systemctl restart avsystem.service
- fi
-
-}
-
-pkg_prerm_${PN}() {
- #!/bin/sh -e
-
- if [ $1 == 0 ]; then
- systemctl stop avsystem.service
- fi
-
-}
-
pkg_postrm_libavsysaudio() {
#!/bin/sh -e
[ "x$D" == "x" ] && ldconfig
}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- systemctl daemon-reload
-
-}
+SYSTEMD_SERVICE_${PN} = "avsystem.service"
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
PACKAGES += " avsystem "
S = "${WORKDIR}/git"
-inherit manifest autotools-brokensep
+inherit manifest autotools-brokensep useradd
BBCLASSEXTEND = ""
PROVIDES = ""
#!/bin/sh -e
ldconfig
- getent group gumd > /dev/null || groupadd -r gumd
mkdir -p $D${sysconfdir}/gumd/useradd.d
mkdir -p $D${sysconfdir}/gumd/userdel.d
mkdir -p $D${sysconfdir}/gumd/groupadd.d
PKG_libgum= "libgum"
PKG_gumd-doc= "gumd-doc"
PKG_gumd= "gumd"
-
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "-r gumd"
require gumd-extraconf.inc