Commit graph

122 commits

Author SHA1 Message Date
Liam Wilson
c766b6030b try and fix some UPDATE_CHECKSUMS 2024-02-02 14:52:44 +00:00
Liam Wilson
e9dda80ec5 Merge branch 'master' into builder-hex0-issue 2024-02-02 14:40:53 +00:00
Gábor Stefanik
c748766fac Switch Fiwix's console to tty1 on bare metal
This is needed to make the monitoring/recovery shell on tty2 work,
as the default console is tty0, which will just print to whichever
virtual console is active at the moment, making the shell unusable.
2024-01-30 02:50:36 +01:00
Gábor Stefanik
221f2d0f8e Open shells on virtual terminals for monitoring in interactive mode
We spawn a shell:
- When Bash is first built, on tty2. This shell uses the old Bash,
  so interactive mode needs to be emulated using redirection. Thus,
  entering commands needs to be done using Enter followed by Ctrl+D,
  and certain redirection features are unavailable.
- After moving the system to disk, on tty2. Old Bash, same limitations.
- After 2nd Bash is built, on tty3. This is a fully functional shell.

This is disabled in chroot-like bootstrap modes, or when -i is not set.
2024-01-30 02:50:36 +01:00
Gábor Stefanik
8fca0973ab Fix "no job control in this shell" in final Bash prompt 2024-01-30 02:50:36 +01: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
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
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
fosslinux
9632f6af01 Update coreutils to 9.4 2024-01-26 10:29:18 +11:00
Liam Wilson
b851f5587c bump 0.2 2024-01-24 18:28:59 +00:00
Liam Wilson
c4add474fb move to tcc_bootstrap_alt-0.2 2024-01-24 18:15:19 +00:00
Liam Wilson
a411c6ec3b Merge branch 'master' into builder-hex0-issue 2024-01-24 17:48:48 +00: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
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
Andrius Štikonas
51dd19aadf
Merge pull request #382 from fosslinux/coreutils-9.4
Coreutils 9.4
2024-01-22 19:21:19 +00:00
Liam Wilson
9721596a8f Merge branch 'master' into builder-hex0-issue 2024-01-21 10:33:49 +00: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
Liam Wilson
c986229334 fix typo 2024-01-13 03:39:53 +00:00
Liam Wilson
f67113dafa restore other arch support 2024-01-13 02:23:25 +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
Liam Wilson
8346a2b7e4 split riscv tcc-0.9.26 hashes to match with x86 2024-01-13 00:09:17 +00:00
Liam Wilson
1009ea6905 check extra sha sums for tcc-mes 2024-01-13 00:05:00 +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
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
Gábor Stefanik
7e73fd25cb Fix Python 3 checksum regression from 8341c4e
The Linux kernel won't autocreate /dev/shm inside devtmpfs.
Without it, semaphores won't work properly in Python.

Previously, /dev/shm was set up in populate_device_nodes, but we
no longer run that after booting into Linux.
2024-01-12 19:58:40 +01:00
Gábor Stefanik
36c1925742 Fix panic due to after.sh prematurely quitting on shutdown
The sysrq shutdown trigger takes some time to fully shut down the system,
during which init is expected to continue running. Since after.sh is the
last step in our init, if it quits before shutdown is complete, Linux will
panic with "Attempted to kill init".

Add an infinite loop after shutdown is issued via sysrq to prevent this.
2024-01-12 19:55:10 +01:00
Gábor Stefanik
9ed4416940 Upgrade autogen bootstrap tarball to v1.0.1 to fix return code issue 2024-01-12 16:11:14 +01:00
rick-masters
b2f4e3d129 Populate devices so kexec can read /proc/iomem. 2024-01-12 14:59:27 +00:00
Liam Wilson
94877fd5bd change to correct dir 2024-01-12 06:18:21 +00:00
Liam Wilson
3880069142 document potential bug 2024-01-12 06:06:29 +00:00
Liam Wilson
f6e4b5bc4a check sha256sum for tcc_bootstrap_alt-0.1 outpit artifact 2024-01-12 06:02:03 +00:00