mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
- 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.
70 lines
1.6 KiB
Diff
70 lines
1.6 KiB
Diff
SPDX-FileCopyrightText: 2020 Giovanni Mascellani <gio@debian.org>
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
commit b1127f6821cc9c40c5a9ee406bee7564c549d9a3
|
|
Author: Giovanni Mascellani <gio@debian.org>
|
|
Date: Thu Mar 26 18:02:01 2020 +0100
|
|
|
|
Compile bison.
|
|
|
|
diff --git src/scan-code.l src/scan-code.l
|
|
index 73a3b2d..f348b20 100644
|
|
--- src/scan-code.l
|
|
+++ src/scan-code.l
|
|
@@ -21,6 +21,7 @@
|
|
%option prefix="code_" outfile="lex.yy.c"
|
|
|
|
%{
|
|
+#include "config.h"
|
|
#include <c-ctype.h>
|
|
#include <get-errno.h>
|
|
#include <quote.h>
|
|
@@ -31,6 +32,7 @@
|
|
#include <src/reader.h>
|
|
#include <src/scan-code.h>
|
|
#include <src/symlist.h>
|
|
+#include "system.h"
|
|
|
|
#define FLEX_PREFIX(Id) code_ ## Id
|
|
#include <src/flex-scanner.h>
|
|
diff --git src/scan-gram.l src/scan-gram.l
|
|
index 66a8caa..efa391a 100644
|
|
--- src/scan-gram.l
|
|
+++ src/scan-gram.l
|
|
@@ -21,6 +21,7 @@
|
|
%option prefix="gram_" outfile="lex.yy.c"
|
|
|
|
%{
|
|
+#include "config.h"
|
|
#include <c-ctype.h>
|
|
#include <mbswidth.h>
|
|
#include <quote.h>
|
|
@@ -33,6 +34,7 @@
|
|
#include <src/reader.h>
|
|
#include <src/scan-gram.h>
|
|
#include <src/uniqstr.h>
|
|
+#include "system.h"
|
|
|
|
#define FLEX_PREFIX(Id) gram_ ## Id
|
|
#include <src/flex-scanner.h>
|
|
diff --git src/scan-skel.l src/scan-skel.l
|
|
index 487e9f5..19f4832 100644
|
|
--- src/scan-skel.l
|
|
+++ src/scan-skel.l
|
|
@@ -21,6 +21,7 @@
|
|
%option prefix="skel_" outfile="lex.yy.c"
|
|
|
|
%{
|
|
+#include "config.h"
|
|
#include <dirname.h>
|
|
#include <error.h>
|
|
#include <path-join.h>
|
|
@@ -30,6 +31,7 @@
|
|
#include <src/files.h>
|
|
#include <src/getargs.h>
|
|
#include <src/scan-skel.h>
|
|
+#include "system.h"
|
|
|
|
#define FLEX_PREFIX(Id) skel_ ## Id
|
|
#include <src/flex-scanner.h>
|