package selections: remove sections that will no longer be used
parent
1469745ee1
commit
8566b631be
|
@ -24,6 +24,7 @@ add online check to all the selections that need internet
|
|||
sort out /etc/resolv.conf for the chroot
|
||||
set keyboard layout for initramfs
|
||||
need some sort of notification handler?
|
||||
add a way to provide additional files to package selections
|
||||
replace package selections with these options:
|
||||
nvidia
|
||||
keep the old selections
|
||||
|
@ -88,20 +89,6 @@ replace package selections with these options:
|
|||
modify bashrc to display README
|
||||
put README.txt with relevant information on root dir of F2FS partition
|
||||
symlink to /home/README.txt
|
||||
audio
|
||||
remove
|
||||
extras
|
||||
remove
|
||||
multimedia
|
||||
remove
|
||||
pre-configure
|
||||
remove
|
||||
systray
|
||||
remove
|
||||
utilities
|
||||
remove
|
||||
web
|
||||
remove
|
||||
|
||||
|
||||
musl downsides:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Choose which audio packages to install
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="No audio"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "audio/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
pipewire
|
||||
pipewire-slim
|
||||
none
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Pipewire with GUI settings (Pavucontrol)"
|
||||
|
||||
PACKAGES="pipewire pavucontrol"
|
||||
|
||||
function post_install {
|
||||
echo "audio/pipewire" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Pipewire with text-based settings (pulsemixer)"
|
||||
|
||||
PACKAGES="pipewire pulsemixer"
|
||||
|
||||
function post_install {
|
||||
echo "audio/pipewire-slim" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="All of the above"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
# TODO: configure desktop backgounds if using IceWM
|
||||
echo "extras/all" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="All of the above except Minecraft"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
# TODO: configure desktop backgounds if using IceWM
|
||||
echo "extras/all-no-minecraft" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
Choose some extras to install
|
|
@ -1,19 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Add some desktop backgrounds and randomly choose one on login"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
# TODO: install wget
|
||||
# TODO: configure
|
||||
# TODO: remove wget
|
||||
echo "extras/desktop-backgrounds" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Prism Launcher for Minecraft"
|
||||
|
||||
#TODO: Java stuff
|
||||
PACKAGES="PrismLauncher"
|
||||
|
||||
function post_install {
|
||||
echo "extras/minecraft" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
#TODO
|
||||
DESCRIPTION="??? (Minesweeper)"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "extras/minesweeper" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="None"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "extras/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
desktop-backgrounds
|
||||
minesweeper
|
||||
snake
|
||||
minecraft
|
||||
all-no-minecraft
|
||||
all
|
||||
none
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
#TODO
|
||||
DESCRIPTION="nSnake"
|
||||
|
||||
#TODO
|
||||
PACKAGES="nSnake"
|
||||
|
||||
function post_install {
|
||||
echo "extras/snake" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
Install a media player?
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="No"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "multimedia/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
vlc
|
||||
none
|
|
@ -1,17 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Install VLC"
|
||||
|
||||
#TODO: fluidsynth MIDI stuff
|
||||
PACKAGES="vlc"
|
||||
|
||||
function post_install {
|
||||
echo "multimedia/vlc" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="Only add custom bashrc (advanced users)"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
#TODO: configure things
|
||||
# (probably by barfing the bashrc using echo)
|
||||
|
||||
echo "pre-configure/bashrc" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
Do you want some quality-of-life configuration done?
|
|
@ -1,17 +0,0 @@
|
|||
function check {
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Auto-start GUI session on login and add custom bashrc (recommended)"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
#TODO: configure things
|
||||
|
||||
echo "pre-configure/gui-and-bashrc" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="No (advanced users)"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "pre-configure/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
gui-and-bashrc
|
||||
bashrc
|
||||
none
|
|
@ -1,10 +1,2 @@
|
|||
nvidia
|
||||
desktop
|
||||
audio
|
||||
systray
|
||||
terminal
|
||||
utilities
|
||||
pre-configure
|
||||
web
|
||||
multimedia
|
||||
extras
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Do you want to install system tray applets?
|
|
@ -1,21 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
if grep "audio/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Add tray icon for network"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "systray/network" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
if grep "audio/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Add tray icon for network and audio"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "systray/network-and-audio" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="Don’t install additional tray icons"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "systray/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
network-and-audio
|
||||
network
|
||||
none
|
|
@ -1 +0,0 @@
|
|||
Which GUI terminal emulator do you want to install?
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="LXDE Terminal (recommended)"
|
||||
|
||||
PACKAGES="lxterminal"
|
||||
|
||||
function post_install {
|
||||
echo "terminal/lxterminal" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="None (advanced users only)"
|
||||
|
||||
PACKAGES="none"
|
||||
|
||||
function post_install {
|
||||
echo "terminal/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
lxterminal
|
||||
xterm
|
||||
none
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Xterm"
|
||||
|
||||
PACKAGES="xterm"
|
||||
|
||||
function post_install {
|
||||
echo "terminal/xterm" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
Which set of desktop utilities do you want to install?
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
#TODO
|
||||
DESCRIPTION="Fully featured (list of things) (recommended)"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "utilities/desktop-integrated-guisysmon" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
#TODO
|
||||
DESCRIPTION="Fully featured (list of things with htop)"
|
||||
|
||||
#TODO
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "utilities/desktop-integrated-htop" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="None"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "utilities/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
desktop-integrated-guisysmon
|
||||
xfe-guisysmon
|
||||
desktop-integrated-htop
|
||||
xfe-htop
|
||||
none
|
|
@ -1,18 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
#TODO
|
||||
DESCRIPTION="Smaller set of desktop utilities (XFE + ???)"
|
||||
|
||||
#TODO
|
||||
PACKAGES="xfe"
|
||||
|
||||
function post_install {
|
||||
echo "utilities/xfe-guisysmon" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Smaller set of desktop utilities (XFE + Htop)"
|
||||
|
||||
PACKAGES="xfe htop"
|
||||
|
||||
function post_install {
|
||||
echo "utilities/xfe-htop" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
Install a web browser?
|
|
@ -1,12 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="Install ELinks (terminal-based browser)"
|
||||
|
||||
PACKAGES="elinks"
|
||||
|
||||
function post_install {
|
||||
echo "web/elinks" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Join the dark side with Chromium (Consider Firefox... You can still install Chromium later.)"
|
||||
|
||||
PACKAGES="chromium"
|
||||
|
||||
function post_install {
|
||||
echo "web/evil" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Install Firefox (recommended)"
|
||||
|
||||
PACKAGES="firefox"
|
||||
|
||||
function post_install {
|
||||
echo "web/firefox" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
function check {
|
||||
[ "$INTERNET" = "down" ] && return 1
|
||||
if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="Install Firefox - Extended Support Release (ESR)"
|
||||
|
||||
PACKAGES="firefox-esr"
|
||||
|
||||
function post_install {
|
||||
echo "web/firefox-esr" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
function check {
|
||||
return 0
|
||||
}
|
||||
|
||||
DESCRIPTION="No web browser"
|
||||
|
||||
PACKAGES=""
|
||||
|
||||
function post_install {
|
||||
echo "web/none" >> /tmp/stage-2-choices
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
firefox
|
||||
firefox-esr
|
||||
evil
|
||||
elinks
|
||||
none
|
Loading…
Reference in New Issue