Commit Graph

5 Commits

Author SHA1 Message Date
fosslinux 5c88f1c87f Add sysb and sysc scaffolding.
Now that we have the Linux Kernel built, we move to a full-disk (rather
than initramfs) setup in sysc. However, we cannot assume the seed kernel
has support for mounting hard drives. So, first we need to kexec into
sysb, which is used as a jumping off point to create the hard drive for
sysc.

Additionally, since 2.6.16 does not have support for on-demand initramfs
(initramfs must be built into kernel), we will have to rebuild the linux
kernel within sysb without the initramfs.

All of this process is not performed for chroot mode. Instead, we skip
sysb and jump straight to sysc, copying over appropriate data.

The python scripts have been changed slightly. Each sys* inherits
SysGeneral, which contains various functions which are not specific to
any sys* and simplifies those files. rootfs now also handles sysb and
sysc.

bootstrap.cfg also gives an indication whether we are running in a
chroot to avoid attempting to kexec/mount within a chroot.
2021-08-27 14:54:08 +10:00
fosslinux d6780c9947 Recheck all of the fletcher16 using sha-2
Ensure validity at a higher bit depth
2021-02-20 10:52:54 +11:00
fosslinux 372e08e4f9 Implement fletcher16 checksumming up to path
Uses fletcher16 from previous commits.
Next we will use sha-2 to do checksumming.
2021-02-20 10:52:54 +11:00
Andrius Štikonas 1a93f19e9c Add bison 3.4.1. 2021-02-10 22:47:20 +00:00
fosslinux 72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00