aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
ModeNameSize
-rw-r--r--file-systems.scm5590logplainabout
-rw-r--r--grub.scm8372logplainabout
-rw-r--r--install.scm11004logplainabout
-rw-r--r--linux-initrd.scm9938logplainabout
-rw-r--r--linux.scm7314logplainabout
-rw-r--r--locale.scm4860logplainabout
-rw-r--r--nss.scm7328logplainabout
-rw-r--r--os-config.tmpl1700logplainabout
-rw-r--r--shadow.scm6966logplainabout
-rw-r--r--vm.scm22201logplainabout
fault-swap-size five-percent-disk)))
- (if has-extended?
- ;; msdos - remove everything.
- (disk-remove-all-partitions disk)
- ;; gpt - remove everything but esp if it exists.
- (for-each
- (lambda (partition)
- (and (data-partition? partition)
- (disk-remove-partition* disk partition)))
- non-boot-partitions))
+ ;; Remove everything but esp if it exists.
+ (for-each
+ (lambda (partition)
+ (and (data-partition? partition)
+ (disk-remove-partition* disk partition)))
+ non-boot-partitions)
(let* ((start-partition
- (and (not has-extended?)
- (if (efi-installation?)
- (and (not esp-partition)
- (user-partition
- (fs-type 'fat32)
- (esp? #t)
- (size new-esp-size)
- (mount-point (default-esp-mount-point))))
+ (if (efi-installation?)
+ (and (not esp-partition)
(user-partition
- (fs-type 'ext4)
- (bootable? #t)
- (bios-grub? #t)
- (size bios-grub-size)))))
+ (fs-type 'fat32)
+ (esp? #t)
+ (size new-esp-size)
+ (mount-point (default-esp-mount-point))))
+ (user-partition
+ (fs-type 'ext4)
+ (bootable? #t)
+ (bios-grub? #t)
+ (size bios-grub-size))))
(new-partitions
(cond
((or (eq? scheme 'entire-root)