Update alternatives of man pages
cover Update alternatives of man pages
It is ok to be installed by rpm, but failed with smart.
The following changes since commit 8ad9a434c9fd0300cf5c38c368b181b78421e95a:
bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib kangkai/alternatives
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/alternatives
Kai Kang (1):
Update alternatives of man pages
meta/recipes-core/coreutils/coreutils_8.23.bb | 7 ++++++- meta/recipes-core/util-linux/util-linux.inc | 8 +++++++- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 6 ++++++ meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 6 +++++- meta/recipes-extended/mktemp/mktemp_1.7.bb | 4 ++++ meta/recipes-extended/procps/procps_3.3.10.bb | 4 ++++ meta/recipes-extended/shadow/shadow.inc | 3 ++- meta/recipes-extended/stat/stat_3.3.bb | 3 +++ 8 files changed, 37 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/1 Update alternatives of man pages
Update alternatives of man pages in several packages.
Signed-off-by Kai Kang <[email protected]>
--- meta/recipes-core/coreutils/coreutils_8.23.bb | 7 ++++++- meta/recipes-core/util-linux/util-linux.inc | 8 +++++++- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 6 ++++++ meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 6 +++++- meta/recipes-extended/mktemp/mktemp_1.7.bb | 4 ++++ meta/recipes-extended/procps/procps_3.3.10.bb | 4 ++++ meta/recipes-extended/shadow/shadow.inc | 3 ++- meta/recipes-extended/stat/stat_3.3.bb | 3 +++ 8 files changed, 37 insertions(+), 4 deletions(-)
meta/recipes-core/coreutils/coreutils_8.23.bb +6 -1
@@ -93,7 +93,7 @@ inherit update-alternatives ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs} base64 mktemp df" -ALTERNATIVE_${PN}-doc = "base64.1 mktemp.1 df.1 lbracket.1" +ALTERNATIVE_${PN}-doc = "base64.1 mktemp.1 df.1 lbracket.1 groups.1 kill.1 uptime.1 stat.1" ALTERNATIVE_LINK_NAME[base64] = "${base_bindir}/base64" ALTERNATIVE_TARGET[base64] = "${bindir}/base64.${BPN}"
@@ -111,6 +111,11 @@ ALTERNATIVE_LINK_NAME[lbracket] = "${bindir}/[" ALTERNATIVE_TARGET[lbracket] = "${bindir}/lbracket.${BPN}" ALTERNATIVE_LINK_NAME[lbracket.1] = "${mandir}/man1/lbracket.1" +ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1" +ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1" +ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" +ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1" + python __anonymous() { for prog in d.getVar('base_bindir_progs', True).split(): d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog))
meta/recipes-core/util-linux/util-linux.inc +7 -1
@@ -187,7 +187,7 @@ ALTERNATIVE_LINK_NAME[switch_root] = "${base_sbindir}/switch_root" ALTERNATIVE_LINK_NAME[mkfs.minix] = "${base_sbindir}/mkfs.minix" ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" -ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 lastb.1 mesg.1 wall.1 nologin.8 sulogin.8 utmpdump.1 reset.1" +ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 lastb.1 mesg.1 wall.1 nologin.8 sulogin.8 utmpdump.1 reset.1 kill.1 libblkid.3 blkid.8 findfs.8 fsck.8 uuid.3" ALTERNATIVE_LINK_NAME[last.1] = "${mandir}/man1/last.1" ALTERNATIVE_LINK_NAME[lastb.1] = "${mandir}/man1/lastb.1"
@@ -198,6 +198,12 @@ ALTERNATIVE_LINK_NAME[reset.1] = "${mandir}/man1/reset.1" ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8" ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1" ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1" +ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" +ALTERNATIVE_LINK_NAME[libblkid.3] = "${mandir}/man3/libblkid.3" +ALTERNATIVE_LINK_NAME[blkid.8] = "${mandir}/man8/blkid.8" +ALTERNATIVE_LINK_NAME[findfs.8] = "${mandir}/man8/findfs.8" +ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8" +ALTERNATIVE_LINK_NAME[uuid.3] = "${mandir}/man3/uuid.3" ALTERNATIVE_util-linux-hwclock = "hwclock" # There seems to be problem, atleast on nslu2, with these, untill they are
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +6 -0
@@ -91,6 +91,12 @@ ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_LINK_NAME[chattr] = "${base_bindir}/chattr" ALTERNATIVE_TARGET[chattr] = "${base_bindir}/chattr.e2fsprogs" +ALTERNATIVE_${PN}-doc = "libblkid.3 blkid.8 findfs.8 fsck.8" +ALTERNATIVE_LINK_NAME[libblkid.3] = "${mandir}/man3/libblkid.3" +ALTERNATIVE_LINK_NAME[blkid.8] = "${mandir}/man8/blkid.8" +ALTERNATIVE_LINK_NAME[findfs.8] = "${mandir}/man8/findfs.8" +ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8" + inherit ptest SRC_URI += "file://run-ptest" SRC_URI += "file://ptest.patch"
meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb +5 -1
@@ -32,7 +32,7 @@ SRC_URI[sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f S = "${WORKDIR}/uuid-${PV}" -inherit autotools +inherit autotools update-alternatives EXTRA_OECONF = "--without-dce --without-cxx --without-perl --without-perl-compat --without-php --without-pgsql" EXTRA_OECONF = "--includedir=${includedir}/ossp"
@@ -57,3 +57,7 @@ FILES_${PN} = "${libdir}/libossp-uuid.so.16*" FILES_${PN}-dev += "${bindir}/uuid-config" BBCLASSEXTEND = "native nativesdk" + +ALTERNATIVE_${PN}-doc = "uuid.3" +ALTERNATIVE_PRIORITY_${PN}-doc = "200" +ALTERNATIVE_LINK_NAME[uuid.3] = "${mandir}/man3/uuid.3"
meta/recipes-extended/mktemp/mktemp_1.7.bb +4 -0
@@ -28,3 +28,7 @@ do_install_append () { ALTERNATIVE_${PN} = "mktemp" ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp" ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN}-doc = "mktemp.1" +ALTERNATIVE_PRIORITY_${PN}-doc = "300" +ALTERNATIVE_LINK_NAME[mktemp.1] = "${mandir}/man1/mktemp.1"
meta/recipes-extended/procps/procps_3.3.10.bb +4 -0
@@ -52,6 +52,10 @@ ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" +ALTERNATIVE_${PN}-doc = "kill.1 uptime.1" +ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" +ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1" + python __anonymous() { for prog in d.getVar('base_bindir_progs', True).split(): d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog))
meta/recipes-extended/shadow/shadow.inc +2 -1
@@ -179,9 +179,10 @@ ALTERNATIVE_${PN}-base = "newgrp groups login su" ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su" -ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3" +ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3 groups.1" ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5" ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3" +ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1" pkg_postinst_${PN} () { if [ "x$D" != "x" ]; then
meta/recipes-extended/stat/stat_3.3.bb +3 -0
@@ -24,5 +24,8 @@ ALTERNATIVE_PRIORITY[stat] = "200" ALTERNATIVE_LINK_NAME[stat] = "${base_bindir}/stat" ALTERNATIVE_TARGET[stat] = "${base_bindir}/stat.stat" +ALTERNATIVE_${PN}-doc = "stat.1" +ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1" + BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1