IRC channel logs

2024-04-17.log

back to list of logs

<fossy>stikonas: i think theres a fair chance that some of the patches dropped when Googulator updated to 4.14 means that 64->32 is now possible
<fossy>but it 100% used to be broken
<stikonas>oh, could be
<stikonas>well, the main motivation for this is running live-bootstrap on UEFI systems before proper UEFI kernel bootstrap is ready
<stikonas>or running live-bootstrap on non x86/x86_64 systems
<fossy>in what sense do you mean "UEFI kernel bootstrap"?
<stikonas>where presumably userspace bootstrap will be done well before kernel bootstrpa
<Googulator>1.0 is x86 exclusively IMO
<fossy>ohhh
<fossy>oh got it
<fossy>Googulator: yes
<stikonas>well, start with arbitrary x86_64 linux.efi binary
<fossy>or at least, any other architectures are no-support
<stikonas>and proceed with mostly userspace bootstrap
<fossy>Googulator: is there actually a PR for nyacc bootstrap or just a commit?
<stikonas>(possibly jumping into fiwix or bootstrapped linux)
<stikonas>fossy: I merged it already
<stikonas>so just commit left
<stikonas>or do you mean nyacc repo?
<Googulator>fossy: it was #356
<Googulator>the mes 0.26 upgrade
<fossy>ohhh okay
<Googulator>I rolled nyacc bootstrap into it since mes 0.26 was a prerequisite for it anyway
<fossy>yep, fair
<Googulator>indeed, the main reason for going 0.26 was nyacc bootstrap support
<Googulator>especially since we aren't doing gash
<Googulator>with byacc, there's no reason to use gash
<fossy>i'll spend a bit of time checking that this actually does 100% fix the nyacc problem, but at minimum this is a big step forward, thank you ^-^
<Googulator>Unless there are more pregens in nyacc, this should be a fix
<fossy>i'm surprised that it was actually fairly straightforward, i had in my mind that there was a fair few more blockers to it but maybe not at all!
<Googulator>When doing bwrap bootstrap, psyntax.pp and all known nyacc pregens are deleted before we attempt regeneration
<stikonas>fossy: well, there was some work done by other people
<Googulator>After upgrading to 0.26 and adding samplet's code, there was really just one issue
<fossy>yeah, the patch by samplet made a big difference
<Googulator>mes-m2 has no rename-file
<Googulator>so I just adjusted samplet's code to regenerate in place, rather than with .new suffixed filenames
<Googulator>so no rename needed
<Googulator>and luckily it does work, overwriting the pregens with bootstrapped versions, even if they weren't deleted beforehand (e.g. on builder-hex0 with dummy unlink())
<Googulator>the only reason the renames were there is because originally they were move-if-changes
<fossy>hmm, i think we might actually be in a good place to move toward 1.0, i just need to spend a few days doing a bit of a sweep through everything to make sure there's nothing critical i'm missing, but expect to see a 1.0 branch within hopefully a week or two (to allow us to still keep merging larger changes into master, and just do small updates/bugfixes in 1.0 branch)
<fossy>i think i'd like to gather a bit of a "compatibility report" for bare metal, perhaps in the wiki section of github, so we don't waste time with "bare metal doesn't work on my X system"
<fossy>1/go 30
<fossy>oops
<stikonas>README also has some outdated sections
<stikonas>we'll have to fix those
<stikonas>in particular without Python section...
<Googulator>I've done some updates to that just now.
<Googulator>Although it would be great to have a way to actually do the "Only copy..." steps in a way that doesn't involve manually tracing build steps in the manifest
<Googulator>fossy: what are the plans for the UX points?
<fossy>stikonas: yea README needs a bit of updating
<fossy>Googulator: interactive mode addresses a fair few of them, but i'd like to add proper prompts for uninitialised variables in script-generator
<fossy>well, interactive mode + the script-generator variable prompting
<fossy>parts.rst needs a bit of updating too
<stikonas>yeah...
<stikonas>byacc in particular was not added
<stikonas>and I forgot this in the review
<stikonas>oh and mes 0.26...
<stikonas>Googulator: can you update those?
<Googulator>I guess
<Googulator>(remember to update the nss version number when we do the final nss update)
<Googulator>fossy: posted PR for parts.rst update (https://github.com/fosslinux/live-bootstrap/pull/461), please review
<Googulator>stikonas: do you know if Guix has the same policy against pregens that LB has?
<Googulator>(they might be interested in the Nyacc regen in that case)
<stikonas>Googulator: no, they don't have
<stikonas>generally they run configure scripts, use bison files, etc...
<stikonas>I don't think they are against improving stuff, but nobody works on that
<stikonas>and also they mostly switched to mes/gash and replaced bash/coreutils, etc...
<stikonas>so diverging a bit from live-bootstrap
<matrix_bridge><Christoph> They do like Scheme over at Guix... :-)
<Googulator>It (or rather, Lisp) is "THE original MIT hacker language" after all :)