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

git at git.openembedded.org git at git.openembedded.org
Fri Apr 24 10:08:46 UTC 2015


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

Author: Bryan Evenson <bevenson at melinkcorp.com>
Date:   Mon Apr 20 14:43:32 2015 -0400

util-linux: Add lastb to alternatives

util-linux 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/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 80065e3..60309a5 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -174,7 +174,7 @@ do_install_append_class-native () {
 ALTERNATIVE_PRIORITY = "100"
 
 ALTERNATIVE_${PN}  = "dmesg kill more mkswap blockdev pivot_root switch_root"
-ALTERNATIVE_${PN} += "mkfs.minix hexdump last logger mesg renice wall"
+ALTERNATIVE_${PN} += "mkfs.minix hexdump last lastb logger mesg renice wall"
 ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject"
 
 ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg"



More information about the Openembedded-commits mailing list