BTS

Issue981

Title grml-live: gzip support broken
Priority bug Status resolved
Superseder Nosy List mika, xlk
Assigned To mika Topics grml-live

Created on 2011-04-28.17:05:08 by xlk, last changed 2011-05-09.21:16:56 by mika.

Messages
msg3773 (view) Author: mika Date: 2011-05-09.21:16:56
Ah right. :) Thanks for showing up, fixed version is available from grml-testing 
and will be shipped with upcoming Grml release (WIP).
msg3772 (view) Author: xlk Date: 2011-05-09.21:15:41
Might be due to wrong quoting on my side. I guess ch fixed it correctly while I
was commenting on my somewhat botched solution.
msg3771 (view) Author: mika Date: 2011-05-09.20:50:37
Sorry, I can't reproduce your issues with "-comp gzip" causing mksquashfs to 
remove /bin/gzip.

Neither with:

 * Squashfs build information: running binary mksquashfs using options: -b 256k 
-comp gzip

# unsquashfs -l grml-medium-sid-i386/grml_cd/live/whiskey-ftw.squashfs | grep 
bin/gzip
squashfs-root/bin/gzip
squashfs-root/usr/lib/klibc/bin/gzip

nor with:

 * Squashfs build information: running binary mksquashfs using options: -b 256k 
-comp xz

# unsquashfs -l grml-medium-sid-i386/grml_cd/live/whiskey-ftw-lzma.squashfs | 
grep bin/gzip
squashfs-root/bin/gzip
squashfs-root/usr/lib/klibc/bin/gzip

I'm closing this bugreport therefore, please reopen the issue if you can 
reproduce your problem. Thanks!

Thanks for your patch!

regards,
-mika-
msg3744 (view) Author: xlk Date: 2011-04-30.15:31:38
Edit: forget the patch.  Apparently, "-comp gzip" causes mksquashfs to remove
/bin/gzip. As gzip compression is the default, removing "-comp $foo" would
probably be the best solution.
msg3743 (view) Author: xlk Date: 2011-04-28.17:05:07
--- grml-live.orig      2011-04-28 18:17:14.345636603 +0200
+++ /usr/sbin/grml-live 2011-04-28 18:17:31.178934824 +0200
@@ -234,7 +234,7 @@
     F) FORCE=1 ;;
     u) UPDATE=1 ;;
     V) VERBOSE="-v" ;;
-    z) SQUASHFS_ZLIB="true" ;;
+    z) SQUASHFS_ZLIB="-comp gzip" ;;
     ?) echo "invalid option -$OPTARG" >&2; bailout 1 ;;
   esac
 done
History
Date User Action Args
2011-05-09 21:16:56mikasetstatus: chatting -> resolved
nosy: mika, xlk
messages: + msg3773
2011-05-09 21:15:41xlksetstatus: resolved -> chatting
nosy: mika, xlk
messages: + msg3772
2011-05-09 20:50:37mikasetstatus: fixed-in-git -> resolved
assignedto: mika
messages: + msg3771
nosy: + mika
2011-04-30 15:31:38xlksetmessages: + msg3744
2011-04-28 22:01:34chsetstatus: unread -> fixed-in-git
2011-04-28 17:05:08xlkcreate