diff options
-rw-r--r-- | meta/classes/image.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/populate_sdk_deb.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/populate_sdk_ipk.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 2 |
6 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9fae1fe43f..24fd868087 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -3,6 +3,11 @@ inherit rootfs_${IMAGE_PKGTYPE} | |||
3 | IMAGETEST ?= "dummy" | 3 | IMAGETEST ?= "dummy" |
4 | inherit imagetest-${IMAGETEST} | 4 | inherit imagetest-${IMAGETEST} |
5 | 5 | ||
6 | inherit populate_sdk_base | ||
7 | |||
8 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" | ||
9 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY} ${PACKAGE_GROUP_dev-pkgs} ${PACKAGE_GROUP_dbg-pkgs}" | ||
10 | |||
6 | inherit gzipnative | 11 | inherit gzipnative |
7 | 12 | ||
8 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 6dc66fbbbe..ed2dca0780 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -120,6 +120,7 @@ populate_sdk_log_check() { | |||
120 | done | 120 | done |
121 | } | 121 | } |
122 | 122 | ||
123 | do_populate_sdk[dirs] = "${TOPDIR}" | ||
123 | do_populate_sdk[nostamp] = "1" | 124 | do_populate_sdk[nostamp] = "1" |
124 | do_populate_sdk[depends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS', True).split()])}" | 125 | do_populate_sdk[depends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS', True).split()])}" |
125 | do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS', True).split()])}" | 126 | do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS', True).split()])}" |
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass index c3b3e0cde1..9e9e1e1d8b 100644 --- a/meta/classes/populate_sdk_deb.bbclass +++ b/meta/classes/populate_sdk_deb.bbclass | |||
@@ -6,6 +6,8 @@ DEB_SDK_ARCH = "${@[d.getVar('SDK_ARCH', True), "i386"]\ | |||
6 | [d.getVar('SDK_ARCH', True) in \ | 6 | [d.getVar('SDK_ARCH', True) in \ |
7 | ["x86", "i486", "i586", "i686", "pentium"]]}" | 7 | ["x86", "i486", "i586", "i686", "pentium"]]}" |
8 | 8 | ||
9 | do_populate_sdk[lockfiles] += "${WORKDIR}/deb.lock" | ||
10 | |||
9 | populate_sdk_post_deb () { | 11 | populate_sdk_post_deb () { |
10 | 12 | ||
11 | local target_rootfs=$1 | 13 | local target_rootfs=$1 |
diff --git a/meta/classes/populate_sdk_ipk.bbclass b/meta/classes/populate_sdk_ipk.bbclass index aa3efde20d..4321afb295 100644 --- a/meta/classes/populate_sdk_ipk.bbclass +++ b/meta/classes/populate_sdk_ipk.bbclass | |||
@@ -1,6 +1,8 @@ | |||
1 | do_populate_sdk[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot" | 1 | do_populate_sdk[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot" |
2 | do_populate_sdk[recrdeptask] += "do_package_write_ipk" | 2 | do_populate_sdk[recrdeptask] += "do_package_write_ipk" |
3 | 3 | ||
4 | do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" | ||
5 | |||
4 | populate_sdk_ipk() { | 6 | populate_sdk_ipk() { |
5 | 7 | ||
6 | rm -f ${IPKGCONF_TARGET} | 8 | rm -f ${IPKGCONF_TARGET} |
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 6c9767f98e..4ea71daedc 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -8,6 +8,8 @@ ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" | |||
8 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" | 8 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" |
9 | do_rootfs[recrdeptask] += "do_package_write_deb" | 9 | do_rootfs[recrdeptask] += "do_package_write_deb" |
10 | 10 | ||
11 | do_rootfs[lockfiles] += "${WORKDIR}/deb.lock" | ||
12 | |||
11 | DEB_POSTPROCESS_COMMANDS = "rootfs_install_all_locales; " | 13 | DEB_POSTPROCESS_COMMANDS = "rootfs_install_all_locales; " |
12 | 14 | ||
13 | opkglibdir = "${localstatedir}/lib/opkg" | 15 | opkglibdir = "${localstatedir}/lib/opkg" |
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 15800864a6..9732385613 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -12,6 +12,8 @@ ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" | |||
12 | do_rootfs[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot" | 12 | do_rootfs[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot" |
13 | do_rootfs[recrdeptask] += "do_package_write_ipk" | 13 | do_rootfs[recrdeptask] += "do_package_write_ipk" |
14 | 14 | ||
15 | do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" | ||
16 | |||
15 | IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite" | 17 | IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite" |
16 | 18 | ||
17 | OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf" | 19 | OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf" |