diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2015-11-02 16:33:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:08:10 +0000 |
commit | bca5a7a2b63411ee1d51cd2112ad9503d5107381 (patch) | |
tree | 42c28aad875b616d092f8e9f8aab6a61cfb2fc57 /meta/recipes-extended/logrotate | |
parent | 0069c0d3a3d3de20330947aecbd640f0f1d2f281 (diff) | |
download | poky-bca5a7a2b63411ee1d51cd2112ad9503d5107381.tar.gz |
logrotate: do not move binary logrotate to /usr/bin
In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a
...
Author: Fahad Usman <fahad_usman@mentor.com>
Date: Tue Aug 26 13:16:48 2014 +0500
logrotate: obey our flags
Needed to quiet GNU_HASH warnings, and some minor fixes.
...
it explicitly move logrotate to /usr/bin without any reason,
which is against the original Linux location /usr/sbin.
So partly revert the above commit which let logrotate be
kept in the original place /usr/sbin.
(From OE-Core rev: 0007436b486fd0bea9e6ef60bf57603e7cfce54b)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/logrotate')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate_3.9.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb index 7d0a15961b..5f1a601aeb 100644 --- a/meta/recipes-extended/logrotate/logrotate_3.9.1.bb +++ b/meta/recipes-extended/logrotate/logrotate_3.9.1.bb | |||
@@ -53,7 +53,7 @@ do_compile_prepend() { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | do_install(){ | 55 | do_install(){ |
56 | oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} BINDIR=${bindir} | 56 | oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} |
57 | mkdir -p ${D}${sysconfdir}/logrotate.d | 57 | mkdir -p ${D}${sysconfdir}/logrotate.d |
58 | mkdir -p ${D}${sysconfdir}/cron.daily | 58 | mkdir -p ${D}${sysconfdir}/cron.daily |
59 | mkdir -p ${D}${localstatedir}/lib | 59 | mkdir -p ${D}${localstatedir}/lib |