summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-06-22 15:29:31 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-27 13:55:22 +0100
commit1ad7165f7e6346c96ef60327a77ebb1a0c583114 (patch)
tree12f9865ecc6ff0920fefd2de659c859ae30da738 /meta/recipes-core
parent1e36258c5a5961c5bb8d1ccc9cc957e3fd07629d (diff)
downloadpoky-1ad7165f7e6346c96ef60327a77ebb1a0c583114.tar.gz
util-linux: Enable unshare utility
It allows to run program with some namespaces unshared from parent. (From OE-Core rev: 68e0080a924654245f04cf92c2579abd9e5bc658) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 0b7db529fd..8b633e9ac6 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -35,7 +35,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
35 util-linux-lsblk util-linux-mkfs.cramfs util-linux-fstrim \ 35 util-linux-lsblk util-linux-mkfs.cramfs util-linux-fstrim \
36 util-linux-partx util-linux-hwclock util-linux-mountpoint \ 36 util-linux-partx util-linux-hwclock util-linux-mountpoint \
37 util-linux-findfs util-linux-getopt util-linux-sulogin util-linux-prlimit \ 37 util-linux-findfs util-linux-getopt util-linux-sulogin util-linux-prlimit \
38 util-linux-ionice util-linux-switch-root" 38 util-linux-ionice util-linux-switch-root util-linux-unshare"
39PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', 'util-linux-pylibmount', '', d)}" 39PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', 'util-linux-pylibmount', '', d)}"
40PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}" 40PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser util-linux-su', '', d)}"
41 41
@@ -46,7 +46,7 @@ SHARED_EXTRA_OECONF = "--disable-use-tty-group \
46 --enable-kill --enable-last --enable-mesg --enable-partx \ 46 --enable-kill --enable-last --enable-mesg --enable-partx \
47 --enable-raw --enable-rfkill --disable-login \ 47 --enable-raw --enable-rfkill --disable-login \
48 --disable-vipw --disable-newgrp --disable-chfn-chsh \ 48 --disable-vipw --disable-newgrp --disable-chfn-chsh \
49 --enable-write --enable-mount \ 49 --enable-write --enable-mount --enable-unshare \
50 --enable-libuuid --enable-libblkid --enable-fsck \ 50 --enable-libuuid --enable-libblkid --enable-fsck \
51 --disable-minix --disable-bfs --without-udev \ 51 --disable-minix --disable-bfs --without-udev \
52 usrsbin_execdir='${sbindir}' \ 52 usrsbin_execdir='${sbindir}' \
@@ -113,6 +113,7 @@ FILES_util-linux-sulogin = "${base_sbindir}/sulogin*"
113FILES_util-linux-mountpoint = "${base_bindir}/mountpoint.${BPN}" 113FILES_util-linux-mountpoint = "${base_bindir}/mountpoint.${BPN}"
114 114
115FILES_util-linux-switch-root = "${base_sbindir}/switch_root.${BPN}" 115FILES_util-linux-switch-root = "${base_sbindir}/switch_root.${BPN}"
116FILES_util-linux-unshare = "${bindir}/unshare"
116 117
117# Util-linux' blkid replaces the e2fsprogs one 118# Util-linux' blkid replaces the e2fsprogs one
118FILES_util-linux-blkid = "${base_sbindir}/blkid*" 119FILES_util-linux-blkid = "${base_sbindir}/blkid*"