From 23b4016d58410c30b0054e2c4ecd910a4817d313 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 23 Jul 2010 12:14:53 +0200 Subject: macos x portability patch for cpio --- mk/image.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/image.mk') diff --git a/mk/image.mk b/mk/image.mk index b548aac29..00c0dd17c 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -50,13 +50,13 @@ ${BIN_DIR}/${ROOTFSUSERTARBALL}: ${TARGET_DIR} ${BIN_DIR}/${INITRAMFS}: ${TARGET_DIR} cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | sort | \ - cpio -R 0:0 -oC512 -Mdist -Hnewc | ${ADK_COMPRESSION_TOOL} >$@ + cpio -oC512 r -Mdist -Hnewc | ${ADK_COMPRESSION_TOOL} >$@ ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR} $(SED) 's#^CONFIG_INITRAMFS_SOURCE.*#CONFIG_INITRAMFS_SOURCE="${BUILD_DIR}/${INITRAMFS_PIGGYBACK}"#' \ $(LINUX_DIR)/.config cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | sort | \ - cpio -R 0:0 -oC512 -Mdist -Hnewc >$@ + cpio -oC512 r -Mdist -Hnewc >$@ ${BIN_DIR}/${ROOTFSSQUASHFS}: ${TARGET_DIR} PATH='${TARGET_PATH}' \ -- cgit v1.2.3