void-minecraft-usb/notes_to_self.txt

72 lines
3.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

TODO:
compare sizes of glibc and musl installations
need xdg menu maker?
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
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
show user-friendly status instead of scrolling output from all sorts of tools
make our own or extract (if feasible) kb selection and time zone selection to hijack them for our purposes
vkpurge old stuff - only keep 2 vkpurgeable kernels
- change kernel pre-install hook
overview of the installation process at the start
overall progress indication (step x out of y)
exclude optical drives
add newline after yesno (also in backup script)
add bash completion along the line somewhere
test that OpenBox is actually lighter than IceWM - or replace it with something that is
allow unprivileged users to mount / unmount disks in GUI sessions
look into roxterm as an alternative terminal
add a zram swap option to package_selections
include arandr or something similar in fully featured desktop utils
deal with the entropy thing that runs after rc.shutdown
musl downsides:
- no nvidia drivers
- may be janky in regards to running some Minecraft versions
musl upsides:
- ??
Stage 1:
-> select kb layout
-> select installation type (x86_32/x86_64/aarch64, glibc/musl)
-> configure time zone
-> selection dialog?
-> symlink /etc/localtime
Stage 2:
-> configure services
-> dbus
-> NetworkManager
-> acpid
-> ask user to connect to network using nmtui
-> install packages
-> go through the list of choices for what the user can install
-> Minimum viable Xorg setup: 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
-> dont ask the user if there is only one option
-> 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
-> clean up
-> mv /mnt/target/etc/sv/agetty-tty1/conf.bak /mnt/target/etc/sv/agetty-tty1/conf
-> if [ -f /mnt/target/root/.profile.bak ]; then mv /mnt/target/root/.profile.bak /mnt/target/root/.profile; else rm /mnt/target/root/.profile; fi
-> rm -r /opt/void-usb/installer
-> build new squashfs image and reboot