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.

(From OE-Core rev: c76270e55cf6db6c757690f4b8df8c95924bdcd7)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bryan Evenson 2015-04-20 11:07:37 -04:00 committed by Richard Purdie
parent ca2948a1d4
commit fcc60929a0
1 changed files with 1 additions and 1 deletions

View File

@ -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"