Commit graph

760 commits

Author SHA1 Message Date
Andrius Štikonas
d83f810773 Pylint fixes. 2023-02-01 22:17:57 +00:00
fosslinux
ac010bc1a0
Merge pull request #201 from doraskayo/musl-libdir-triplet
Rename /usr/lib/musl to /usr/lib/i386-unknown-linux-musl
2023-01-30 08:52:17 +11:00
fosslinux
5458a3e6aa Quick fix to tmpdir rework
QEMU no --external-sources broken due to bootstrap.cfg
2023-01-29 21:07:56 +11:00
Dor Askayo
4204a180e1 Rename /usr/lib/musl to /usr/lib/i386-unknown-linux-musl 2023-01-29 00:09:39 +02:00
Dor Askayo
59a13f0d09 Add LIBDIR variable for the musl library directory
LIBDIR should be used where possible to avoid unnecessary
duplication in build scripts that target the musl toolchain.

No change in package hashes.
2023-01-29 00:09:38 +02:00
Dor Askayo
c3a745c997 Truncate .env file when writing to it
This makes no functional difference in practice, but is a bit cleaner
in case init scripts are executed multiple times (for testing or
otherwise).
2023-01-29 00:06:57 +02:00
Dor Askayo
46a5773f66 Fix a typo in rootfs.py 2023-01-28 19:14:49 +02:00
fosslinux
2c8b29556b
Merge pull request #233 from fosslinux/tmpdir-rework
Rework tmpdir & associated a bit.
2023-01-28 16:52:37 +11:00
fosslinux
d2c726f749 Fix source_manifest pylint 2023-01-28 16:51:00 +11:00
fosslinux
51b0bf8405 Rework tmpdir & associated a bit.
- Split out tmpdir logic into a separate entity & add the appropriate
  arguments and checks.
- sysb can be removed since there is now no associated logic.
- Move disk/etc logic into tmpdir.py.
2023-01-28 16:51:00 +11:00
fosslinux
5e768d3752
Merge pull request #197 from doraskayo/avoid-variable-export
Avoid exporting variables in build scripts
2023-01-28 08:37:12 +11:00
Dor Askayo
3921660396 Avoid exporting variables in build scripts
Environment variables "pollute" the build environment of packages and
can affect their output.

This change results in the removal of some files from packages that
were not meant to be packaged. It also removes the need for a
workaround in automake 1.10.3 to manually remove such files.

Variables are now saved in an .env file for each system and included
in scripts that need them using the dot operation.
2023-01-27 22:19:52 +02:00
Andrius Štikonas
a35196a5e4 Build python 3.11 statically. 2023-01-27 19:10:48 +00:00
Dor Askayo
a74f3166f3 Pass variables to make explicitly in musl-1.1.24 2023-01-27 10:17:04 +02:00
Andrius Štikonas
4f9f56f006 Use relative symlinks for python installs. 2023-01-25 18:26:22 +00:00
Andrius Štikonas
26872c01bf Add --enable-ipv6 to some versions of python to make builds reproducible 2023-01-25 02:39:14 +00:00
Andrius Štikonas
13eace50dd
Merge pull request #231 from stikonas/automake
Do not build doc directory of autoconf 2.11 and 2.15.
2023-01-24 22:52:07 +00:00
Andrius Štikonas
f2e542ef0c Do not build doc directory of automake 2.11 and 2.15.
There is a race condition there that often causes builds to fail.
Fixes: #184
2023-01-24 22:45:52 +00:00
Andrius Štikonas
20173fbee1 Update stage0-posix to pull in a fix for kaem-optional seed. 2023-01-22 23:19:59 +00:00
Andrius Štikonas
8413534072 Remove some unnecessary cleanup code that was broken anyway. 2023-01-21 11:50:32 +00:00
fosslinux
b38af5d443
Merge pull request #229 from stikonas/musl_symlinks
Add artificial symlinks to musl package to ease its use.
2023-01-21 13:04:18 +11:00
Andrius Štikonas
89c7c10b8e Add artificial symlinks to musl package to ease its use. 2023-01-21 02:00:36 +00:00
Andrius Štikonas
c1ed20adc8 Remove an extra newline. 2023-01-21 01:31:09 +00:00
fosslinux
ef5ee50dd3
Merge pull request #227 from stikonas/stage0_steps
parts.rst: add more verbose description of stage0-posix.
2023-01-21 12:29:11 +11:00
Andrius Štikonas
77b64a0585 parts.rst: add more verbose description of stage0-posix. 2023-01-21 01:26:36 +00:00
fosslinux
96156975c2
Merge pull request #228 from stikonas/curl_reproducibility
Fix reproducibility issue in curl.
2023-01-21 12:22:16 +11:00
Andrius Štikonas
5f805e65f3 Fix reproducibility issue in curl. 2023-01-20 22:16:31 +00:00
Andrius Štikonas
4148b5da72
Merge pull request #222 from fosslinux/python
Python
2023-01-18 18:46:27 +00:00
Andrius Štikonas
60973abb90
Merge pull request #226 from pder/remove-make-3.80
Eliminate make 3.80 and use 3.82 instead when building with tcc
2023-01-18 18:45:38 +00:00
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
6ec368ce37 Change Python -> python
(lowercase convention)
2023-01-18 22:57:04 +11:00
fosslinux
a4d1a445ac Add documentation 2023-01-18 08:20:35 +11:00
fosslinux
d0a522113f Fix QEMU/chroot differences in outputs for Python 2023-01-18 08:20:34 +11:00
fosslinux
42fa6c24c1 Add Python-3.11.1 2023-01-18 08:20:34 +11:00
fosslinux
d28ea08295 Add Python-3.8.16 2023-01-18 08:20:34 +11:00
fosslinux
d1d422abc5 Add Python-3.4.10 2023-01-18 08:20:34 +11:00
fosslinux
f34defc485 Add Python-3.3.7 2023-01-18 08:20:34 +11:00
fosslinux
2325df7f38 Add Python-3.1.5 2023-01-18 08:20:34 +11:00
fosslinux
eadc92cf38 Add Python-2.5.6 2023-01-18 08:20:34 +11:00
fosslinux
a94c8dbdce Add Python-2.3.7 2023-01-18 08:20:34 +11:00
fosslinux
13eaba86e8 Add Python-2.0.1 2023-01-18 08:20:34 +11: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