summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
diff options
context:
space:
mode:
authorSinan Kaya <okaya@kernel.org>2020-12-16 17:33:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-12 17:44:16 +0000
commit14ffca328e855f2ad108449ec8edd05a44574d40 (patch)
treec1ae32e58438a65130ca502a5fc3ce4dab178fa6 /meta/recipes-extended/sudo
parenteee3a23be1768986a51f8612efb78ce115d51368 (diff)
downloadpoky-14ffca328e855f2ad108449ec8edd05a44574d40.tar.gz
sudo: split sudo binary into its own package
Package just sudo binary into its own package for size concerned targets. (From OE-Core rev: 788c95c3bb8ede0d3d6a8f125743ac47c0b3f00e) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.4p1.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.9.4p1.bb b/meta/recipes-extended/sudo/sudo_1.9.4p1.bb
index 040130b49a..6b5a1ce752 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.4p1.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.4p1.bb
@@ -44,6 +44,16 @@ do_install_append () {
44 rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo 44 rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo
45} 45}
46 46
47FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"
48FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ 47FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \
49 ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" 48 ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la"
49
50SUDO_PACKAGES = "${PN}-sudo\
51 ${PN}-lib"
52
53PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}"
54
55RDEPENDS_${PN}-sudo = "${PN}-lib"
56RDEPENDS_${PN} += "${SUDO_PACKAGES}"
57
58FILES_${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit"
59FILES_${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}" \ No newline at end of file