summaryrefslogtreecommitdiff
path: root/packages/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-09-12 23:11:51 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-09-12 23:11:51 +0000
commit486d50385fdfc8efe32aba47b7a47989efb76e30 (patch)
treef5be851a7a10e89bcd7311e93fa0fa3598cb0b6c /packages/meta
parent16c39fad170f138943a2347d89f508efce438ed1 (diff)
meta-sdk-*: Update/fix to use package_update_index_ipk
Diffstat (limited to 'packages/meta')
-rw-r--r--packages/meta/meta-sdk-gpe.bb13
-rw-r--r--packages/meta/meta-sdk-sbox-gpe.bb7
-rw-r--r--packages/meta/meta-sdk-sbox.bb7
-rw-r--r--packages/meta/meta-sdk.bb12
4 files changed, 14 insertions, 25 deletions
diff --git a/packages/meta/meta-sdk-gpe.bb b/packages/meta/meta-sdk-gpe.bb
index 7b5ac70f48..a91f3192c7 100644
--- a/packages/meta/meta-sdk-gpe.bb
+++ b/packages/meta/meta-sdk-gpe.bb
@@ -26,16 +26,11 @@ TARGET_INSTALL = "\
RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}"
-sdk_do_indexes () {
- set -ex
- rootfs_ipk_do_indexes
- sdk_ipk_do_indexes
- set +ex
-}
-
do_populate_sdk() {
- sdk_do_indexes
-
+ set -ex
+ package_update_index_ipk
+ set +ex
+
rm -rf ${SDK_OUTPUT}
mkdir -p ${SDK_OUTPUT}
diff --git a/packages/meta/meta-sdk-sbox-gpe.bb b/packages/meta/meta-sdk-sbox-gpe.bb
index c9b7737af2..28317c03fe 100644
--- a/packages/meta/meta-sdk-sbox-gpe.bb
+++ b/packages/meta/meta-sdk-sbox-gpe.bb
@@ -29,10 +29,9 @@ RDEPENDS = "${TARGET_INSTALL}"
IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}"
do_populate_sdk() {
-
- set -ex
- rootfs_ipk_do_indexes
- set +ex
+ set -ex
+ package_update_index_ipk
+ set +ex
rm -rf ${SDK_OUTPUT}
mkdir -p ${SDK_OUTPUT}
diff --git a/packages/meta/meta-sdk-sbox.bb b/packages/meta/meta-sdk-sbox.bb
index c0cb27d404..13c9612a74 100644
--- a/packages/meta/meta-sdk-sbox.bb
+++ b/packages/meta/meta-sdk-sbox.bb
@@ -25,10 +25,9 @@ RDEPENDS = "${TARGET_INSTALL}"
IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}"
do_populate_sdk() {
-
- set -ex
- rootfs_ipk_do_indexes
- set +ex
+ set -ex
+ package_update_index_ipk
+ set +ex
rm -rf ${SDK_OUTPUT}
mkdir -p ${SDK_OUTPUT}
diff --git a/packages/meta/meta-sdk.bb b/packages/meta/meta-sdk.bb
index cc163448ea..47796603db 100644
--- a/packages/meta/meta-sdk.bb
+++ b/packages/meta/meta-sdk.bb
@@ -23,15 +23,11 @@ TARGET_INSTALL = "\
RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}"
-sdk_do_indexes () {
- set -ex
- rootfs_ipk_do_indexes
- sdk_ipk_do_indexes
- set +ex
-}
-
do_populate_sdk() {
- sdk_do_indexes
+ set -ex
+ package_update_index_ipk
+ set +ex
+
echo "Creating host.conf..."
rm -rf ${SDK_OUTPUT}