Fix more issues and do some more rearrangement

This commit is contained in:
natemaia
2018-08-27 21:49:04 -07:00
parent ac48a3640d
commit 77d01c27a1
3 changed files with 36 additions and 49 deletions

View File

@ -198,9 +198,7 @@ install_bootloader() {
fi
# needed for os-prober module to work properly in the chroot
echo -e "\n\nBinding mount: /run/udev -> $MNT/run/udev\n\n"
mkdir -p $MNT/run/udev && mount --bind /run/udev $MNT/run/udev
read NONE
# BCMDS[$BOOTLDR]="mkdir -p /run/udev && mount --bind /run/udev /run/udev ; ${BCMDS[$BOOTLDR]}"
if [[ $SYS == 'UEFI' ]]; then

View File

@ -231,7 +231,7 @@ update_system() {
local install="pacman -S $inpkg $EXTRA_PACKAGES --needed --noconfirm"
local remove="pacman -Rs $rmpkg --noconfirm"
chroot_cmd "$update; $network; $install; $remove" 2>/dev/null
chroot_cmd "$update; $network; $install; $remove"
if [[ $INSTALL_WMS =~ dwm ]]; then
mkdir -pv $MNT/home/$LIVE/suckless