install stage 1: add an error check on installing base system
parent
ed95da5244
commit
86fe8387bb
|
|
@ -253,6 +253,11 @@ XBPS_ARCH="$TARGET_TYPE" xbps-install --yes --sync --rootdir /mnt/target --repos
|
|||
diffutils pciutils usbutils tzdata base-files ncurses mdocml procps-ng \
|
||||
kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \
|
||||
squashfs-tools grub grub-i386-efi grub-x86_64-efi dracut xz 2>&1 | tee --append $LOGFILE
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo ""
|
||||
echo "An error occurred while trying to install the base system."
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "Adding mirror configuration."
|
||||
|
|
|
|||
Loading…
Reference in New Issue