Andrius Štikonas
5209078684
Switch to unversioned autoconf.
...
Remove unversioned autoconf symlink from all but the latest autoconf.
This makes it clearer which autoconf is used.
2022-07-07 20:43:46 +01:00
fosslinux
bc5fc8375d
Merge pull request #185 from stikonas/tac
...
Add tac to coreutils-5.0. Use replace to build mescc.scm
2022-06-27 17:43:21 +10:00
Andrius Štikonas
511a0f71c5
Use replace to build mescc.scm.
2022-06-26 16:39:04 +01:00
Andrius Štikonas
a0cb0dfd60
Add tac to coreutils-5.0.
2022-06-22 18:47:42 +01:00
Andrius Štikonas
483bf555aa
Fix outdated info in the comment.
2022-06-19 23:57:32 +01:00
Andrius Štikonas
0717485993
Merge pull request #178 from fosslinux/network
...
Network
2022-06-18 10:51:26 +01:00
fosslinux
5ad055d2d3
Fix bubblewrap mode
2022-06-18 09:10:11 +10:00
fosslinux
25f37ba926
Various fixes from rebase
...
This took a while so a bunch of stuff got broken in rebase.
2022-06-18 09:10:11 +10:00
fosslinux
56a164e108
Merge pull request #183 from stikonas/false
...
Rebuild false.c in coreutils 5.
2022-06-18 08:58:02 +10:00
Andrius Štikonas
ff67cd6508
Remove dircolors.h from coreutils 5.
...
It's not used but we can delete it anyway.
Fixes #176
2022-06-15 21:04:55 +01:00
Andrius Štikonas
119c96b9da
Rebuild false.c in coreutils 5.
...
This was spotted in #176 .
Note that coreutils 8.32 does not need to rebuild false.c as it
implements it via compile-time #defines.
2022-06-14 23:13:05 +01:00
Andrius Štikonas
b2027df490
Update stage0-posix.
2022-06-12 23:13:01 +01:00
Andrius Štikonas
9b5c6ca3a1
Do not install pre-generated manpages.
...
Also remove redundant autotools stages.
Early manpages in autoconf 2.52-2.59 are removed from output.
Later ones are regenerated with help2man.
Fixes #182
2022-06-12 17:39:23 +01:00
Andrius Štikonas
4a1730da29
Update README.
2022-06-11 12:11:46 +01:00
fosslinux
b614b3021d
Add dhcpcd 9.4.1
2022-06-10 13:33:16 +10:00
fosslinux
0ce50a6393
Add options for;
...
- disk to be created (blank disk given to live-bootstrap) (default)
- disk to already exist but sources downloaded within live-bootstrap
- sources to be downloaded outside live-bootstrap (non-blank disk given
to live-bootstrap)
Also migrate sysb to use sys_transfer in QEMU mode also.
Note that this means copy_sysc is now irrelevant. sysc is *always*
sourced from sysa.
2022-06-10 13:33:16 +10:00
fosslinux
6ea1b8e295
Add e2fsprogs 1.45.7
...
Additionally, fix downloading in chunks for some files.
2022-06-10 13:30:58 +10:00
fosslinux
8008de8e73
Add file downloading logic
...
Add urls to sysc, and modify some tarballs to http (non s) before ssl
2022-06-10 13:30:58 +10:00
fosslinux
39541e30f5
Add ca-certificates-3.78
...
Contains all required certificates for curl/openssl.
2022-06-10 13:30:58 +10:00
fosslinux
01129d20c2
Add curl-7.83.0 sysc rebuild
...
Adds ssl support.
2022-06-10 13:30:58 +10:00
fosslinux
060f44e5a5
Add curl 7.83.0
2022-06-10 13:30:58 +10:00
fosslinux
97fbeb389b
Merge pull request #181 from stikonas/automake
...
Fix reproducibility of automake
2022-06-10 13:30:40 +10:00
Andrius Štikonas
a23f9d76b0
Fix reproducibility of automake manpages.
...
Fixes #180
2022-06-08 23:54:23 +01:00
Andrius Štikonas
3d202c5bce
Fix --update-checksums mode after /usr/bin/factor was removed.
2022-06-08 21:51:16 +01:00
Andrius Štikonas
45924ae12a
Remove factor binary (issue #176 )
...
Only coreutils 5 is affected. We don't build factor in coreutils 6
and coreutils 8.32 does not use pregenerated headers in its implementation
of factor.
2022-06-06 21:42:24 +02:00
Andrius Štikonas
4923a79a70
Actually apply patch removing date from generated manpages.
...
Fixes #180
2022-06-06 00:19:45 +02:00
Andrius Štikonas
28986a4a74
Fix remaining repo_path merge issues.
2022-06-05 20:59:35 +01:00
Andrius Štikonas
79c532cd2c
Update hash of automake-1.11.2
...
Turns out we still hardcode current date in the manpage.
This needs fixing but in the meantime update the hash.
2022-06-05 19:57:27 +01:00
fosslinux
0b645dfc7e
Merge pull request #179 from stikonas/mes_ppsyntax
...
Remove pregenerated files (ppsyntax) in mes.
2022-06-04 08:25:38 +10:00
Andrius Štikonas
625c844779
Fix pylint.
2022-06-03 21:43:49 +01:00
Andrius Štikonas
ae811bde5d
Remove pregenerated files (ppsyntax) in mes.
...
They appear to be unused.
Fixes #164
2022-06-03 21:05:24 +01:00
Andrius Štikonas
407b02d6b4
Update stage0-posix to latest snapshot.
2022-06-02 22:44:02 +01:00
Andrius Štikonas
86bb6b1d6f
Update instructions for Pythonless bootstrap.
2022-06-02 21:04:25 +01:00
Andrius Štikonas
1a4e83e2fb
Fix another mismerge that broke rootless bootstrap.
2022-06-02 20:51:15 +01:00
Andrius Štikonas
b0f0fa3a95
Fix return from bin_preseed.
2022-06-02 20:25:23 +01:00
fosslinux
3c6e8b1b99
Merge pull request #174 from stikonas/preseed
...
Allow preseeding with binary packages.
2022-05-30 21:42:18 +10:00
Andrius Štikonas
d84bb236a4
Add an argument to rootfs.py to preseed bootstrap with binary packages.
2022-05-29 00:04:57 +01:00
Andrius Štikonas
0b3782d61b
Allow preseeding with binary packages.
2022-05-29 00:04:57 +01:00
Andrius Štikonas
9bc2ca1726
Merge pull request #175 from doraskayo/bwrap-bootstrap
...
Add a rootless bootstrap mode using bubblewrap
2022-05-27 14:09:49 +01:00
Dor Askayo
1e67477ff2
Add a rootless bootstrap mode using bubblewrap
...
Set up a bubblewrap sandbox suitable for bootstrap. Since bubblewrap
can operate without root permissions when user namespaces are
allowed, this effectively adds a rootless bootstrap mode.
2022-05-27 11:46:14 +03:00
Dor Askayo
8330ab4504
Add an option to avoid creating a tmpfs in prepare()
...
Root access is required for creating tmpfs mounts in the context of
the current mount namespace, and creating a tmpfs in the context of a
new mount namespace is less useful because a process in the parent
namespace can't easily access it.
So add an option to avoid creating tmpfs mounts, which will be used by
the rootless bootstrap mode for now.
In addition, when tmp directories aren't mounted as tmpfs, their
contents can't be removed using os.umount(). So instead remove them
recursively using shutil.rmtree().
2022-05-27 11:45:09 +03:00
Dor Askayo
6d357226a9
Call prepare() externally to the sysa and sysc classes
...
This keeps the prepartion and bootstrap initiation logic in the same
place for each bootstrap mode, and allows each mode to specify its
own requirements and expectations from the different bootstrap steps.
2022-05-23 17:45:53 +03:00
Dor Askayo
a7c7ddf977
Split "chroot" into "copy_sysc" and "create_initramfs" in sysa's prepare()
...
These better describe the actions, and will make more sense with the
addition of the rootless bootstrap mode which would make use of these
preparation steps.
2022-05-23 17:45:53 +03:00
Dor Askayo
7075c901a9
Move sysa's initramfs creation into prepare()
2022-05-23 17:45:53 +03:00
Dor Askayo
fa2a09b63f
Rename "chroot" to "create_disk_image" in sysc's prepare()
...
This better describes the action, and will make more sense with the
addition of the rootless bootstrap mode that doesn't require a disk
image either.
2022-05-23 17:45:53 +03:00
Dor Askayo
c429cf9dd7
Keep chroot indication only in prepare()
...
It's not actually needed by other methods.
2022-05-23 17:45:53 +03:00
Dor Askayo
7040b550a9
Make rootfs_dir local to prepare()
...
It's not needed by other methods.
2022-05-23 17:45:53 +03:00
Dor Askayo
537cdb6540
Detach loopback device only if it was attached
...
Also change the print to better describe the action taken.
2022-05-23 17:45:53 +03:00
Dor Askayo
8c605f213a
Ensure umount isn't called when self.mounted_tmpfs=False
...
This is accomplished by calling SysGeneral's __del__() method,
in which self.mounted_tmpfs is already checked.
2022-05-23 17:45:53 +03:00
Andrius Štikonas
b2814c9a97
Merge pull request #170 from stikonas/checksums
...
Checksum source tarballs during bootstrap.
2022-05-21 23:50:58 +01:00