diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-01 22:42:20 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-01 22:42:20 +0100 |
commit | d9730197219dda09ba7a0d5321c399e0d11d23e7 (patch) | |
tree | 25e92753ba3a5beeb2785fe9508bdafa11538ea2 /mk/image.mk | |
parent | b252f7521306c28b8c46f3981cf4ea26d7993625 (diff) |
fix ipkg and ipkg tools, consolidate mdev.conf
cpio under macosx or bsd creates tar archives via
stdin while using find . with leading ./.
heirloom cpio shipped with OpenADK does remove the
leading ./. Adopt ipkg busybox applet to work
without ./. Fix ipkg-build to be faster and to use
included cpio for inner tar creation.
Dependency to GNU tar can now be dropped.
Diffstat (limited to 'mk/image.mk')
-rw-r--r-- | mk/image.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/image.mk b/mk/image.mk index d6d57bb11..9a26434ae 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -52,17 +52,17 @@ endif ${BIN_DIR}/${ROOTFSTARBALL}: ${TARGET_DIR} kernel-package cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \ sed "s#\(.*\)#:0:0::::::\1#" | sort | \ - ${TOPDIR}/bin/tools/cpio -o -Hustar -P | gzip -n9 >$@ + ${TOOLS_DIR}/cpio -o -Hustar -P | gzip -n9 >$@ ${BIN_DIR}/${ROOTFSUSERTARBALL}: ${TARGET_DIR} cd ${TARGET_DIR}; find . | grep -v ./boot | sed -n '/^\.\//s///p' | \ sed "s#\(.*\)#:0:0::::::\1#" | sort | \ - ${TOPDIR}/bin/tools/cpio -o -Hustar -P | gzip -n9 >$@ + ${TOOLS_DIR}/cpio -o -Hustar -P | gzip -n9 >$@ ${BIN_DIR}/${INITRAMFS}: ${TARGET_DIR} cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \ sed "s#\(.*\)#:0:0::::::\1#" | sort | \ - ${TOPDIR}/bin/tools/cpio -o -C512 -Hnewc -P | \ + ${TOOLS_DIR}/cpio -o -C512 -Hnewc -P | \ ${ADK_COMPRESSION_TOOL} >$@ 2>/dev/null ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR} @@ -70,7 +70,7 @@ ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR} $(LINUX_DIR)/.config cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \ sed "s#\(.*\)#:0:0::::::\1#" | sort | \ - ${TOPDIR}/bin/tools/cpio -o -C512 -Hnewc -P >$@ 2>/dev/null + ${TOOLS_DIR}/cpio -o -C512 -Hnewc -P >$@ 2>/dev/null ${BIN_DIR}/${ROOTFSSQUASHFS}: ${TARGET_DIR} ${STAGING_TOOLS}/bin/mksquashfs ${TARGET_DIR} \ |