From 19cca97e5c22ebbbdfdd62de87ddb9f90172b31f Mon Sep 17 00:00:00 2001 From: Lucas Manika Koeb <lmk08@c3sl.ufpr.br> Date: Mon, 25 Feb 2013 12:35:33 -0300 Subject: [PATCH] scripts/60-update-initrd_le5: Fix the find command used with cpio to recompress the image Signed-off-by: Lucas Manika Koeb <lmk08@c3sl.ufpr.br> --- scripts/60-update-initrd_le5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/60-update-initrd_le5 b/scripts/60-update-initrd_le5 index 2dd7bfe..30abb0e 100755 --- a/scripts/60-update-initrd_le5 +++ b/scripts/60-update-initrd_le5 @@ -69,7 +69,7 @@ echo "export \"FLAVOUR=le5\"" >> ./etc/casper.conf cp -f "$TEMPLATES"/casper/10adduser ./scripts/casper-bottom/25adduser # Regenarete initrd image -find ./ | cpio --quiet --dereference -o -H newc | lzma -7 \ +find . -depth -print0 | cpio --quiet --dereference -o -H newc | lzma -7 \ > $CDDIR/casper/initrd.lz if [ -e "$TMP/NEW_KERNEL" ]; then -- GitLab