install stage 1: don’t show optical drives

master
BodgeMaster 2023-07-14 23:19:18 +02:00
parent 234432cf74
commit 3e468cd132
2 changed files with 3 additions and 4 deletions

View File

@ -86,13 +86,13 @@ KBD_LAYOUT="de-latin1"
clear
echo "Select the USB stick to install to (NAME column below)...
"
# exclude loop devices
lsblk --exclude 7 --nodeps --output NAME,SIZE,MODEL
# exclude loop devices and optical drives
lsblk --exclude 7,11 --nodeps --output NAME,SIZE,MODEL
echo ""
read -p "> " TARGET_DISK
while [ ! -b "/dev/$TARGET_DISK" ]; do
lsblk --exclude 7 --nodeps --output NAME,SIZE,MODEL
lsblk --exclude 7,11 --nodeps --output NAME,SIZE,MODEL
echo "$TARGET_DISK is not a valid device!"
read -p "> " TARGET_DISK
done

View File

@ -13,7 +13,6 @@ make our own or extract (if feasible) kb selection and time zone selection to hi
- kbd-data
overview of the installation process at the start
overall progress indication (step x out of y)
exclude optical drives
add bash completion along the line somewhere
replace OpenBox with something lighter
allow unprivileged users to mount / unmount disks in GUI sessions