summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2014-09-26 00:31:08 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:52 +0100
commitd3ea4ad20d7c5292125662a4ebded0154de45949 (patch)
tree0e49367b5926e4540fedae77857a7e05a7ec43dd
parent06ac519091a9d5ef81da9c08ed64650bb1e4a1aa (diff)
downloadopenembedded-core-contrib-d3ea4ad20d7c5292125662a4ebded0154de45949.tar.gz
openembedded-core-contrib-d3ea4ad20d7c5292125662a4ebded0154de45949.tar.bz2
openembedded-core-contrib-d3ea4ad20d7c5292125662a4ebded0154de45949.zip
rootfs_deb.bbclass: pass option --cross-bootstrap to dpkg
Fixes rootfs_uninstall_packages with new dpkg version. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/classes/rootfs_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index 43fbbde5d7..229eeb1ab3 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -101,6 +101,6 @@ rootfs_install_packages() {
rootfs_uninstall_packages() {
# for some reason, --root doesn't really work here... We use --admindir&--instdir instead.
- ${STAGING_BINDIR_NATIVE}/dpkg --admindir=${IMAGE_ROOTFS}/var/lib/dpkg --instdir=${IMAGE_ROOTFS} -r --force-depends $@
+ ${STAGING_BINDIR_NATIVE}/dpkg --admindir=${IMAGE_ROOTFS}/var/lib/dpkg --instdir=${IMAGE_ROOTFS} -r --force-depends --cross-bootstrap $@
}