2023-06-20 13:19:28 +02:00
|
|
|
|
TODO:
|
2023-06-13 08:25:52 +02:00
|
|
|
|
compare sizes of glibc and musl installations
|
|
|
|
|
need xdg menu maker?
|
2023-06-20 13:19:28 +02:00
|
|
|
|
test that the (RAM) boot option allows you to install to the stick the system booted off
|
|
|
|
|
adjust required USB stick and RAM size in README
|
2023-06-27 15:41:16 +02:00
|
|
|
|
do not rely on the RTC
|
|
|
|
|
- change the message when configuring UTC/localtime to reflect that this is only for offline usage
|
|
|
|
|
- use ntp to get time
|
|
|
|
|
- only fall back to using rtc if offline
|
|
|
|
|
- do not set the RTC
|
2023-06-28 22:23:08 +02:00
|
|
|
|
show user-friendly status instead of scrolling output from all sorts of tools
|
|
|
|
|
shutdown squashfs updater can’t get user input!?
|
|
|
|
|
make our own or extract (if feasible) kb selection and time zone selection to hijack them for our purposes
|
2023-06-29 20:31:31 +02:00
|
|
|
|
vkpurge old stuff - only keep 2 vkpurgeable kernels
|
|
|
|
|
- should probably not be done in a kernel hook
|
|
|
|
|
overview of the installation process at the start
|
|
|
|
|
overall progress indication (step x out of y)
|
2023-06-20 13:19:28 +02:00
|
|
|
|
|
|
|
|
|
musl downsides:
|
|
|
|
|
- no nvidia drivers
|
|
|
|
|
- may be janky in regards to running some Minecraft versions
|
|
|
|
|
musl upsides:
|
|
|
|
|
- ??
|
|
|
|
|
|
2023-06-28 22:23:08 +02:00
|
|
|
|
Stage 1:
|
2023-06-13 08:25:52 +02:00
|
|
|
|
- select kb layout
|
|
|
|
|
- install base system
|
|
|
|
|
-> select installation type (x86_32/x86_64/aarch64, glibc/musl)
|
2023-06-13 14:24:42 +02:00
|
|
|
|
-> if musl, add that bit to repo url
|
2023-06-27 15:41:16 +02:00
|
|
|
|
-> configure time zone
|
2023-06-14 09:37:16 +02:00
|
|
|
|
-> selection dialog?
|
|
|
|
|
-> symlink /etc/localtime
|
2023-06-13 08:25:52 +02:00
|
|
|
|
-> prepare 2nd stage installation
|
2023-06-28 22:23:08 +02:00
|
|
|
|
-> auto login root and put stage 2 script in .bashrc
|
2023-06-13 08:25:52 +02:00
|
|
|
|
-> build squashfs
|
|
|
|
|
- prompt user to reboot to finish installation
|
2023-06-28 22:23:08 +02:00
|
|
|
|
|
|
|
|
|
Stage 2:
|
|
|
|
|
-> configure services
|
|
|
|
|
-> dbus
|
|
|
|
|
-> NetworkManager
|
|
|
|
|
-> acpid
|
|
|
|
|
-> ask user to connect to network using nmtui
|
|
|
|
|
-> install packages
|
|
|
|
|
-> setxkbmap xauth xorg-video-drivers mesa mesa-dri xorg-server elogind xorg-input-drivers xrandr acpilight xhost xinit xrdb xinput xgamma xset iceauth sessreg transset xcmsdb xkbutils xmodmap dejavu-fonts-ttf
|
|
|
|
|
-> terminal?
|
|
|
|
|
-> browser?
|
|
|
|
|
-> prism launcher
|
|
|
|
|
-> java (multiple versions?)
|
|
|
|
|
-> pipewire (pulsemixer?)
|
|
|
|
|
-> ask about nvidia driver
|
|
|
|
|
-> install if needed
|
|
|
|
|
-> find out when and where to set `nvidia-drm.modeset=1`
|
|
|
|
|
-> ask whether to use CTWM or IceWM
|
|
|
|
|
-> short description of up and downsides
|
|
|
|
|
-> if CTWM, also install
|
|
|
|
|
-> xclock
|
|
|
|
|
-> if IceWM, also install
|
|
|
|
|
-> network-manager-applet
|
|
|
|
|
-> sound applet
|
|
|
|
|
-> configure zram swap
|
|
|
|
|
-> passwd -l root
|
|
|
|
|
-> populate /etc/skel
|
|
|
|
|
-> ultimate bashrc bc why not
|
|
|
|
|
-> first run message in xinitrc
|
|
|
|
|
-> auto-deletes itself
|
|
|
|
|
-> displays README.txt on root dir of the F2FS partition
|
|
|
|
|
-> if using CTWM
|
|
|
|
|
-> put xclock in xinitrc
|
|
|
|
|
-> configure more sane defaults
|
|
|
|
|
-> prepend bashrc with a thing that checks of xorg is running
|
|
|
|
|
-> if not, run startx and ask user whether to shut down, reboot, or do nothing afterwards
|
|
|
|
|
-> set up user
|
|
|
|
|
-> ask for username
|
|
|
|
|
-> run useradd (non-interactively)
|
|
|
|
|
-> run passwd (interactively)
|
|
|
|
|
-> add to groups
|
|
|
|
|
-> including sudo group
|
|
|
|
|
-> build new squashfs image and reboot
|