mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'changed mkinitcpio.conf to correct destination'
This commit is contained in:
parent
9267199e55
commit
88a6638e98
1 changed files with 23 additions and 14 deletions
|
@ -1949,6 +1949,14 @@ auto_network()
|
|||
fi
|
||||
}
|
||||
|
||||
# auto_lzma()
|
||||
# change mkinitcpio.conf to use lzma compression by default!
|
||||
auto_lzma()
|
||||
{
|
||||
sed -i -e 's:^#COMPRESSION=\"lzma\":COMPRESSION=\"lzma\":g' $DESTDIR/etc/mkinitcpio.conf
|
||||
sed -i -e 's:^COMPRESSION=.*:COMPRESSION=\"lzma\":g' $DESTDIR/etc/mkinitcpio.conf
|
||||
}
|
||||
|
||||
# donetwork()
|
||||
# Hand-hold through setting up networking
|
||||
#
|
||||
|
@ -2857,6 +2865,7 @@ configure_system()
|
|||
auto_ftpmirror
|
||||
auto_network
|
||||
auto_parameters
|
||||
auto_lzma
|
||||
auto_hwdetect
|
||||
fi
|
||||
## END PREPROCESS ##
|
||||
|
@ -2872,20 +2881,20 @@ configure_system()
|
|||
DEFAULT=""
|
||||
fi
|
||||
DIALOG $DEFAULT --menu "Configuration" 20 80 16 \
|
||||
"/etc/rc.conf" "System Config" \
|
||||
"/etc/fstab" "Filesystem Mountpoints" \
|
||||
"/etc/mkinitcpio.conf" "Initramfs Config" \
|
||||
"/etc/modprobe.conf" "Kernel Modules" \
|
||||
"/etc/resolv.conf" "DNS Servers" \
|
||||
"/etc/hosts" "Network Hosts" \
|
||||
"/etc/hosts.deny" "Denied Network Services" \
|
||||
"/etc/hosts.allow" "Allowed Network Services" \
|
||||
"/etc/locale.gen" "Glibc Locales" \
|
||||
"Pacman-Mirror" "Set the primary pacman mirror" \
|
||||
"/etc/pacman.d/mirrorlist" "Pacman Mirror List" \
|
||||
"/etc/pacman.conf" "Pacman Config File" \
|
||||
"Root-Password" "Set the root password" \
|
||||
"Return" "Return to Main Menu" 2>$ANSWER || break
|
||||
"/etc/rc.conf" "System Config" \
|
||||
"/etc/fstab" "Filesystem Mountpoints" \
|
||||
"/etc/mkinitcpio.conf" "Initramfs Config" \
|
||||
"/etc/modprobe.d/modprobe.conf" "Kernel Modules" \
|
||||
"/etc/resolv.conf" "DNS Servers" \
|
||||
"/etc/hosts" "Network Hosts" \
|
||||
"/etc/hosts.deny" "Denied Network Services" \
|
||||
"/etc/hosts.allow" "Allowed Network Services" \
|
||||
"/etc/locale.gen" "Glibc Locales" \
|
||||
"Pacman-Mirror" "Set the primary pacman mirror" \
|
||||
"/etc/pacman.d/mirrorlist" "Pacman Mirror List" \
|
||||
"/etc/pacman.conf" "Pacman Config File" \
|
||||
"Root-Password" "Set the root password" \
|
||||
"Return" "Return to Main Menu" 2>$ANSWER || break
|
||||
FILE="$(cat $ANSWER)"
|
||||
|
||||
if [ "$FILE" = "Return" -o -z "$FILE" ]; then # exit
|
||||
|
|
Loading…
Reference in a new issue