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

git at git.openembedded.org git at git.openembedded.org
Mon Apr 20 15:22:16 UTC 2015


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

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