Commit graph

500 commits

Author SHA1 Message Date
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
Andrius Štikonas
620e10d4be Update stage0-posix. 2021-12-28 11:51:15 +00:00
Andrius Štikonas
6e3fab4da2 Remove mkbuild parameter. 2021-12-26 01:10:32 +00:00
Andrius Štikonas
9d3b1e2723 Update mes-m2. 2021-12-23 17:59:54 +00:00
Andrius Štikonas
3bb72fb0f2 Use recursive umount to unmount volumes mounted during bootstrap in chroot mode. 2021-12-23 00:52:30 +00:00
Andrius Štikonas
8bacb5138e
Merge pull request #142 from gbrlwck/mescc-fix
MEScc fix + exception message
2021-12-22 19:06:29 +00:00
Gabriel Wicki
65c7d78620 fix mescc alias in mes.kaem script
delete --no-auto-compile : useless in this case (MES doesn't compile)
delete -- : this starts an interactive scheme session (which is not the case here)
2021-12-22 17:14:51 +01:00
Gabriel Wicki
4cde51df49 add both hashes to "Checksum mismatch"-Exception message 2021-12-22 16:23:00 +01:00
Andrius Štikonas
60eece8856 Update stage0-posix. 2021-12-04 20:06:54 +00:00
Andrius Štikonas
70bd451c9d Fix outdated info in README. 2021-11-28 01:40:35 +00:00
Andrius Štikonas
cd93a07481 Update mes-m2 and stage0-posix. 2021-11-06 00:07:13 +00:00
Andrius Štikonas
12f3cc3138 Update stage0-posix. 2021-10-31 22:37:10 +00:00
fosslinux
7e57e7c3a3
Merge pull request #140 from stikonas/multiarch
Unhardcode x86 from very early steps.
2021-10-21 12:23:27 +11:00
Andrius Štikonas
32ec57d62d Unhardcode x86 from initial steps. 2021-10-20 21:16:05 +01:00
Andrius Štikonas
5148a8e0da Start using kaem aliases to build mes. 2021-10-20 21:15:50 +01:00
Andrius Štikonas
9acf482527 Update stage-posix. 2021-10-20 21:15:16 +01:00
Andrius Štikonas
e46eb5ad9c Move stage0-posix match binary into /usr/bin. 2021-10-14 20:44:32 +01:00
fosslinux
5dbf82e8e4 A couple of fixes wrt bootstrap.cfg
Correctly source. export so that scripts can access.
2021-10-14 21:31:45 +11:00
fosslinux
b0f9c00ef3 Make guile build work on chroot 2021-10-14 21:30:33 +11:00
Andrius Štikonas
04c3dc60a5 Update stage0-posix to newer version. 2021-10-14 01:26:11 +01:00
Andrius Štikonas
3c2713577b Update README with correct rootfs.py arguments. 2021-10-13 18:01:31 +01:00
fosslinux
98ea0a4c2e Don't use deblob-check
Generally, this is bad, because reduces featureset of kernel.
However, we don't use any blobbed features anyway.

1. This allows much lower RAM usage.
2. Speeds up deblobbing from hours -> seconds.

This nukes blobbed files instead of replacing blobs.
2021-10-13 17:57:50 +01:00
fosslinux
f12897265c Shuffle around the creation of sysb
For further RAM savings, we want to create sysb -without- having linux
tarball extracted at the same time. To accomplish this, we move the
gen_init_cpio + related script out of the tree and create it afterward.

Also use hard links to free up some more space.
2021-10-13 17:57:50 +01:00
fosslinux
732af79cdd A small RAM saving in initramfs
Before compiling the large Linux kernel, free up RAM space by removing
old build dirs.
2021-10-13 17:57:50 +01:00
fosslinux
c8998e9e71 Highlight need for 32-bit kernel; use 4G ram by default
It will always fit within 4G RAM.
2021-10-13 17:57:50 +01:00