Commit Graph

720 Commits

Author SHA1 Message Date
Paul Dersey 91c168bb7d Eliminate make 3.80 and use 3.82 instead when building with tcc
Unlike make 3.80, make 3.82 makes a call to putenv which does not exist
in mes libc so a stub was created for this function.

The checksum for the util-linux package required an update.
When built with original make 3.80 it resulted in an extra file
/usr/share/man/man8/.8 that does not exist when building with 3.82
2023-01-18 11:40:50 -05:00
fosslinux 0b7cd62f73
Merge pull request #224 from doraskayo/bwrap-error-and-docs
Mention bubblewrap bootstrap mode in error messages and documentation
2023-01-15 14:53:00 +11:00
Andrius Štikonas 13f8dabd89
Merge pull request #225 from doraskayo/source-manifest
Add a source manifest
2023-01-13 21:39:51 +00:00
Dor Askayo 9d1e5b64be Add a script to generate source manifests
The source manifest can be used by external tools to download source
files externally before initiating the bootstrap process.

The script prints the source manifest to stdout.
2023-01-13 23:38:21 +02:00
Dor Askayo a1c8c0312c Download source files using a source manifest 2023-01-13 23:38:18 +02:00
Andrius Štikonas 68c6544df0 Fix invocation of after.sh hook.
bash "${FILE}" does not work when FILE is unset.
2023-01-13 20:26:55 +00:00
Dor Askayo 425beee8dd Always pass file name to download_file()
Move the file name decision to get_packages() when a file name is not
specified in the package source file.
2023-01-13 19:41:32 +02:00
Dor Askayo 38e5dfe35b Pass destination directory to download_file() 2023-01-13 16:21:56 +02:00
Dor Askayo 693d01dc1b Set git_dir/sys_dir/cache_dir statically
This allows accessing their values without requiring a class instance.
2023-01-13 16:21:56 +02:00
Dor Askayo 808fc67cbd Small addition of bubblewrap mode to documentation 2023-01-13 10:52:12 +02:00
Dor Askayo ce2276583a Mention bubblewrap mode in error messages 2023-01-13 10:52:12 +02:00
Andrius Štikonas 938d919503 Fix creation of binary tar packages.
Closes #223
2023-01-13 01:09:57 +00:00
fosslinux 3ffd3b96b3 Fix QEMU mode
(a change that slipped through the cracks)
2023-01-07 22:13:10 +11:00
fosslinux f4ebc241ac Fix linters (whoops!) 2023-01-07 19:12:50 +11:00
Andrius Štikonas c63d7ae89f Remove unnecessary mkdir call. 2023-01-07 01:11:47 +00:00
fosslinux b46b776404 Support .tgz files in extract phase 2023-01-05 21:20:18 +11:00
fosslinux 6f76fd2071 Add early preseed
Speeds up development cycle, allows for the pre-kaem stages to be
extracted as a tarball
2023-01-05 20:44:19 +11:00
fosslinux d91deb50c9 Remove XBPS 2023-01-05 20:44:19 +11:00
Andrius Štikonas bd29c5f855 Update stage0-posix. 2023-01-02 12:33:24 +00:00
fosslinux a89c76cc73 Fix musl-1.2.3 when umask on host system is not 022 2023-01-02 16:44:23 +11:00
fosslinux fcaa778e93 Add SOURCE_DATE_EPOCH
Simply set SOURCE_DATE_EPOCH=0 globally.
2023-01-02 16:44:23 +11:00
fosslinux 667370a726 Set HOME 2023-01-02 16:44:23 +11:00
Andrius Štikonas 60de56cbe6 Fix another typo in parts.rst. 2022-12-25 10:30:15 +00:00
Andrius Štikonas 40ea40592c Fix rst markup in parts.rst. 2022-12-25 10:18:12 +00:00
Andrius Štikonas 20c2d4c36e Build tcc 0.9.27 immediately after tcc 0.9.26. 2022-12-25 01:49:54 +00:00
Andrius Štikonas 278b2390f7 Update stage0-posix to include unbz2. 2022-12-24 11:04:52 +00:00
Andrius Štikonas e5edc55847 Update ca-certificates to 3.86.
This temporarily should fix checksum error due to certificate expiry.
2022-12-12 00:54:06 +00:00
Andrius Štikonas 6ef5a3c88d
Merge pull request #218 from eduardosm/more-reproducible
Improve reproduciblity of some packages
2022-12-11 19:05:34 +00:00
fosslinux cee1bb08bd
Merge pull request #219 from rick-masters/fix-checksum-verification
Always use file for checksums, mes built sha256sum doesn't support stdin
2022-12-06 14:38:24 +11:00
rick-masters d2c669e0fc Always use file for checksums, mes built sha256sum doesn't support stdin. 2022-12-05 18:14:19 +00:00
Eduardo Sánchez Muñoz 8adab8b568 Improve reproduciblity of some packages
I figure these out when trying to run the build in docker, which provides an environment slightly different to the one used when building in qemu/chroot/bwrap with rootfs.py
2022-12-01 23:14:38 +01:00
Andrius Štikonas 58c538330e Minor simplification of coreutils-6 makefile. 2022-12-01 21:40:07 +00:00
fosslinux 9634b6d059
Merge pull request #215 from eduardosm/dl-distfiles-script
Add script to automatically download all sysa and sysc distfiles without Python
2022-11-29 16:58:25 +11:00
Eduardo Sánchez Muñoz 6f4afb4e3f Make shellcheck happy 2022-11-28 20:10:30 +01:00
Eduardo Sánchez Muñoz d91e31e6a2 Use bash as interpreter in download-distfiles.sh 2022-11-28 20:03:42 +01:00
Eduardo Sánchez Muñoz 71f67c7fbc Add download-distfiles.sh to shellcheck and include reuse information 2022-11-28 20:00:18 +01:00
fosslinux bd97b1f86c
Merge pull request #217 from rick-masters/fix-zero-terminate-wstrcpy
Zero terminate strings in wstrcpy. Resolves #216.
2022-11-28 18:59:59 +11:00
fosslinux 5139205d1b
Merge pull request #214 from rick-masters/restore-missing-pkg-checksums
Restore missing checksums for packages used in QEMU build. Resolves #213
2022-11-28 18:52:38 +11:00
rick-masters 4e13e9ba11 Zero terminate strings in wstrcpy. Resolves #216. 2022-11-27 20:39:18 +00:00
Eduardo Sánchez Muñoz 6de12d402f Add script to download sysa and sysc distfiles without Python 2022-11-27 20:51:52 +01:00
rick-masters 267eb69452 Restore missing checksums for packages used in QEMU build. Resolves #213. 2022-11-27 19:16:39 +00:00
Andrius Štikonas 44c35017e7 Update musl 1.2.3 checksum. 2022-11-15 01:03:51 +02:00
Andrius Štikonas 33362c0783 Update stage0-posix. 2022-11-14 21:48:05 +02:00
fosslinux 1c6c9a404d Hotfix shellcheck 2022-11-02 14:35:48 +11:00
fosslinux 31bc944dd3 Establish different XBPS packages for different versions 2022-10-30 21:07:57 +11:00
fosslinux c523eb9b47 Fix repo preseed in update_checksums mode 2022-10-30 21:07:57 +11:00
fosslinux e6c43ebd6a Remove relic from pre-new sources 2022-10-30 21:07:57 +11:00
fosslinux 38b90d6a96 Make preseed work in sysc
- TODO: tar-1.34 does not work properly with preseed.
2022-10-30 21:07:57 +11:00
Andrius Štikonas b285bc93b6
Merge pull request #211 from stikonas/zlib
Update to zlib-1.2.13 and fix its download url.
2022-10-21 21:20:39 +02:00
Andrius Štikonas effac229c1 Update to zlib-1.2.13 and fix its download url. 2022-10-21 12:14:50 +02:00