[arch-projects] [MKINITCPIO][PATCH 1/2] Fix save build directory with presets
Current behaviour of -s option of mkinitcpio is bad when presets are used.
mkinitcpio saves main process build directory which is always empty when
preset option is used.
mkinitcpio doesn't save preset sub processes build directories which is the expected
behaviour.
This patch fix the two previous points by:
- inherit -s parameter inside preset sub processes.
- force main process (in case of preset) to clean build directory
Signed-off-by: Sebastien Luttringer
This allow initcpio to boot vm which use virtio as network/disk backend.
Signed-off-by: Sebastien Luttringer
participants (1)
-
Sebastien Luttringer