From b13e8172fc2d8d823ee55c4ae2729b897895cefb Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 15 Feb 2008 20:02:01 +0000 Subject: [PATCH] Changed target/share/initramfs/build.sh to build the cpio using find . instead of find * --- target/share/initramfs/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/share/initramfs/build.sh b/target/share/initramfs/build.sh index e8ee9c4..c45db09 100644 --- a/target/share/initramfs/build.sh +++ b/target/share/initramfs/build.sh @@ -1,11 +1,11 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: target/share/initramfs/build.sh # Copyright (C) 2007 - 2008 The OpenSDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the @@ -96,7 +96,7 @@ done echo_status "Expanded size: $( du -sh "$rootfs" | cut -f1)." echo_status "Creating ${rootfs#$base/}.img ..." -( cd "$rootfs"; find * | cpio -o -H newc ) | +( cd "$rootfs"; find . | cpio -o -H newc ) | gzip -c -9 > "$rootfs.img" echo_status "Image size: $( du -sh "$rootfs.img" | cut -f1)."