Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live system nochange #419

Merged
merged 24 commits into from
Jan 27, 2024
Merged

Live system nochange #419

merged 24 commits into from
Jan 27, 2024

Conversation

fosslinux
Copy link
Owner

@fosslinux fosslinux commented Jan 24, 2024

a bunch of cleanups that make diff -ru <(cd target; ls -R) <(cd target.bak; ls -R) be nil, where target and target.bak have one run normally, and the other run with --repo from that run.

There are likely a couple of checksum changes I havent added yet, and there's still a bit of work to do for ls -lR to be nil (permissions, etc)

Closes #377

@fosslinux fosslinux force-pushed the live-system-nochange branch from 2620bdf to c533387 Compare January 24, 2024 06:56
seed/script-generator.c Outdated Show resolved Hide resolved
steps/bash-2.05b/pass2.sh Outdated Show resolved Hide resolved
steps/improve/clean_sources.sh Show resolved Hide resolved
steps/improve/merged_usr.sh Show resolved Hide resolved
steps/manifest Outdated Show resolved Hide resolved
@fosslinux fosslinux force-pushed the live-system-nochange branch 2 times, most recently from 42302dd to b5e7c59 Compare January 25, 2024 08:08
fosslinux and others added 24 commits January 26, 2024 10:29
Before the simplify refactor, the convention was to name the first
or default build script "<package name>.sh". The refactor changed
this default to "pass1.sh", with "pass2.sh" and so on used for
subsequent passes. This wasn't an issue when building usig scripts
generated by script-generator (which explicitly declares the build
script to use), but broke running "build <package name>" without
an explicit script name from the post-bootstrap bash prompt.

By deriving the script name from the current revision/pass number,
this commit restores that functionality.

An unfortunate blemish is that we number build scripts from 1, but
repo tarballs from 0 - it would be nice to standardize on a single
indexing convention.
`mke2fs` has a `-d` option that allows to populate the newly created filesystem without needing to temporarily mount it. That allows to use `parted` and `mkfs.ext3` on regular files without needing root access.
…passed (with kernel bootstrap)

All distfiles are still copied to "external"
The version of stat available at that point does not support %Lr, so use instead its hexadecimal counterpar (%T)
Never actually used in the manifest, and shouldn't have been there
Allows for removal of old files or packages
Rather, uninstall existing bash before bash is built
(lol, no idea how this ever worked)
Otherwise, in --repo mode, sources are not cleaned identically to how
they are in non --repo mode
@fosslinux fosslinux force-pushed the live-system-nochange branch from b5e7c59 to 438e018 Compare January 25, 2024 23:30
@stikonas stikonas merged commit 3e2663b into master Jan 27, 2024
6 checks passed
@stikonas stikonas deleted the live-system-nochange branch January 27, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

src_install() shouldn't touch the live system
4 participants