diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_deb.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/package_ipk.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/package_rpm.bbclass | 3 | ||||
-rw-r--r-- | meta/recipes-core/meta/package-index.bb | 6 |
4 files changed, 13 insertions, 4 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 4faeb4a5f3..000d9ee8dc 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -431,3 +431,7 @@ python do_package_write_deb () { | |||
431 | do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" | 431 | do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" |
432 | addtask package_write_deb before do_package_write after do_package | 432 | addtask package_write_deb before do_package_write after do_package |
433 | 433 | ||
434 | |||
435 | PACKAGEINDEXES += "package_update_index_deb;" | ||
436 | PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" | ||
437 | PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" | ||
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 3c2472bc10..a3dfc73342 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -386,3 +386,7 @@ python do_package_write_ipk () { | |||
386 | } | 386 | } |
387 | do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" | 387 | do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" |
388 | addtask package_write_ipk before do_package_write after do_package | 388 | addtask package_write_ipk before do_package_write after do_package |
389 | |||
390 | PACKAGEINDEXES += "package_update_index_ipk;" | ||
391 | PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" | ||
392 | PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot" | ||
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 1cf9f798d3..b86356de2e 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -815,3 +815,6 @@ python do_package_write_rpm () { | |||
815 | do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" | 815 | do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" |
816 | addtask package_write_rpm before do_package_write after do_package | 816 | addtask package_write_rpm before do_package_write after do_package |
817 | 817 | ||
818 | PACKAGEINDEXES += "package_update_index_rpm; createrepo ${DEPLOY_DIR_RPM};" | ||
819 | PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" | ||
820 | PACKAGEINDEXDEPS += "createrepo-native:do_populate_sysroot" | ||
diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb index 3c642cb571..bf3922f6d1 100644 --- a/meta/recipes-core/meta/package-index.bb +++ b/meta/recipes-core/meta/package-index.bb | |||
@@ -19,13 +19,11 @@ do_package_write_deb[noexec] = "1" | |||
19 | do_populate_sysroot[noexec] = "1" | 19 | do_populate_sysroot[noexec] = "1" |
20 | 20 | ||
21 | do_package_index[nostamp] = "1" | 21 | do_package_index[nostamp] = "1" |
22 | do_package_index[dirs] = "${DEPLOY_DIR_IPK}" | 22 | do_package_index[depends] += "${PACKAGEINDEXDEPS}" |
23 | do_package_index[depends] += "opkg-utils-native:do_populate_sysroot" | ||
24 | do_package_index[depends] += "opkg-native:do_populate_sysroot" | ||
25 | 23 | ||
26 | do_package_index() { | 24 | do_package_index() { |
27 | set -ex | 25 | set -ex |
28 | package_update_index_ipk | 26 | ${PACKAGEINDEXES} |
29 | set +ex | 27 | set +ex |
30 | } | 28 | } |
31 | addtask do_package_index before do_build | 29 | addtask do_package_index before do_build |