diff options
Diffstat (limited to 'gnu/build/image.scm')
| -rw-r--r-- | gnu/build/image.scm | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/build/image.scm b/gnu/build/image.scm index 49dc01c0d18..6ca0a428e0a 100644 --- a/gnu/build/image.scm +++ b/gnu/build/image.scm | |||
| @@ -328,18 +328,16 @@ GRUB configuration and OS-DRV as the stuff in it." | |||
| 328 | "-volume_date" "all_file_dates" "=1" | 328 | "-volume_date" "all_file_dates" "=1" |
| 329 | 329 | ||
| 330 | `(,@(if compression? | 330 | `(,@(if compression? |
| 331 | '(;; ‘zisofs’ compression reduces the total image size by | 331 | '(;; ‘zisofs’ compression reduces the total image size by ~60%. |
| 332 | ;; ~60%. | ||
| 333 | "-zisofs" "level=9:block_size=128k" ; highest compression | 332 | "-zisofs" "level=9:block_size=128k" ; highest compression |
| 334 | ;; It's transparent to our Linux-Libre kernel but not to | 333 | ;; It's transparent to our Linux-Libre kernel but not to |
| 335 | ;; GRUB. Don't compress the kernel, initrd, and other | 334 | ;; GRUB. Don't compress the kernel, initrd, and other files |
| 336 | ;; files read by grub.cfg, as well as common | 335 | ;; read by grub.cfg, as well as common already-compressed |
| 337 | ;; already-compressed file names. | 336 | ;; file names. |
| 338 | "-find" "/" "-type" "f" | 337 | "-find" "/" "-type" "f" |
| 339 | ;; XXX Even after "--" above, and despite documentation | 338 | ;; XXX Even after "--" above, and despite documentation |
| 340 | ;; claiming otherwise, "-or" is stolen by grub-mkrescue | 339 | ;; claiming otherwise, "-or" is stolen by grub-mkrescue which |
| 341 | ;; which then chokes on it (as ‘-o …’) and dies. Don't use | 340 | ;; then chokes on it (as ‘-o …’) and dies. Don't use "-or". |
| 342 | ;; "-or". | ||
| 343 | "-not" "-wholename" "/boot/*" | 341 | "-not" "-wholename" "/boot/*" |
| 344 | "-not" "-wholename" "/System/*" | 342 | "-not" "-wholename" "/System/*" |
| 345 | "-not" "-name" "unicode.pf2" | 343 | "-not" "-name" "unicode.pf2" |
