fosslinux
eb607794cd
Clean up TCC buildcode
...
It was unstandard & some files were not correctly in DESTDIR
2023-02-06 16:58:10 +11:00
fosslinux
5f7ae7d964
Fix LIBDIR before musl built
...
Strictly, LIBDIR=/usr/lib/mes pre-musl.
2023-02-06 16:58:10 +11:00
fosslinux
73b8916e1f
Remove with-sysroot from binutils
...
This option is erroneous and only worked by chance.
sysroot is prepended to all library search paths when working correctly,
eg, /usr/lib turns into /usr/usr/lib when --with-sysroot=/usr.
2023-02-06 16:58:10 +11:00
fosslinux
2577d2e704
Fix a packaging bug
...
Previously, symlinks to directories were followed early
in the bootstrap. This is incorrect behaviour.
While never actually encountered (hence no checksum changes),
this could be a problem.
2023-02-06 16:58:10 +11:00
fosslinux
070e9dacc5
Fix binutils 2.14 install
...
Programs shouldn't install to outdated usr/<target> location
2023-02-06 16:58:10 +11:00
fosslinux
f4d39516d1
Fix bad util-linux installation
...
Programs shouldn't install to usr/triplet (this is obsolete)
2023-02-06 16:58:10 +11:00
fosslinux
6bed629a81
Add $triplet-$prog symlinks to binutils
2023-02-06 16:58:10 +11:00
fosslinux
5509e6bb6e
Change binutils to unknown-linux-musl triplet
2023-02-06 16:58:10 +11:00
Andrius Štikonas
3f7cd7ec7b
Merge pull request #235 from nanonyme/stop-at-sysa
...
Support building only sysa with chroot mode
2023-02-02 22:47:04 +00:00
Seppo Yli-Olli
56cab8bb71
Support building only sysa with chroot mode
...
This is intended primarily for external build systems that directly
bind into sysa and sysc rather than using rootfs Python wrapper.
2023-02-02 09:12:49 +02:00
Andrius Štikonas
c67da3eb8e
Merge pull request #237 from doraskayo/add-dev-shm
...
Add /dev/shm for sysc
2023-02-02 00:00:11 +00:00
Dor Askayo
74c852b166
Add /dev/shm for sysc
...
This allows named semaphores to be created. See sem_overview(7).
2023-02-02 01:55:33 +02:00
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