galeb

Једноставна статичка дистрибуција заснована на musl-у
git clone https://git.sr.ht/~strahinja/galeb
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

TODO.done (6439B)


      1 Done todos
      2 ==========
      3 
      4 2.2
      5 ---
      6 
      7 [x] Add BOOTING to galeb-howtos (and to the base image)
      8 
      9 [x] Galeb 2.2 roadmap (cca summer 2023)
     10 	[x] Update all packages
     11 	[x] Continue work on X.Org
     12 		- Continued in galeb-mkfiles...
     13 	[x] Add and test wpa_supplicant
     14 
     15 [/] Add ghostscript (for groff)
     16 	- Perhaps move to galeb-mkfiles, also with groff rebuild
     17 
     18 </> See if any packages can be trimmed from the bootstrap
     19 	- Probably documentation, on the other hand it is needed, so...
     20 
     21 [x] Add mount(8) manpage; since we switched to util-linux mount, and util-linux
     22     manpages are not installed, currently there is no mount manpage
     23 
     24 <x> Wireless support - needs testing!
     25 	[/] git://r-36.net/conn - requires dhcpcd, and we already have
     26 	    wpa_supplicant service for svc; we use sdhcp for DHCP (for now...
     27 	    consider switching to dhcpcd because it allows MAC spoofing? TODO)
     28 	[/] git://r-36.net/rfkilld - maybe, as mkfiles package -> moved there
     29 	[/] git://r-36.net/nldev - requires busybox mdev? - replaced by smdev
     30 	    (still needs testing)
     31 	[/] git://r-36.net/nlmon - requires busybox mdev? - ditto
     32 	[x] Add wpa_supplicant (DBus stripped - untested! Commented out by
     33 	    default) - Uncommented, tested, runs fine without DBus
     34     - Done!
     35 
     36 [x] Adjust output of svc to account for service names longer than 8 chars (have
     37     one \t less in output in such a case)
     38 
     39 [x] Add galeb-howtos to the list of packages installed by default
     40 
     41 [x] Use elinks 0.17.GIT?
     42 	- Done.
     43 
     44 [x] Check substep checks if they test for relevant files
     45 
     46 [x] Remove redundant /sucks/sucks in the local $GR
     47 	- 2023.04.25: There is no such directory in the local $GR atm, marking
     48 	  this as "solved" until it reemerges
     49 
     50 [x] Add initrd... (damn!) Rationale:
     51     - wireless needs binary blobs
     52     	=> binary blobs can't be built into the kernel for legal reasons
     53     	=> binary blobs need to be loaded from initrd
     54     EFI stub can still use initrd, no need to replace EFI stub with SYSLINUX,
     55     GRUB, etc.
     56 	[x] Add some initrd-generating script (see Arch, Musl-LFS...)
     57 	    - Moved to galeb-mkinitramfs
     58 
     59 [x] Check if root=PARTUUID=... might work
     60     - It does!
     61 
     62 [x] Use https://raw.githubusercontent.com/9fans/plan9port/master/lib/fortunes
     63     as a fortune file
     64 
     65 [x] Add musl fixed headers into pkg
     66 
     67 [x] Check what needs to be removed in pat/
     68 
     69 [/] Fix metalog and reflex timestamps
     70 
     71 [x] Replace /${TLD}/bin/sed with \${SED} (and possibly with /sucks/bin/sed?
     72 
     73 [x] Remove `mkdir -p /local/include`/`rm -fr /local/include` in some substeps
     74 
     75 [x] Add /local/bin to path, and in some substeps (opendoas...)
     76 
     77 
     78 2.1
     79 ---
     80 
     81 [x] Check libtool; it has references to /tools/bin/sed and grep
     82     - Not a problem in bootstrap scripts, but it could be when using libtool in
     83       the built system
     84     [x] ~Maybe~ add a package putting GNU sed/grep into /sucks/bin?
     85         - Added.
     86 
     87 [x] /sbin/poweroff: stty: inaccessible or not found
     88 
     89 [x] Correct /sucks in /bin/svc.d/*
     90 
     91 [x] Fix git remote-https
     92 
     93 [x] Fix dropbear
     94 	- Run:
     95 		mkdir /etc/dropbear
     96 		dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
     97 
     98 [x] Convert more packages to static
     99 
    100 [x] Add information about boot image to BOOTING
    101 
    102 [x] Add rsync to lib/mkbootimage
    103 
    104 [x] Add shim
    105 	[x] Use shim and mksquashfs to create boot iso
    106 	    - Using a slightly different method with raw image
    107 
    108 [x] Add "ports" system using mk
    109 	[x] Working on mkpk - Done
    110 	[x] Add sacc
    111 	[x] Add neomutt
    112 	    - Transferred to galeb-mkfiles
    113 	[x] Add a ton of packages added by bootstrap script
    114 	    - Added only as entries in /pkg/pkgdb.tsv for now
    115 		[x] Also convert .md5 -> .sha512
    116 
    117 [x] Adjust cc, as, ld, git... to also have symlinks in /bin (used for mkpk, as
    118     it doesn't have /sucks/bin in PATH from doas) - maybe alternatively, add
    119     /sucks/bin to PATH exported by doas?
    120     - Modified doas.conf instead.
    121 
    122 [x] svc - change the color for the "exists" status: on stopping all, "NO" should
    123     be white, "YE" should be red, and on starting as now, the opposite
    124 
    125 [x] Fix sbase tar - split long names into prefix + name instead of choking
    126 
    127 [x] Add packages
    128 	[x] Add gpm
    129 	[x] Add smdev
    130 	[x] Add elinks
    131 	[/] Add X - better handled from within the installed system
    132 	[x] Add ~ssh(d)~ dropbear
    133 	[x] https://git.2f30.org/ports/files.html
    134 	[x] https://git.2f30.org/pass/files.html
    135 	[x] Add GnuPG
    136 	[x] Add opendoas
    137 	[x] Add tmux
    138 	[x] fsck.vfat
    139 	[x] Add curl (needed for git?) - needed
    140 	[/] git://git.suckless.org/utmp - n/a here
    141 	[/] Add sup - this should be customized by the user
    142 	[x] Add ~syslog-ng~ metalog
    143 	[x] Add git
    144 	[x] Add table, ~text-utils~
    145 	[x] Add sdhcp
    146 		[x] Test sdhcp
    147 	[/] ~Add snarf~ - doesn't support HTTPS
    148 		[/] Replace with axel if not installing curl
    149 	[x] Add svc
    150 
    151 [x] Fix init scripts
    152 	[x] git://r-36.net/stali-init
    153 		[x] Add multiple ways to set hostname, TZ, etc.
    154 	[x] http://r-36.net/scm/
    155 	[x] https://codemadness.org/git/
    156 	[x] https://git.2f30.org/
    157 	[x] https://git.suckless.org/
    158 	[x] Investigate crond showing message for 1 on (re)start
    159 		- Was a bug in bare.sh
    160 	[x] figure out how to bring down all services cleanly as a regular user
    161 	    (svc group?)
    162 		- Regular user shutting down? Should be handled either by suid
    163 		  (therefore: not script) calling other things or doas/sup.
    164 		  Scripts/programs to do specific things like remounting
    165 		  ro/umounting should just expect root or error out, shouldn't
    166 		  be suid
    167 		- Conclusion (for now): call /bin/rc.shutdown as root with
    168 		  doas/sup, otherwise error out. Alternative would be to create
    169 		  dedicated shutdown suid executable (TODO)
    170 		- This alternative is the ultimate solution; consider calling
    171 		  poweroff from within tmux (fails when done by script)
    172 	[x] shutdown, poweroff, reboot
    173 	[x] Add sdhcp as ~oneshot~ longrun
    174 	[x] hwclock on shutdown
    175 	[x] shutdown as regular user (remount / ro)
    176 
    177 [x] Linux
    178 	[x] Random number generator? - Fixed by recreating /dev/u?random, which
    179 	    for some reason were created as block special files instead of
    180 	    character special
    181 	[x] /proc/sys/kernel/hotplug/create - Add hotplugging to Linux
    182 	    - Still doesn't make available the required pseudofile
    183 	[x] Remove ram disks from Linux
    184 
    185 [x] Patch sdhcp
    186 
    187 [x] Fix dcron
    188 	[x] crontab -e doesn't respect EDITOR? - export.
    189 
    190 [x] Fix filesystem
    191 	[x] stty broken link to /tools/bin/stty?
    192 	[x] Remove /bin/bash in final system
    193 	[x] suid/sgid doesn't get preserved?
    194 
    195 [x] Fix mksh Ctrl-C bug
    196 	- Could be to /etc/logout's trap '...; exit' - check!
    197 	- Yes. Also ubase's watch needed a patch to respond to Ctrl-C.
    198 
    199