diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-01-25 09:05:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-01 15:07:44 +0000 |
commit | 936aca72c9766908bb021875cc752dc1d7a9cfa7 (patch) | |
tree | 5ae564d11dc7759624ed55a4a00c359a02f06b4f /meta/classes/rootfs_ipk.bbclass | |
parent | 22181a759d616576f31cd14ba0e93448bdcd9015 (diff) | |
download | poky-936aca72c9766908bb021875cc752dc1d7a9cfa7.tar.gz |
rootfs_ipk: remove runtime_script_required usage
* it was introduced in 87780fc09b066525e47d0f50ee5497db54d304cd
* then partially removed in 2feba313c991170747381c7cf821a45c2cd04632
* so remove this use too as runtime_script_required is not initialized anymore and results in
run.do_rootfs.6328: line 235: [: -eq: unary operator expected
(From OE-Core rev: 6d3eac57bdba8e2582c210a2f82a3a4546f68581)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 48fb2fbd18..5342035241 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -90,7 +90,7 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
90 | rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* | 90 | rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* |
91 | 91 | ||
92 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then | 92 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then |
93 | if [ $runtime_script_required -eq 0 ]; then | 93 | if ! grep Status:.install.ok.unpacked ${IMAGE_ROOTFS}${opkglibdir}status; then |
94 | # All packages were successfully configured. | 94 | # All packages were successfully configured. |
95 | # update-rc.d, base-passwd are no further use, remove them now | 95 | # update-rc.d, base-passwd are no further use, remove them now |
96 | opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true | 96 | opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true |