Skip to contentSkip to conversation

Modules compression for grub-mkrescue

PATCH New Szymon Janc 1 participant 1 message Jan 13, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Modules compression for grub-mkrescue

Hi,

Following patch allow grub-mkrescue to compress modules. It also uses xorisso option to reduce image size as proposed in
http://lists.gnu.org/archive/html/grub-devel/2010-05/msg00100.html

It supports both xz and gzip compression. Yet, xz is disabled in this version as it generates some issues: wrong symbols in fshelp module (I'm not sure if this is a bug in xzio or not).

Generated image size:
no diet 1966080 B
diet with gzip 1048576 B
diet with xz 983040 B

Should be usefull for floppies.

Comments are welcome (I'm not very good at shell scripting :)

Signature · 2 lines
Szymon K. Janc
[email protected] // GG: 1383435

=== modified file 'ChangeLog'

ChangeLog +7 -0
@@ -1,3 +1,10 @@
+2011-01-14  Szymon Janc  <[email protected]>
+
+	Put grub-mkrescue generated image on diet (modules compression and
+	xorriso options).
+
+	* util/grub-mkrescue.in: New option --diet.
+
 2011-01-13  Vladimir Serbinenko  <[email protected]>
 
 	* grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and

=== modified file 'util/grub-mkrescue.in'

grub-mkrescue.in +61 -6

130 lines not on this page · raw message