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 clear
echo "Select the USB stick to install to (NAME column below)... echo "Select the USB stick to install to (NAME column below)...
" "
# exclude loop devices # exclude loop devices and optical drives
lsblk --exclude 7 --nodeps --output NAME,SIZE,MODEL lsblk --exclude 7,11 --nodeps --output NAME,SIZE,MODEL
echo "" echo ""
read -p "> " TARGET_DISK read -p "> " TARGET_DISK
while [ ! -b "/dev/$TARGET_DISK" ]; do 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!" echo "$TARGET_DISK is not a valid device!"
read -p "> " TARGET_DISK read -p "> " TARGET_DISK
done done

View File

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