[oe] [PATCH] package_deb.bbclass: depend on apt, not dpkg.
Filip Zyzniewski
filip.zyzniewski at gmail.com
Mon Feb 14 19:23:04 UTC 2011
Both package_deb.bbclass and rootfs_deb.bbclass use apt-get.
Without apt system cannot be bootstrapped because there is no optimal
way to fetch new packages. Apt depends on dpkg, so switching from dpkg
to apt in EXTRA_DEPENDS provides both.
Signed-off-by: Filip Zyzniewski <filip.zyzniewski at gmail.com>
---
classes/package_deb.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass
index 837efd8..a98ec9d 100644
--- a/classes/package_deb.bbclass
+++ b/classes/package_deb.bbclass
@@ -4,8 +4,8 @@
inherit package
-BOOTSTRAP_EXTRA_RDEPENDS += "dpkg"
-DISTRO_EXTRA_RDEPENDS += "dpkg"
+BOOTSTRAP_EXTRA_RDEPENDS += "apt"
+DISTRO_EXTRA_RDEPENDS += "apt"
IMAGE_PKGTYPE ?= "deb"
# Map TARGET_ARCH to Debian's ideas about architectures
--
1.7.1
More information about the Openembedded-devel
mailing list