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 14:58:45 +0000 |
commit | 6d3eac57bdba8e2582c210a2f82a3a4546f68581 (patch) | |
tree | 472ea29ee8e92e20e961c0e78f0dd0c937ecc571 /meta/classes/rootfs_ipk.bbclass | |
parent | 1f5de4b36ad5853e489e47078c830f12a1c71ce9 (diff) | |
download | openembedded-core-6d3eac57bdba8e2582c210a2f82a3a4546f68581.tar.gz openembedded-core-6d3eac57bdba8e2582c210a2f82a3a4546f68581.tar.bz2 openembedded-core-6d3eac57bdba8e2582c210a2f82a3a4546f68581.zip |
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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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 () { rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then - if [ $runtime_script_required -eq 0 ]; then + if ! grep Status:.install.ok.unpacked ${IMAGE_ROOTFS}${opkglibdir}status; then # All packages were successfully configured. # update-rc.d, base-passwd are no further use, remove them now opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true |