[oe-commits] Bryan Evenson : sysvinit: Add lastb to alternatives

git at git.openembedded.org git at git.openembedded.org
Tue Apr 21 06:21:15 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: c76270e55cf6db6c757690f4b8df8c95924bdcd7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c76270e55cf6db6c757690f4b8df8c95924bdcd7

Author: Bryan Evenson <bevenson at melinkcorp.com>
Date:   Mon Apr 20 11:07:37 2015 -0400

sysvinit: Add lastb to alternatives

SysVinit creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

Signed-off-by: Bryan Evenson <bevenson at melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index 00d3333..2c7e3ce 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -29,7 +29,7 @@ B = "${S}/src"
 inherit update-alternatives
 DEPENDS_append = " update-rc.d-native base-passwd"
 
-ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last mesg utmpdump wall"
+ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last lastb mesg utmpdump wall"
 
 ALTERNATIVE_PRIORITY = "200"
 



More information about the Openembedded-commits mailing list