[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29409] [PATCH] vm: Use os-defined initrd intead of base-initrd.
From: |
Ludovic Courtès |
Subject: |
[bug#29409] [PATCH] vm: Use os-defined initrd intead of base-initrd. |
Date: |
Fri, 24 Nov 2017 22:36:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
Mathieu Othacehe <address@hidden> skribis:
> * gnu/system/vm.scm (system-disk-image, system-qemu-image,
> virtualized-operating-system): Replace base-initrd by
> (operating-system-initrd os).
>
> The system produced were always using base-initrd even if the user had
> defined a custom initrd based on raw-initrd in the os declaration.
[...]
> (initrd (lambda (file-systems . rest)
> - (apply base-initrd file-systems
> + (apply (operating-system-initrd os)
> + file-systems
> #:volatile-root? #t
> #:virtio? #t
> rest)))
A potential issue is that we don’t know whether the user-provided initrd
procedure honors #:volatile-root? et al. Maybe that’s not much of a
problem in practice: we can assume that it’s up to the user to do the
right thing.
I’d say go for it and we’ll adjust if/when it’s a problem.
Thoughts?
Thanks,
Ludo’.
- [bug#29409] GuixSD ARM port., Mathieu Othacehe, 2017/11/23
- [bug#29409] [PATCH] vm: Use os-defined initrd intead of base-initrd., Mathieu Othacehe, 2017/11/24
- [bug#29409] [PATCH] vm: Use os-defined initrd intead of base-initrd.,
Ludovic Courtès <=
- [bug#29409] [PATCH] gnu: dtc: Fix build on 32 bits platforms., m . othacehe, 2017/11/28
- [bug#29409] [PATCH] gnu: grub: Disable tests on ARM platforms., m . othacehe, 2017/11/28
- [bug#29409] [PATCH] utils: Add target-arm? procedure., m . othacehe, 2017/11/29
- [bug#29409] [PATCH] tests: install: Increase extlinux install partition size., m . othacehe, 2017/11/29