Commit graph

39 commits

Author SHA1 Message Date
Andrius Štikonas
5b032cb46c rootfs.py refactoring.
Switch to bzip2 packages
Move most of the preprocessing done by rootfs.py
into kaem and bash scripts inside live-bootstrap.
2022-04-21 00:49:56 +01:00
fosslinux
b760b3eb2b Final fixes:
- All QEMU reproducibility issues resolved
- Added SPDX licensing
- Couple other small issues
- Fix guile reproducbility
2022-03-12 16:24:25 +11:00
fosslinux
9543a47f1b Fix up checksums + other fixes 2022-03-12 16:23:24 +11:00
fosslinux
a343dcf6ed Add new tarball-based checksums to all packages 2022-03-07 19:02:12 +11:00
fosslinux
b8ef19150c Fix various things to use ${DESTDIR} 2022-03-07 19:02:12 +11:00
Dor Askayo
206a31fa4c Use the -f flag in gunzip and bunzip2
It allows unpacking hardlinked archives.
2022-01-17 14:05:16 +02:00
fosslinux
b93a931a53 Move to /usr prefix.
- This is much more standard and replaces /image in sysa and is the
  standard in sysc (avoids many issues).
- GCC needs to have a file created for some unknown reason.
- Checksums updated.
2021-08-27 14:54:08 +10:00
Andrius Štikonas
c8784cbcd3 Split installed files out of /after into /image. 2021-06-29 17:49:34 +01:00
Andrius Štikonas
826ff62300 Remove mes-libc submodule. 2021-06-21 22:40:48 +01:00
Andrius Štikonas
ff6d9e5c08 Get rid of mkbuild. 2021-06-20 23:58:04 +01:00
Andrius Štikonas
952ae49590 Fix DESTDIR variable. 2021-05-25 23:05:04 +01:00
Andrius Štikonas
a2c5745da4 helpers.sh: Add a helper function to call appropriate default stage function. 2021-05-03 23:48:06 +01:00
Andrius Štikonas
3dfe3dc0f0 Split mes libc into a separate source package.
Drop one of the mes git submodules.
2021-04-18 13:13:44 +01:00
Andrius Štikonas
419cd74d92 Move tcc 0.9.27 after bzip2.
This also allows to merge two builds of tcc 0.9.27.
Drop tcc 0.9.27 git submodule.
2021-04-17 01:29:31 +01:00
Andrius Štikonas
f030a3a74e Add untar.c 2021-04-17 01:29:31 +01:00
Andrius Štikonas
713fd9143f Port rootfs.sh to Python 2021-04-11 00:06:24 +01:00
Andrius Štikonas
70d1fc4163 Add support for DESTDIR variable in make install. 2021-04-02 12:24:40 +01:00
Andrius Štikonas
aa31fbc95b Patch tcc to ignore static inside array. 2021-03-31 18:14:01 +01:00
Andrius Štikonas
30ebe8ccba Install musl headers directly into /after/include. 2021-03-20 23:29:51 +00:00
Andrius Štikonas
1aeb4c11f7 Get rid of tcc-mes. 2021-03-20 23:20:25 +00:00
Andrius Štikonas
7a4ca8e634 Rebuild tcc against new musl. 2021-03-03 20:36:12 +00:00
Andrius Štikonas
7e9054570e Add cp to coreutils checksums and use cp to unpack tcc sources. 2021-02-21 12:24:05 +00:00
Paul Dersey
7803089a6b Build and install cp from coreutils to replace our minimal cp
Also update tcc-musl.sh to take advantage that cp can now copy
recursively
2021-02-21 12:24:05 +00:00
Paul Dersey
756ba1702b Rebuild musl libc after building tcc-musl, and then rebuild tcc-musl
This fixes an issue with printf not printing doubles or floats
correctly, and probably other subtle issues.

tcc-musl also uses floats extensively, so rebuild it as well, to fix
some other potential issues.

Update checksums for all resulting binaries which have now changed.

Co-authored-by: fosslinux <fosslinux@aussies.space>
2021-02-21 22:25:41 +11:00
fosslinux
77ccf06efc Implement sha256summing in bash build harness
1. Adds sha256sum stage to the bash build harness.
2. Adds a third argument to build(), the checksum file name. This is
   used where there is more than one checksum file, most notably
   in multi-stage compilations.
3. Adds checksum files to all remaining programs.
4. Adds appropriate 3rd argument where needed (coreutils, tcc-musl,
   bison).
2021-02-20 10:52:54 +11:00
fosslinux
8724c94d20 Implement sha256summing for all remaining kaem scripts 2021-02-20 10:52:54 +11:00
fosslinux
372e08e4f9 Implement fletcher16 checksumming up to path
Uses fletcher16 from previous commits.
Next we will use sha-2 to do checksumming.
2021-02-20 10:52:54 +11:00
fosslinux
72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00
fosslinux
e9c8313458
Merge pull request #26 from stikonas/musl
Musl
2021-02-04 21:40:08 +11:00
Andrius Štikonas
e0fba919a2 Build tcc-musl. 2021-02-04 08:35:50 +00:00
fosslinux
f7ea086630 Add patch headers
Also cleanup the flex patch a bit
2021-02-04 16:43:20 +11:00
Paul Dersey
b929dc84b4 Fix mes-libc crt1 to allow commands with greater than 255 arguments to run
Also reverse order of tcc-patched and mes-libc-patched stages.
2021-02-03 13:40:56 -05:00
fosslinux
9961c4b75f Remove sources/ directory 2021-01-31 21:12:53 +11:00
Paul Dersey
7c90d5bf4c Add new step mes-libc-patched 2021-01-29 16:43:01 -05:00
Paul Dersey
85ead5582e tcc-0.9.27: move code to compile libc into separate kaem script 2021-01-29 16:37:01 -05:00
fosslinux
5a369dc783 Restructure 2021-01-20 15:24:37 +11:00
fosslinux
90cd17e453 Revert "Revert "Add tcc 0.9.27""
This reverts commit 238bd677d7.

We can just specifiy -static manually.
2021-01-11 10:40:25 +11:00
fosslinux
238bd677d7 Revert "Add tcc 0.9.27"
This reverts commit 1ebbd69c79.

This requruies sed first to make a modification.
2021-01-11 10:33:09 +11:00
fosslinux
1ebbd69c79 Add tcc 0.9.27
This is the final tcc.
2021-01-10 19:42:58 +11:00