* [PATCH 0/1] util-linux: fix alternatives setting for unshare
@ 2018-10-11 9:04 Chen Qi
2018-10-11 9:04 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2018-10-11 9:04 UTC (permalink / raw)
To: openembedded-core
*** BLURB HERE ***
The following changes since commit 8a2e53b525ebc4f50c7384af056cbe67a3913282:
libxml2: Make it compatible with externalsrc (2018-10-10 17:59:09 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/util-linux-unshare
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/util-linux-unshare
Chen Qi (1):
util-linux: fix alternatives setting for unshare
meta/recipes-core/util-linux/util-linux.inc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] util-linux: fix alternatives setting for unshare
2018-10-11 9:04 [PATCH 0/1] util-linux: fix alternatives setting for unshare Chen Qi
@ 2018-10-11 9:04 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2018-10-11 9:04 UTC (permalink / raw)
To: openembedded-core
The alternative setting for unshare belongs to the util-linux-unshare
package instead of the util-linux package. Fix this problem to avoid
a dead symlink /usr/bin/unshare -> /usr/bin/unshare.util-linux on target.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-core/util-linux/util-linux.inc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 45e2203..60ac9c2 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -207,7 +207,7 @@ ALTERNATIVE_PRIORITY = "80"
ALTERNATIVE_${PN} = " \
dmesg kill more mkswap blockdev pivot_root switch_root \
- hexdump last lastb logger mesg renice wall unshare \
+ hexdump last lastb logger mesg renice wall \
setsid chrt flock utmpdump eject nologin taskset fallocate \
fsfreeze nsenter \
"
@@ -220,7 +220,6 @@ ALTERNATIVE_LINK_NAME[blockdev] = "${base_sbindir}/blockdev"
ALTERNATIVE_LINK_NAME[pivot_root] = "${base_sbindir}/pivot_root"
ALTERNATIVE_LINK_NAME[switch_root] = "${base_sbindir}/switch_root"
ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
-ALTERNATIVE_LINK_NAME[unshare] = "${bindir}/unshare"
ALTERNATIVE_LINK_NAME[fallocate] = "${bindir}/fallocate"
ALTERNATIVE_LINK_NAME[fsfreeze] = "${sbindir}/fsfreeze"
ALTERNATIVE_LINK_NAME[nologin] = "${base_sbindir}/nologin"
@@ -292,6 +291,9 @@ ALTERNATIVE_LINK_NAME[sulogin] = "${base_sbindir}/sulogin"
ALTERNATIVE_util-linux-mountpoint = "mountpoint"
ALTERNATIVE_LINK_NAME[mountpoint] = "${base_bindir}/mountpoint"
+ALTERNATIVE_util-linux-unshare = "unshare"
+ALTERNATIVE_LINK_NAME[unshare] = "${bindir}/unshare"
+
BBCLASSEXTEND = "native nativesdk"
python do_package_prepend () {
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-11 8:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11 9:04 [PATCH 0/1] util-linux: fix alternatives setting for unshare Chen Qi
2018-10-11 9:04 ` [PATCH 1/1] " Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox