All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-oe] systemd: add postrm u-a calls
@ 2011-11-09 19:23 Martin Jansa
  2011-11-10  7:44 ` Anders Darander
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2011-11-09 19:23 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 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




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-21 11:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 19:23 [PATCH][meta-oe] systemd: add postrm u-a calls Martin Jansa
2011-11-10  7:44 ` Anders Darander
2011-11-10  7:56   ` Martin Jansa
2011-11-10  8:22     ` Anders Darander
2011-11-16 14:15       ` Martin Jansa
2011-11-21  8:46         ` Martin Jansa
2011-11-21  9:33           ` Koen Kooi
2011-11-21  9:45             ` [meta-oe v2] systemd: add prerm " Martin Jansa
2011-11-21 11:06             ` [PATCH][meta-oe] systemd: add postrm " Anders Darander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.