start base install with empty pkg list

merge-requests/273/head
Bernhard Landauer 8 years ago
parent 4e31e10a43
commit a29d6da978

@ -154,7 +154,7 @@ filter_packages() {
fi fi
# If multilib repo is enabled, install multilib packages # If multilib repo is enabled, install multilib packages
if grep -q "^[multilib]" /etc/pacman.conf ; then if grep -q "^[multilib]" /etc/pacman.conf; then
# Remove >multilib tags # Remove >multilib tags
sed -i 's/>multilib //g' /mnt/.base sed -i 's/>multilib //g' /mnt/.base
sed -i 's/>nonfree_multilib //g' /mnt/.base sed -i 's/>nonfree_multilib //g' /mnt/.base
@ -164,7 +164,7 @@ filter_packages() {
sed -i '/>nonfree_multilib/d' /mnt/.base sed -i '/>nonfree_multilib/d' /mnt/.base
fi fi
if grep -q ">extra" /mnt/.base;then if grep -q ">extra" /mnt/.base; then
# User to select base|extra profile # User to select base|extra profile
DIALOG "$_ExtraTitle" --no-cancel --menu "\n$_ExtraBody" 0 0 2 \ DIALOG "$_ExtraTitle" --no-cancel --menu "\n$_ExtraBody" 0 0 2 \
"1" "full" \ "1" "full" \
@ -241,7 +241,7 @@ install_base() {
return 0 return 0
fi fi
# Create the base list of packages # Create the base list of packages
touch /mnt/.base echo "" > /mnt/.base
# Choose kernel and possibly base-devel # Choose kernel and possibly base-devel
DIALOG " $_InstBseTitle " --checklist "$_InstStandBseBody$_UseSpaceBar" 0 0 12 \ DIALOG " $_InstBseTitle " --checklist "$_InstStandBseBody$_UseSpaceBar" 0 0 12 \
$(cat /tmp/.available_kernels |awk '$0=$0" - off"') \ $(cat /tmp/.available_kernels |awk '$0=$0" - off"') \

Loading…
Cancel
Save