diff options
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 6fe11f77e4..a722e68ae1 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -48,8 +48,6 @@ fakeroot rootfs_rpm_do_rootfs () { | |||
48 | 48 | ||
49 | #install pacakges | 49 | #install pacakges |
50 | export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}" | 50 | export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}" |
51 | export INSTALL_PLATFORM_RPM="${TARGET_ARCH}" | ||
52 | export INSTALL_PLATFORM_EXTRA_RPM="${PACKAGE_ARCHS}" | ||
53 | export INSTALL_CONFBASE_RPM="${RPMCONF_TARGET_BASE}" | 51 | export INSTALL_CONFBASE_RPM="${RPMCONF_TARGET_BASE}" |
54 | export INSTALL_PACKAGES_NORMAL_RPM="${PACKAGE_INSTALL}" | 52 | export INSTALL_PACKAGES_NORMAL_RPM="${PACKAGE_INSTALL}" |
55 | export INSTALL_PACKAGES_ATTEMPTONLY_RPM="${PACKAGE_INSTALL_ATTEMPTONLY}" | 53 | export INSTALL_PACKAGES_ATTEMPTONLY_RPM="${PACKAGE_INSTALL_ATTEMPTONLY}" |
@@ -57,6 +55,13 @@ fakeroot rootfs_rpm_do_rootfs () { | |||
57 | export INSTALL_PROVIDENAME_RPM="" | 55 | export INSTALL_PROVIDENAME_RPM="" |
58 | export INSTALL_TASK_RPM="populate_sdk" | 56 | export INSTALL_TASK_RPM="populate_sdk" |
59 | 57 | ||
58 | # List must be prefered to least preferred order | ||
59 | INSTALL_PLATFORM_RPM="" | ||
60 | for each_arch in ${PACKAGE_ARCHS} ; do | ||
61 | INSTALL_PLATFORM_RPM="$each_arch $INSTALL_PLATFORM_RPM" | ||
62 | done | ||
63 | export INSTALL_PLATFORM_RPM | ||
64 | |||
60 | package_install_internal_rpm | 65 | package_install_internal_rpm |
61 | 66 | ||
62 | export D=${IMAGE_ROOTFS} | 67 | export D=${IMAGE_ROOTFS} |