mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-07 03:45:23 +01:00
Remove the notion of "sys*"
- This idea originates from very early in the project and was, at the
time, a very easy way to categorise things.
- Now, it doesn't really make much sense - it is fairly arbitary, often
occuring when there is a change in kernel, but not from builder-hex0
to fiwix, and sysb is in reality completely unnecessary.
- In short, the sys* stuff is a bit of a mess that makes the project
more difficult to understand.
- This puts everything down into one folder and has a manifest file that
is used to generate the build scripts on the fly rather than using
coded scripts.
- This is created in the "seed" stage.
stage0-posix -- (calls) --> seed -- (generates) --> main steps
Alongside this change there are a variety of other smaller fixups to the
general structure of the live-bootstrap rootfs.
- Creating a rootfs has become much simpler and is defined as code in
go.sh. The new structure, for an about-to-be booted system, is
/
-- /steps (direct copy of steps/)
-- /distfiles (direct copy of distfiles/)
-- all files from seed/*
-- all files from seed/stage0-posix/*
- There is no longer such a thing as /usr/include/musl, this didn't
really make any sense, as musl is the final libc used. Rather, to
separate musl and mes, we have /usr/include/mes, which is much easier
to work with.
- This also makes mes easier to blow away later.
- A few things that weren't properly in packages have been changed;
checksum-transcriber, simple-patch, kexec-fiwix have all been given
fully qualified package names.
- Highly breaking change, scripts now exist in their package directory
but NOT WITH THE packagename.sh. Rather, they use pass1.sh, pass2.sh,
etc. This avoids manual definition of passes.
- Ditto with patches; default directory is patches, but then any patch
series specific to a pass are named patches-passX.
This commit is contained in:
parent
0907cfd073
commit
6ed2e09f3a
546 changed files with 700 additions and 1299 deletions
|
|
@ -1,81 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
We disable the following programs for the following reasons:
|
||||
|
||||
* script: doesn't build with musl.
|
||||
* flock: GCC doesn't like some directive.
|
||||
* fstrim: ??? doesn't build (missing/bad linux header?)
|
||||
* fsfreeze: ditto.
|
||||
* hexdump: musl incompatibility.
|
||||
* column: musl incompatibility.
|
||||
|
||||
diff --color -ru misc-utils/Makefile.am misc-utils/Makefile.am
|
||||
--- misc-utils/Makefile.am 2021-06-13 09:34:49.669370352 +1000
|
||||
+++ misc-utils/Makefile.am 2021-06-13 09:42:06.644523490 +1000
|
||||
@@ -6,8 +6,8 @@
|
||||
sbin_PROGRAMS =
|
||||
usrsbin_exec_PROGRAMS =
|
||||
|
||||
-usrbin_exec_PROGRAMS = cal ddate logger look mcookie \
|
||||
- namei script whereis scriptreplay
|
||||
+usrbin_exec_PROGRAMS = cal ddate look mcookie \
|
||||
+ namei whereis scriptreplay
|
||||
EXTRA_DIST += README.cal README.ddate README.namei README.namei2
|
||||
|
||||
mcookie_SOURCES = mcookie.c $(top_srcdir)/lib/md5.c
|
||||
@@ -50,18 +50,6 @@
|
||||
wipefs_LDADD = $(ul_libblkid_la)
|
||||
wipefs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir)
|
||||
|
||||
-if BUILD_LSBLK
|
||||
-bin_PROGRAMS += lsblk
|
||||
-dist_man_MANS += lsblk.8
|
||||
-lsblk_SOURCES = lsblk.c \
|
||||
- $(top_srcdir)/lib/canonicalize.c \
|
||||
- $(top_srcdir)/lib/ismounted.c \
|
||||
- $(top_srcdir)/lib/tt.c \
|
||||
- $(top_srcdir)/lib/strutils.c
|
||||
-lsblk_LDADD = $(ul_libblkid_la)
|
||||
-lsblk_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir)
|
||||
-endif
|
||||
-
|
||||
if HAVE_STATIC_BLKID
|
||||
sbin_PROGRAMS += blkid.static
|
||||
blkid_static_SOURCES = $(blkid_SOURCES)
|
||||
diff --color -ru sys-utils/Makefile.am sys-utils/Makefile.am
|
||||
--- sys-utils/Makefile.am 2021-06-13 09:34:49.686370532 +1000
|
||||
+++ sys-utils/Makefile.am 2021-06-13 09:42:06.644523490 +1000
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
bin_PROGRAMS =
|
||||
sbin_PROGRAMS =
|
||||
-usrbin_exec_PROGRAMS = flock ipcrm ipcs ipcmk renice setsid
|
||||
+usrbin_exec_PROGRAMS = ipcrm ipcs ipcmk renice setsid
|
||||
usrsbin_exec_PROGRAMS = readprofile
|
||||
|
||||
dist_man_MANS = flock.1 ipcrm.1 ipcs.1 ipcmk.1 renice.1 setsid.1 \
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
if LINUX
|
||||
bin_PROGRAMS += dmesg
|
||||
-sbin_PROGRAMS += ctrlaltdel fsfreeze fstrim
|
||||
-usrbin_exec_PROGRAMS += cytune setarch
|
||||
+sbin_PROGRAMS += ctrlaltdel fsfreeze
|
||||
+usrbin_exec_PROGRAMS += cytune
|
||||
usrsbin_exec_PROGRAMS += ldattach tunelp rtcwake
|
||||
|
||||
dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
|
||||
diff --color -ru text-utils/Makefile.am text-utils/Makefile.am
|
||||
--- text-utils/Makefile.am 2021-06-13 09:34:49.696370638 +1000
|
||||
+++ text-utils/Makefile.am 2021-06-13 09:46:19.230591066 +1000
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
EXTRA_DIST = README.clear README.col
|
||||
|
||||
-usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf
|
||||
+usrbin_exec_PROGRAMS = col colcrt colrm rev line tailf
|
||||
|
||||
hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c parse.c \
|
||||
hexdump.h
|
||||
Loading…
Add table
Add a link
Reference in a new issue