Signed-off-by: Martin Jansa <[email protected]>
---
 meta-oe/recipes-core/systemd/systemd_git.bb |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb 
b/meta-oe/recipes-core/systemd/systemd_git.bb
index 90862a3..d1d4306 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -14,7 +14,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r5"
+PR = "r6"
 
 inherit useradd pkgconfig autotools vala perlnative
 
@@ -108,7 +108,6 @@ RRECOMMENDS_${PN} += "kbd kbd-consolefonts \
 
 # TODO:
 # u-a for runlevel and telinit
-# u-a prerm
 
 pkg_postinst_systemd () {
 update-alternatives --install ${base_sbindir}/init init ${base_bindir}/systemd 
300
@@ -117,3 +116,11 @@ update-alternatives --install ${base_sbindir}/reboot 
reboot ${base_bindir}/syste
 update-alternatives --install ${base_sbindir}/shutdown shutdown 
${base_bindir}/systemctl 300
 update-alternatives --install ${base_sbindir}/poweroff poweroff 
${base_bindir}/systemctl 300
 }
+
+pkg_postrm_systemd () {
+update-alternatives --remove init ${base_bindir}/systemd
+update-alternatives --remove halt ${base_bindir}/systemctl
+update-alternatives --remove reboot ${base_bindir}/systemctl
+update-alternatives --remove shutdown ${base_bindir}/systemctl
+update-alternatives --remove poweroff ${base_bindir}/systemctl
+}
-- 
1.7.8.rc1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to