galeb

Једноставна статичка дистрибуција заснована на musl-у
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 884858a448f33b9f559a6efe17d4b53011869384
родитељ 76d098d0c1781ae0b7aac89318c21c62c6a9375e
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sun, 26 Mar 2023 18:43:42 +0200

Move done items from TODO into TODO.done; update TODO with summer 2023 roadmap

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MTODO | 131++++++-------------------------------------------------------------------------
ATODO.done | 122+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
измењених датотека: 2, додавања: 131(+), брисања: 122(-)

diff --git a/TODO b/TODO @@ -1,6 +1,15 @@ TODO ==== +High priority +------------- + +[ ] Galeb 2.1 roadmap (cca summer 2023) + [ ] Update all packages + [ ] Continue work on X.Org + [ ] Add and test wpa_supplicant + + Low priority ------------ @@ -20,125 +29,3 @@ Low priority default) -Done ----- - -[x] Check libtool; it has references to /tools/bin/sed and grep - - Not a problem in bootstrap scripts, but it could be when using libtool in - the built system - [x] ~Maybe~ add a package putting GNU sed/grep into /sucks/bin? - - Added. - -[x] /sbin/poweroff: stty: inaccessible or not found - -[x] Correct /sucks in /bin/svc.d/* - -[x] Fix git remote-https - -[x] Fix dropbear - - Run: - mkdir /etc/dropbear - dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key - -[x] Convert more packages to static - -[x] Add information about boot image to BOOTING - -[x] Add rsync to lib/mkbootimage - -[x] Add shim - [x] Use shim and mksquashfs to create boot iso - - Using a slightly different method with raw image - -[x] Add "ports" system using mk - [x] Working on mkpk - Done - [x] Add sacc - [x] Add neomutt - - Transferred to galeb-mkfiles - [x] Add a ton of packages added by bootstrap script - - Added only as entries in /pkg/pkgdb.tsv for now - [x] Also convert .md5 -> .sha512 - -[x] Adjust cc, as, ld, git... to also have symlinks in /bin (used for mkpk, as - it doesn't have /sucks/bin in PATH from doas) - maybe alternatively, add - /sucks/bin to PATH exported by doas? - - Modified doas.conf instead. - -[x] svc - change the color for the "exists" status: on stopping all, "NO" should - be white, "YE" should be red, and on starting as now, the opposite - -[x] Fix sbase tar - split long names into prefix + name instead of choking - -[x] Add packages - [x] Add gpm - [x] Add smdev - [x] Add elinks - [/] Add X - better handled from within the installed system - [x] Add ~ssh(d)~ dropbear - [x] https://git.2f30.org/ports/files.html - [x] https://git.2f30.org/pass/files.html - [x] Add GnuPG - [x] Add opendoas - [x] Add tmux - [x] fsck.vfat - [x] Add curl (needed for git?) - needed - [/] git://git.suckless.org/utmp - n/a here - [/] Add sup - this should be customized by the user - [x] Add ~syslog-ng~ metalog - [x] Add git - [x] Add table, ~text-utils~ - [x] Add sdhcp - [x] Test sdhcp - [/] ~Add snarf~ - doesn't support HTTPS - [/] Replace with axel if not installing curl - [x] Add svc - -[x] Fix init scripts - [x] git://r-36.net/stali-init - [x] Add multiple ways to set hostname, TZ, etc. - [x] http://r-36.net/scm/ - [x] https://codemadness.org/git/ - [x] https://git.2f30.org/ - [x] https://git.suckless.org/ - [x] Investigate crond showing message for 1 on (re)start - - Was a bug in bare.sh - [x] figure out how to bring down all services cleanly as a regular user - (svc group?) - - Regular user shutting down? Should be handled either by suid - (therefore: not script) calling other things or doas/sup. - Scripts/programs to do specific things like remounting - ro/umounting should just expect root or error out, shouldn't - be suid - - Conclusion (for now): call /bin/rc.shutdown as root with - doas/sup, otherwise error out. Alternative would be to create - dedicated shutdown suid executable (TODO) - - This alternative is the ultimate solution; consider calling - poweroff from within tmux (fails when done by script) - [x] shutdown, poweroff, reboot - [x] Add sdhcp as ~oneshot~ longrun - [x] hwclock on shutdown - [x] shutdown as regular user (remount / ro) - -[x] Linux - [x] Random number generator? - Fixed by recreating /dev/u?random, which - for some reason were created as block special files instead of - character special - [x] /proc/sys/kernel/hotplug/create - Add hotplugging to Linux - - Still doesn't make available the required pseudofile - [x] Remove ram disks from Linux - -[x] Patch sdhcp - -[x] Fix dcron - [x] crontab -e doesn't respect EDITOR? - export. - -[x] Fix filesystem - [x] stty broken link to /tools/bin/stty? - [x] Remove /bin/bash in final system - [x] suid/sgid doesn't get preserved? - -[x] Fix mksh Ctrl-C bug - - Could be to /etc/logout's trap '...; exit' - check! - - Yes. Also ubase's watch needed a patch to respond to Ctrl-C. - - diff --git a/TODO.done b/TODO.done @@ -0,0 +1,122 @@ +Done todos +---------- + +[x] Check libtool; it has references to /tools/bin/sed and grep + - Not a problem in bootstrap scripts, but it could be when using libtool in + the built system + [x] ~Maybe~ add a package putting GNU sed/grep into /sucks/bin? + - Added. + +[x] /sbin/poweroff: stty: inaccessible or not found + +[x] Correct /sucks in /bin/svc.d/* + +[x] Fix git remote-https + +[x] Fix dropbear + - Run: + mkdir /etc/dropbear + dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key + +[x] Convert more packages to static + +[x] Add information about boot image to BOOTING + +[x] Add rsync to lib/mkbootimage + +[x] Add shim + [x] Use shim and mksquashfs to create boot iso + - Using a slightly different method with raw image + +[x] Add "ports" system using mk + [x] Working on mkpk - Done + [x] Add sacc + [x] Add neomutt + - Transferred to galeb-mkfiles + [x] Add a ton of packages added by bootstrap script + - Added only as entries in /pkg/pkgdb.tsv for now + [x] Also convert .md5 -> .sha512 + +[x] Adjust cc, as, ld, git... to also have symlinks in /bin (used for mkpk, as + it doesn't have /sucks/bin in PATH from doas) - maybe alternatively, add + /sucks/bin to PATH exported by doas? + - Modified doas.conf instead. + +[x] svc - change the color for the "exists" status: on stopping all, "NO" should + be white, "YE" should be red, and on starting as now, the opposite + +[x] Fix sbase tar - split long names into prefix + name instead of choking + +[x] Add packages + [x] Add gpm + [x] Add smdev + [x] Add elinks + [/] Add X - better handled from within the installed system + [x] Add ~ssh(d)~ dropbear + [x] https://git.2f30.org/ports/files.html + [x] https://git.2f30.org/pass/files.html + [x] Add GnuPG + [x] Add opendoas + [x] Add tmux + [x] fsck.vfat + [x] Add curl (needed for git?) - needed + [/] git://git.suckless.org/utmp - n/a here + [/] Add sup - this should be customized by the user + [x] Add ~syslog-ng~ metalog + [x] Add git + [x] Add table, ~text-utils~ + [x] Add sdhcp + [x] Test sdhcp + [/] ~Add snarf~ - doesn't support HTTPS + [/] Replace with axel if not installing curl + [x] Add svc + +[x] Fix init scripts + [x] git://r-36.net/stali-init + [x] Add multiple ways to set hostname, TZ, etc. + [x] http://r-36.net/scm/ + [x] https://codemadness.org/git/ + [x] https://git.2f30.org/ + [x] https://git.suckless.org/ + [x] Investigate crond showing message for 1 on (re)start + - Was a bug in bare.sh + [x] figure out how to bring down all services cleanly as a regular user + (svc group?) + - Regular user shutting down? Should be handled either by suid + (therefore: not script) calling other things or doas/sup. + Scripts/programs to do specific things like remounting + ro/umounting should just expect root or error out, shouldn't + be suid + - Conclusion (for now): call /bin/rc.shutdown as root with + doas/sup, otherwise error out. Alternative would be to create + dedicated shutdown suid executable (TODO) + - This alternative is the ultimate solution; consider calling + poweroff from within tmux (fails when done by script) + [x] shutdown, poweroff, reboot + [x] Add sdhcp as ~oneshot~ longrun + [x] hwclock on shutdown + [x] shutdown as regular user (remount / ro) + +[x] Linux + [x] Random number generator? - Fixed by recreating /dev/u?random, which + for some reason were created as block special files instead of + character special + [x] /proc/sys/kernel/hotplug/create - Add hotplugging to Linux + - Still doesn't make available the required pseudofile + [x] Remove ram disks from Linux + +[x] Patch sdhcp + +[x] Fix dcron + [x] crontab -e doesn't respect EDITOR? - export. + +[x] Fix filesystem + [x] stty broken link to /tools/bin/stty? + [x] Remove /bin/bash in final system + [x] suid/sgid doesn't get preserved? + +[x] Fix mksh Ctrl-C bug + - Could be to /etc/logout's trap '...; exit' - check! + - Yes. Also ubase's watch needed a patch to respond to Ctrl-C. + +