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)."