Commit graph

1267 commits

Author SHA1 Message Date
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
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
6446c09576 add alt_pass1 to ci 2024-01-13 00:20:13 +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
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
fosslinux
1ddc0bc2e1
Merge pull request #409 from Googulator/fix-premature-shutdown
Fix panic due to after.sh prematurely quitting on shutdown
2024-01-12 20:41:08 +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
Liam Wilson
a87e0b025e dummy tcc-mes file no longer needed 2024-01-12 05:38:33 +00:00
Liam Wilson
ba4c8b4ae7 start splitting tcc-0.9.26 hashes 2024-01-12 05:36:24 +00:00
Liam Wilson
dcb0134de8 Merge branch 'master' into tcc_bootstrap_alt-refactor-improve 2024-01-12 05:26:00 +00:00
Liam Wilson
7ac17b5c5e Revert "test mes mode again"
This reverts commit be89270ae0.
2024-01-12 05:25:15 +00:00
Liam Wilson
be89270ae0 test mes mode again 2024-01-12 03:28:37 +00:00
Liam Wilson
f4eda660f0 revert tcc-boot0 rebuilds 2024-01-12 03:22:47 +00:00
Liam Wilson
d2c5f8b518 another missing cd 2024-01-12 03:11:07 +00:00
Liam Wilson
b8d11bfe25 missing cd 2024-01-12 03:05:52 +00:00
Liam Wilson
451435852e rebuilt tcc-boot0 again 2024-01-12 02:59:35 +00:00
Liam Wilson
e8c0b99a09 rebuild tcc-boot0 with itself 2024-01-12 02:48:11 +00:00
Liam Wilson
3c840e66c7 test rebuilding tcc-boot2 with itself 2024-01-12 02:28:54 +00:00
Liam Wilson
9623db5dc1 add dummy tcc-mes 2024-01-11 21:54:17 +00:00
Liam Wilson
b19dff97bc Revert "test mes bootstrap path to make sure it's not broken"
This reverts commit 520656edc8.
2024-01-11 21:16:32 +00:00
Liam Wilson
949d5b8c76 try checking tcc-0.9.26 checksums even when using the TCC_BOOTSTRAP_ALT path 2024-01-11 21:15:44 +00:00
Liam Wilson
520656edc8 test mes bootstrap path to make sure it's not broken 2024-01-11 13:46:49 +00:00
Liam Wilson
488904419a allow run past tcc-0.9.27 to test full run 2024-01-11 00:07:21 +00:00
Liam Wilson
c16e1fd52f Revert "test non-tcc_bootstrap_alt path"
This reverts commit a3368747af.
2024-01-11 00:06:48 +00:00
Liam Wilson
a3368747af test non-tcc_bootstrap_alt path 2024-01-10 23:50:25 +00:00
Liam Wilson
876e0ed78d Revert "Revert "temp abort after 0.9.27 build""
This reverts commit 64e36591bc.
2024-01-10 23:49:45 +00:00
Liam Wilson
64e36591bc Revert "temp abort after 0.9.27 build"
This reverts commit b4068aaba5.
2024-01-10 23:38:17 +00:00
Liam Wilson
33be2c0080 do not check checksums for tcc-0.9.26 when using tcc_bootstrap_alt 2024-01-10 23:30:48 +00:00
Liam Wilson
2f158fc944 more include fixing 2024-01-10 23:21:46 +00:00