diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-09-13 16:14:41 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-14 08:21:01 +0100 |
| commit | 34e875e7ecd641f9128d4eb8ef2e78902d876c03 (patch) | |
| tree | f17b704dae90788ea54dbd64809bb7b79857a864 | |
| parent | 58324d8c0938d4ceaf9576c0ca4d382dea312d08 (diff) | |
| download | poky-34e875e7ecd641f9128d4eb8ef2e78902d876c03.tar.gz | |
LSB Command Check: fix install_initd and remove_initd not found
The install_initd and remove_initd are linked to /sbin/chkconfig for lsb
core test, but chkconfig has been moved from /sbin to /usr/sbin in order
to fix QA warning about unsafe references in binaries.
(In commit e486242db83297701803866bea971a2f1a1135fe)
Let install_initd and remove_initd link to /usr/sbin/chkconfig could fix
this issue.
[YOCTO #5152]
(From OE-Core rev: 789c4c13c5095a2865d1ee1b242141b5b076bed5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/lsb/lsb_4.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index 59d5bcafef..c80ff593c7 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb | |||
| @@ -79,8 +79,8 @@ do_install_append(){ | |||
| 79 | 79 | ||
| 80 | # creat links for LSB test | 80 | # creat links for LSB test |
| 81 | install -d ${D}/${libdir}/lsb | 81 | install -d ${D}/${libdir}/lsb |
| 82 | ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd | 82 | ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd |
| 83 | ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd | 83 | ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd |
| 84 | ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail | 84 | ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail |
| 85 | 85 | ||
| 86 | if [ "${TARGET_ARCH}" = "x86_64" ];then | 86 | if [ "${TARGET_ARCH}" = "x86_64" ];then |
