progress
This commit is contained in:
parent
5f33c4ccea
commit
6ce9a0476c
2
etc/base
2
etc/base
|
@ -44,6 +44,4 @@ echo "$USERNAME:$pass" | chpasswd
|
||||||
|
|
||||||
passwd -dl root
|
passwd -dl root
|
||||||
|
|
||||||
grub-install $TARGET_PHY_ID
|
|
||||||
xbps-reconfigure -fa
|
|
||||||
}
|
}
|
|
@ -5,3 +5,12 @@ packages() {
|
||||||
addpkg grub
|
addpkg grub
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
config() {
|
||||||
|
if [ "$EFI" == "1" ]; then
|
||||||
|
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Void"
|
||||||
|
else
|
||||||
|
grub-install $TARGET_PHY_ID
|
||||||
|
fi
|
||||||
|
xbps-reconfigure -fa
|
||||||
|
}
|
1
main.sh
1
main.sh
|
@ -338,6 +338,7 @@ do_chroot() {
|
||||||
echo "HOSTNAME=$HOSTNAME" >> ${target}/tmp/vinstaller/vars
|
echo "HOSTNAME=$HOSTNAME" >> ${target}/tmp/vinstaller/vars
|
||||||
echo "EFI=$EFI" >> ${target}/tmp/vinstaller/vars
|
echo "EFI=$EFI" >> ${target}/tmp/vinstaller/vars
|
||||||
echo "LANGUAGE=$LANGUAGE" >> ${target}/tmp/vinstaller/vars
|
echo "LANGUAGE=$LANGUAGE" >> ${target}/tmp/vinstaller/vars
|
||||||
|
echo "L1=$L1" >> ${target}/tmp/vinstaller/vars
|
||||||
echo "TARGET_PHY_ID=$TARGET_PHY_ID" >> ${target}/tmp/vinstaller/vars
|
echo "TARGET_PHY_ID=$TARGET_PHY_ID" >> ${target}/tmp/vinstaller/vars
|
||||||
echo "TARGET_PART=$TARGET_PART" >> ${target}/tmp/vinstaller/vars
|
echo "TARGET_PART=$TARGET_PART" >> ${target}/tmp/vinstaller/vars
|
||||||
echo "TARGETNAME_UNDERSCORE=$TARGETNAME_UNDERSCORE" >> ${target}/tmp/vinstaller/vars
|
echo "TARGETNAME_UNDERSCORE=$TARGETNAME_UNDERSCORE" >> ${target}/tmp/vinstaller/vars
|
||||||
|
|
Loading…
Reference in New Issue
Block a user