diff options
author | Sinan Kaya <okaya@kernel.org> | 2020-12-16 17:33:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-12 17:44:16 +0000 |
commit | 14ffca328e855f2ad108449ec8edd05a44574d40 (patch) | |
tree | c1ae32e58438a65130ca502a5fc3ce4dab178fa6 /meta | |
parent | eee3a23be1768986a51f8612efb78ce115d51368 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.9.4p1.bb | 12 |
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 | ||
47 | FILES_${PN} += "${nonarch_libdir}/tmpfiles.d" | ||
48 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ | 47 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ |
49 | ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" | 48 | ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" |
49 | |||
50 | SUDO_PACKAGES = "${PN}-sudo\ | ||
51 | ${PN}-lib" | ||
52 | |||
53 | PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}" | ||
54 | |||
55 | RDEPENDS_${PN}-sudo = "${PN}-lib" | ||
56 | RDEPENDS_${PN} += "${SUDO_PACKAGES}" | ||
57 | |||
58 | FILES_${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit" | ||
59 | FILES_${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}" \ No newline at end of file | ||