Retain GNOME initramfs configuration during extension composition
This commit is contained in:
parent
ca360f7c7e
commit
1e0ca0b765
1 changed files with 5 additions and 1 deletions
|
|
@ -163,7 +163,11 @@ systemd-nspawn --settings=no --register=no --private-network --resolv-conf=off \
|
|||
[[ -f $modules/vmlinuz ]] || continue
|
||||
kernel=${modules##*/}
|
||||
depmod "$kernel"
|
||||
mkinitcpio --nocolor -c /usr/lib/archipelago/mkinitcpio-core.conf -k "$kernel" -g "$modules/initramfs.img"
|
||||
config=/usr/lib/archipelago/mkinitcpio-core.conf
|
||||
if [[ -f /usr/lib/archipelago/mkinitcpio-gnome.conf ]]; then
|
||||
config=/usr/lib/archipelago/mkinitcpio-gnome.conf
|
||||
fi
|
||||
mkinitcpio --nocolor -c "$config" -k "$kernel" -g "$modules/initramfs.img"
|
||||
done
|
||||
' 2>&1 | tee "$generation/logs/transaction.log"
|
||||
if grep -Ei 'error:|warning:.*(failed|failure)' "$generation/logs/transaction.log"; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue