diff options
| -rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 66d3712b8d..bf18667f7a 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See image.bbclass for a usage of this. | 5 | # See image.bbclass for a usage of this. |
| 6 | # | 6 | # |
| 7 | 7 | ||
| 8 | ROOTFS_PKGMANAGE = "opkg opkg-collateral" | 8 | ROOTFS_PKGMANAGE = "opkg opkg-collateral ${EXTRAOPKGCONFIG}" |
| 9 | ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" | 9 | ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" |
| 10 | 10 | ||
| 11 | do_rootfs[depends] += "opkg-native:do_populate_staging opkg-utils-native:do_populate_staging" | 11 | do_rootfs[depends] += "opkg-native:do_populate_staging opkg-utils-native:do_populate_staging" |
| @@ -51,8 +51,9 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
| 51 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} | 51 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} |
| 52 | export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT} | 52 | export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT} |
| 53 | 53 | ||
| 54 | mkdir -p ${IMAGE_ROOTFS}/etc/opkg/ | 54 | # Distro specific packages should create this |
| 55 | grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf | 55 | #mkdir -p ${IMAGE_ROOTFS}/etc/opkg/ |
| 56 | #grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf | ||
| 56 | 57 | ||
| 57 | ${OPKG_POSTPROCESS_COMMANDS} | 58 | ${OPKG_POSTPROCESS_COMMANDS} |
| 58 | ${ROOTFS_POSTINSTALL_COMMAND} | 59 | ${ROOTFS_POSTINSTALL_COMMAND} |
