Commit graph

524 commits

Author SHA1 Message Date
bauen1
cc2b17c46b sysa: remove conflicting, unversioned automake and aclocal binaries 2022-05-02 22:32:46 +01:00
Andrius Štikonas
851a1a0e0a Update to stage0-posix 1.5.0. 2022-05-01 23:41:49 +01:00
fosslinux
a8ea576eee
Merge pull request #150 from stikonas/patch
Build patch-2.5.9 with makefile rather than kaem.
2022-04-24 11:23:36 +10:00
Andrius Štikonas
c54653116a Build patch-2.5.9 with makefile rather than kaem. 2022-04-24 01:24:08 +01:00
fosslinux
76929dbf1b
Merge pull request #149 from stikonas/rootfs_refactor
rootfs.py refactoring.
2022-04-21 20:51:13 +10:00
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
79c47f21ff
Merge pull request #148 from stikonas/make
Simplify make-3.80 build script.
2022-04-13 09:03:52 +10:00
Andrius Štikonas
ef799e567b Simplify make-3.80 build script. 2022-04-12 21:18:48 +01:00
fosslinux
b2e8e0fea0
Merge pull request #146 from stikonas/sysa_rename
Sysa rename
2022-04-12 11:47:11 +10:00
Andrius Štikonas
102e21e336 Add REPO variable to run.sh. 2022-04-11 18:53:35 +01:00
Andrius Štikonas
7a8567dc78 Rename /after to /sysa. 2022-04-11 18:53:35 +01:00
Andrius Štikonas
3e2673e274
Merge pull request #147 from mid-kid/master
Fix zlib-1.2.11 download
2022-04-10 09:24:18 +01:00
mid-kid
a937c7c80f Fix zlib-1.2.11 download 2022-04-09 17:33:45 +02:00
Andrius Štikonas
dfd62038b8
Merge pull request #145 from fosslinux/snapshot
Packaging
2022-04-05 19:25:51 +01:00
Andrius Štikonas
3e3c58137c
Fix a typo in sysglobal/helpers.sh 2022-04-05 18:43:23 +01:00
fosslinux
7366647595 Update stage0-posix, help2man fix, refactor
- stage0-posix update to correctly exist on fail.
- help2man reproducibility fix for month.
- refactor some bits into functions.
2022-04-05 20:25:40 +10:00
fosslinux
f76fb8259b Update checksums (final time?) 2022-03-12 16:24:35 +11: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
e7c39af4b9 Final reproducibility fixes 2022-03-07 19:02:12 +11:00
fosslinux
931490551a Fix a variety of reproducibility issues
Include:
- Not regenerated man pages.
- Automake tarball with bad time (and completely useless).
- Ordering of files within tarballs.
- Resetting timestamp various fixes.
- Older tars not properly overwriting files leading to many issues.
- Weird lack of reproducibility in libtool scripts paths to tools.
- and more
2022-03-07 19:02:12 +11:00
fosslinux
a343dcf6ed Add new tarball-based checksums to all packages 2022-03-07 19:02:12 +11:00
fosslinux
968d2ea7d1 Introduce packaging support
Utilising previously introduced DESTDIR support, everything is installed
to aformentioned DESTDIR.

Prior to the building of XBPS, we use gzip compressed tarballs as
packages. This requires a lot of strange hacks especially for old tar +
gzip (timestamps, etc causing reproducibility problems). Then we use
XBPS once built.
2022-03-07 19:02:12 +11:00
fosslinux
f4d43e2113 Make tar installable under packaging 2022-03-07 19:02:12 +11:00
fosslinux
0b7bd2a46d Fix gcc-4.7.4 mis-versioning error occuring under packaging 2022-03-07 19:02:12 +11:00
fosslinux
6d19fc093e Fix a strange bug occuring in linux-headers
Only seems to occur in some terminals, as a result of mes libc bash, and
only when using DESTDIR. Not sure what the trigger is.
2022-03-07 19:02:12 +11:00
fosslinux
06cc74fe01 Fix an annoying typo 2022-03-07 19:02:12 +11:00
fosslinux
c64367f608 Merge /usr/sbin and /usr/bin
Required for some stupid build system (and is also better for us).
2022-03-07 19:02:12 +11:00
fosslinux
07d4408fb6 Build touch in coreutils-5.0 pass2
Better touch is very useful for packaging.
2022-03-07 19:02:12 +11:00
fosslinux
b8ef19150c Fix various things to use ${DESTDIR} 2022-03-07 19:02:12 +11:00
fosslinux
016b9511d2 Make gzip-1.2.4 and tar-1.12 not include timestamps
There is no way for gzip 1.2.4 and tar 1.12 to disable the inclusion of
timestamps into the tarball/gzip, which creates non-reproducible
tarballs and hence packages.

