mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-12 22:35:23 +01:00
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.
This commit is contained in:
parent
925ce198c1
commit
5c88f1c87f
75 changed files with 624 additions and 176 deletions
31
sysc/coreutils-8.32/patches/remove_gettext.patch
Normal file
31
sysc/coreutils-8.32/patches/remove_gettext.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Remove dependency on gettext, because we don't have it at this stage
|
||||
of the build.
|
||||
|
||||
--- ./configure.ac
|
||||
+++ ./configure.ac
|
||||
@@ -624,8 +624,8 @@ AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
|
||||
|
||||
# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
|
||||
# translatable strings, we must use need-formatstring-macros here.
|
||||
-AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
-AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
+# AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
+# AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
|
||||
# For a test of uniq: it uses the $LOCALE_FR envvar.
|
||||
gt_LOCALE_FR
|
||||
--- ./Makefile.am
|
||||
+++ ./Makefile.am
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
ALL_RECURSIVE_TARGETS =
|
||||
|
||||
-SUBDIRS = po . gnulib-tests
|
||||
+SUBDIRS = . gnulib-tests
|
||||
|
||||
EXTRA_DIST = \
|
||||
.mailmap \
|
||||
Loading…
Add table
Add a link
Reference in a new issue