diff options
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
| -rw-r--r-- | meta/classes/rootfs_deb.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index edd1037f87..dcfe78669c 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
| @@ -11,6 +11,12 @@ rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME" | |||
| 11 | 11 | ||
| 12 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | 12 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" |
| 13 | 13 | ||
| 14 | python rootfs_deb_bad_recommendations() { | ||
| 15 | if d.getVar("BAD_RECOMMENDATIONS", True): | ||
| 16 | bb.warn("Debian package install does not support BAD_RECOMMENDATIONS") | ||
| 17 | } | ||
| 18 | do_rootfs[prefuncs] += "rootfs_deb_bad_recommendations" | ||
| 19 | |||
| 14 | DEB_POSTPROCESS_COMMANDS = "" | 20 | DEB_POSTPROCESS_COMMANDS = "" |
| 15 | 21 | ||
| 16 | opkglibdir = "${localstatedir}/lib/opkg" | 22 | opkglibdir = "${localstatedir}/lib/opkg" |
| @@ -113,7 +119,7 @@ remove_packaging_data_files() { | |||
| 113 | } | 119 | } |
| 114 | 120 | ||
| 115 | rootfs_install_packages() { | 121 | rootfs_install_packages() { |
| 116 | ${STAGING_BINDIR_NATIVE}/apt-get install `cat $1` --force-yes --allow-unauthenticated | 122 | ${STAGING_BINDIR_NATIVE}/apt-get ${APT_ARGS} install `cat $1` --force-yes --allow-unauthenticated |
| 117 | 123 | ||
| 118 | # Mark all packages installed | 124 | # Mark all packages installed |
| 119 | sed -i -e "s/Status: install ok unpacked/Status: install ok installed/;" $INSTALL_ROOTFS_DEB/var/lib/dpkg/status | 125 | sed -i -e "s/Status: install ok unpacked/Status: install ok installed/;" $INSTALL_ROOTFS_DEB/var/lib/dpkg/status |