While it is theoretically possible to set the timestamps to unix time 0
using touch, in reality this is not possible because mes libc does not
support utime() which sets the timestamp of a file from userspace. So we
need to ignore it rather than (re)set it.
2022-03-07 19:02:12 +11:00
fosslinux
634ec99771 Rename perl5.004_05 and perl5.005_03
The underscores cause problems later, as _ is a delimiter for "revision
number" in packaging.
2022-03-07 19:02:12 +11:00
fosslinux
4fb8efafe2 Use sudo for losetup -f.
This is required in some environments.
2022-03-07 19:02:12 +11:00
fosslinux
a1520a07fa Add xbps-0.59.1.
This also required

- merging of usr/sbin and usr/bin (which should be done anyway), because
  of a dodgy PATH searcher
- moving of zlib earlier.
2022-03-07 19:02:12 +11:00
fosslinux
94069328ec Fix libdir of bison and flex. 2022-03-07 19:02:12 +11:00
fosslinux
bdd0227fdd Add openssl 1.1.1l. 2022-03-07 19:02:12 +11:00
fosslinux
a8cdecdfbd Add libarchive 3.5.2. 2022-03-07 19:02:12 +11:00
fosslinux
c202b663b0
Merge pull request #144 from doraskayo/rootless-prep-sysa
Preparations for rootless bootstrap of sysa
2022-01-21 10:42:42 +11:00
Dor Askayo
7ecad37d87 Avoid the creation of some dev nodes in chroot mode
In rootless boostrap, dev nodes must be mounted before starting the
bootstrap process. However, some of these aren't necessarily mounted,
such as when relying upon BuildStream's sandbox.

Since these are not actually required for either a rootless or
chroot-based bootstrap, simply avoid them.
2022-01-17 14:19:30 +02:00
Dor Askayo
2a0fef17e2 Add a patch to improve the reproducibility of findutils
See the comment in the patch for more details.
2022-01-17 14:11:17 +02:00
Dor Askayo
b03f3e11c0 Use rm -f to avoid interactive prompts
This is required when not running as root to avoid prompts when
removing read-only files.
2022-01-17 14:09:29 +02:00
Dor Askayo
c3843e1960 Ensure help2man is writable
When not running as root, the shebang workaround requires write
permissions to modify help2man. Since the original file is read-only,
permission must be granted explicitly.

Also fix the double '/' in the /usr prefix while at it.
2022-01-17 14:05:52 +02:00
Dor Askayo
d2b3feca5f Remove the previous coreutils-5.0 source directory
coreutils-5.0 is built twice in the same source directory during the
bootstrap. This can create some unexpected issues.
2022-01-17 14:05:52 +02: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
Dor Askayo
37b5b7bf4c Use mkdir -p in after.kaem
Avoids an error when the directories already exist.
2022-01-14 13:23:00 +02:00
Andrius Štikonas
f1e9dae310
Merge pull request #143 from doraskayo/update-mes-m2
Update mes-m2
2022-01-03 17:53:59 +00:00
Dor Askayo
f18504b509 Update mes-m2 2022-01-02 11:16:08 +02:00
Andrius Štikonas
df933f474c Remove unused stage0-posix checksum file. 2021-12-31 16:39:00 +00:00
Andrius Štikonas
84553cf7f2 Fix a typo. 2021-12-29 19:37:49 +00:00
Andrius Štikonas
553c9b965a Fix leftover /image directories in perl config.h file. 2021-12-29 01:39:15 +00:00