package_deb.bbclass: depend on apt, not dpkg.
authorFilip Zyzniewski <filip.zyzniewski@gmail.com>
Tue, 15 Feb 2011 03:23:04 +0000 (03:23 +0000)
committerTom Rini <tom_rini@mentor.com>
Mon, 14 Feb 2011 20:50:46 +0000 (13:50 -0700)
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@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/package_deb.bbclass

index b2f463a..1f36246 100644 (file)
@@ -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