Commit Graph

1155 Commits

Author SHA1 Message Date
fosslinux 6c377de2f0 Add basic users and groups 2024-02-01 21:23:16 +11:00
fosslinux 3733956654
Merge pull request #423 from rick-masters/mkfs-no-prompt
Add -F flag to mkfs to avoid prompt to proceed.
2024-01-30 22:19:37 +00:00
fosslinux 8fe43f3103
Merge pull request #421 from Googulator/builder-hex0-submodule
Update builder-hex0 submodule (smaller stage1 code size)
2024-01-30 22:19:18 +00:00
rick-masters 5aa58e34e0 Add -F flag to mkfs to avoid prompt to proceed. 2024-01-29 23:51:52 +00:00
Gábor Stefanik 66887892bf Update builder-hex0 submodule
* Reduce stage1 footprint back to 192 bytes
* Fix execve without fork
2024-01-28 05:08:31 +01:00
Andrius Štikonas 3e2663b3bd
Merge pull request #419 from fosslinux/live-system-nochange
Live system nochange
2024-01-27 00:59:33 +00:00
Andrius Štikonas 64ec796314
Merge pull request #420 from Googulator/using-bash-bugfix
Fix typo in script-generator causing wrong traps in new Bash
2024-01-27 00:55:30 +00:00
fosslinux 438e01800c Update checksums 2024-01-26 10:29:57 +11:00
fosslinux 2182076773 Use a constant umask 2024-01-26 10:29:57 +11:00
fosslinux 67acb607f6 Never create pyc files on filesystem 2024-01-26 10:29:57 +11:00
fosslinux 1665723b70 Respect DESTDIR for lib-dynload directory in py 2.0.1 2024-01-26 10:29:57 +11:00
fosslinux 76217c6b0d Ensure sources are always cleaned the same
Otherwise, in --repo mode, sources are not cleaned identically to how
they are in non --repo mode
2024-01-26 10:29:57 +11:00
fosslinux b1e3da4e46 Move where DESTDIR is made 2024-01-26 10:29:57 +11:00
fosslinux 7f967fe2dc Cleanup the filesystem at end of bootstrap 2024-01-26 10:29:57 +11:00
fosslinux 8d9981772a Dont remove /usr/include
(lol, no idea how this ever worked)
2024-01-26 10:29:57 +11:00
fosslinux 62ce1b0c1e Remove old python versions 2024-01-26 10:29:53 +11:00
fosslinux fb35fcac4c Uninstall previous perl files using uninstall rather than src_install 2024-01-26 10:29:18 +11:00
fosslinux 0a98747dab Remove files unnecessarily kept around 2024-01-26 10:29:18 +11:00
fosslinux 718bccc7b2 Remove yacc using uninstall rather than in src_install of flex-2.6.4 2024-01-26 10:29:18 +11:00
fosslinux 6901877837 Remove unnecessary touching of live filesystem in flex-2.5.11 2024-01-26 10:29:18 +11:00
fosslinux c0485bce2f Remove unneccessary touching of live filesystem in coreutils-5.0 pass2 2024-01-26 10:29:18 +11:00
fosslinux 3669db9125 Use merged usr throughout the entire bootstrap 2024-01-26 10:29:18 +11:00
fosslinux 5b84cdd178 Don't touch live filesystem in bash-5.2.15
Rather, uninstall existing bash before bash is built
2024-01-26 10:29:18 +11:00
fosslinux bbe121f382 Add uninstall directive to manifest
Allows for removal of old files or packages
2024-01-26 10:29:18 +11:00
fosslinux 8cc26fa60a Remove old relic of "maint"
Never actually used in the manifest, and shouldn't have been there
2024-01-26 10:29:18 +11:00
Eduardo Sánchez Muñoz f995a749de Fix detection of device type (partition/full disk) in move_disk.sh
The version of stat available at that point does not support %Lr, so use instead its hexadecimal counterpar (%T)
2024-01-26 10:29:18 +11:00
Eduardo Sánchez Muñoz 2883225629 Only copy no-network distfiles to "init" when `--external-source` is passed (with kernel bootstrap)
All distfiles are still copied to "external"
2024-01-26 10:29:18 +11:00
Eduardo Sánchez Muñoz 679f73bbf1 Create disk images without root
`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.
2024-01-26 10:29:18 +11:00
Gábor Stefanik 67aa2a4826 Fix the default build script used by "build <package name>"
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.
2024-01-26 10:29:18 +11:00
Gábor Stefanik 46268e2882 Update builder-hex0 for USB boot support 2024-01-26 10:29:18 +11:00
fosslinux 9632f6af01 Update coreutils to 9.4 2024-01-26 10:29:18 +11:00
Gábor Stefanik 071f6c2d40 Fix typo in script-generator causing wrong traps in new Bash
When renaming using_bash to bash_build, I accidentally removed the
+ sign from the assignment, causing bash_build > 1 to never match,
resulting in old-style Ctrl+D traps even in the new Bash.

This patch restores the intended += behavior.
2024-01-24 10:29:51 +01:00
fosslinux 34e4bf9bcc
Merge pull request #381 from eduardosm/disk-images-without-root
Create disk images without root
2024-01-24 01:40:13 +00:00
Andrius Štikonas 04f6a2d204
Merge pull request #417 from Googulator/fix-default-buildscript
Fix the default build script used by "build <package name>"
2024-01-24 00:24:19 +00:00
Andrius Štikonas 458a65b1d0
Merge pull request #416 from Googulator/builder-hex0-submodule
Update builder-hex0 for USB boot support
2024-01-24 00:20:21 +00:00
Gábor Stefanik 177b58cc09 Fix the default build script used by "build <package name>"
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.
2024-01-22 22:59:25 +01:00
Gábor Stefanik 25575b28b2 Update builder-hex0 for USB boot support 2024-01-22 22:57:42 +01:00
Andrius Štikonas 51dd19aadf
Merge pull request #382 from fosslinux/coreutils-9.4
Coreutils 9.4
2024-01-22 19:21:19 +00:00
fosslinux 06b40f3f00
Merge pull request #414 from Googulator/builder-hex0-submodule
Use builder-hex0 stages from submodule
2024-01-22 03:43:31 +00:00
Gábor Stefanik 2023432c5e Use builder-hex0 stages from submodule
This ends the reliance on the precompiled stage1 image in ootstrap-seeds,
and the locally committed copy of the stage2 hex0 code. Instead, both
stages are taken from the new builder-hex0 submodule, with stage1 compiled
by generator.py on the fly. The local copy of stage2 is dropped.

This way, updating to a newer builder-hex0 becomes much easier: just update
the submodule.
2024-01-21 19:18:21 +01:00
Gábor Stefanik 5d5eb5d73b Add builder-hex0 as a submodule 2024-01-21 19:04:56 +01:00
Andrius Štikonas 9ff2d1f0f1 Add abort.{s,o} to libc+tcc. 2024-01-20 22:07:31 +00:00
fosslinux c750c6f002 Update coreutils to 9.4 2024-01-21 08:47:34 +11:00
Andrius Štikonas 241f5431b0 Update amd64 checksums. 2024-01-20 18:07:38 +00:00
fosslinux 490bc621a5
Merge pull request #400 from Googulator/autogen-trap-fix
Upgrade autogen bootstrap tarball to fix trap issue
2024-01-13 01:07:00 +00:00
fosslinux f71445362e
Merge pull request #408 from Googulator/checksum-fix
Fix Python 3 checksum regression from 8341c4e
2024-01-13 01:06:31 +00:00
Eduardo Sánchez Muñoz 5243d3b3ce Fix detection of device type (partition/full disk) in move_disk.sh
The version of stat available at that point does not support %Lr, so use instead its hexadecimal counterpar (%T)
2024-01-12 22:39:44 +01:00
Eduardo Sánchez Muñoz 3f41cab6f7 Only copy no-network distfiles to "init" when `--external-source` is passed (with kernel bootstrap)
All distfiles are still copied to "external"
2024-01-12 22:39:21 +01:00
Eduardo Sánchez Muñoz 5dbaeaf19b Create disk images without root
`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.
2024-01-12 22:39:20 +01:00
fosslinux e6185414db
Merge pull request #410 from rick-masters/populate-devices-for-kexec
Populate devices so kexec can read /proc/iomem.
2024-01-12 20:41:34 +00:00