diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-07-26 21:54:05 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-07-26 21:54:05 +0000 |
commit | 49c91f5697546c11e5c9686feb303a6099203a88 (patch) | |
tree | ffae9094f1b17193844e60cc2420e425c87db29b | |
parent | 5774b8e796732a7c475efa1b91f0a25c1416cf7e (diff) |
rootfs_ipk, package-index: Fix an error introduced in a previous commit - make sure the Packages file exists
-rw-r--r-- | classes/rootfs_ipk.bbclass | 1 | ||||
-rw-r--r-- | packages/meta/package-index.bb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index 2b92415b58..25738e8cb1 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -31,6 +31,7 @@ real_do_rootfs () { mkdir -p ${IMAGE_ROOTFS}/dev if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then + touch ${DEPLOY_DIR_IPK}/Packages ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK} fi mkdir -p ${T} diff --git a/packages/meta/package-index.bb b/packages/meta/package-index.bb index 0f8c450e37..0afb36a6ba 100644 --- a/packages/meta/package-index.bb +++ b/packages/meta/package-index.bb @@ -27,6 +27,7 @@ do_build[nostamp] = 1 do_build[dirs] = "${DEPLOY_DIR_IPK}" do_build() { set -ex + touch Packages ipkg-make-index -r Packages -p Packages -l Packages.filelist -m . set +ex } |