Michael Tremer
5cee82ee5c
Config: Fix the path for the stripper
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:21 +00:00
Michael Tremer
9dcb759f19
flash-images: Fix argument order for copying files
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:21 +00:00
Michael Tremer
a44e11e8bb
make.sh: Only catch the error code that triggered the timer
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
75d3cb0626
Config: Build packages with the new macros
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
79f9af395c
core-updates: Don't line-break make macros
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
bde9073d0c
Config: Show the transformed paths when creating tarballs
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
a8892acefe
Config: Make the ARCHIVE_* variables generally available
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
b368b19020
make.sh: Ignore directories as packages
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
59e07d4ba8
make.sh: Store the PID in a variable to avoid $! being overwritten
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
3e41d45e7b
Config: Remove ./ from filenames in archives
...
I am not sure if this would actually create any problems, but it looks
ugly and is inconsistent with the older code.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
18a4a1f27b
Config: Don't quote arguments in Makefiles
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
c166e83f1d
Config: Reorganise the arguments for COPY_FILES
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
e410a35a84
intel-microcode: Hardlink all files to save space
...
This will save about 3 MiB.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
708f26352a
core-updates: Refactor how we package the archive
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
7908cca79b
core-updates: Remove importing the meta file
...
We don't use these any more and even if we did, we cannot import any
variables into a make script just like that.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
162bb72ad9
flash-images: Fix typo
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
63faf35972
make.sh: Fix checksum generation of the toolchain once again
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
b1cf1d9cfb
make.sh: Join compression arguments as a string
...
Otherwise, the array gets split and tar cannot identify which option
belongs to where.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
dbfa2c38b3
gcc: Build libstdc++ in parallel
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
7d1e1a5b91
gcc: Fix limits.h in first toolchain pass
...
This is necessary so that the compiler is using the correct glibc
headers.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
a8e1086954
make.sh: Use the print_line function for correct padding
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
2c33bdf0e5
make.sh: Don't be verbose when creating the packages dir
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
56312598b3
make.sh: Erase the line when resizing the screen
...
This should leave less clutter, but there is still some.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
9bdc9a5b80
make.sh: Remove the PWD variable
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
0de9b40351
make.sh: Refactor the terminal output
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
1ab2481875
make.sh: Enable the timer for the toolchain, too
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
c6043558fb
Config: Unexport lots of environment variables
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
a3bd0672b3
make.sh: Always create /root in the chroot environment
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
75493bbcb3
make.sh: Fix mounting the QEMU helper binary
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
1090b297aa
make.sh: Set PATH before entering the chroot environment
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
54d59f56c2
make.sh: Fix toolchain checksum validation
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
c08841bb49
make.sh: Export BUILD_DIR and LOG_DIR
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
829f2b465e
make.sh: Create the /tools symlink to the right place
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
a28226714b
make.sh: Pass extra options in lfsmake1
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
a59e8abb1e
cdrom: Fix typo
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
ebfcf83d96
.gitignore: Ignore images_* directories
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
61cb600a13
flash-images: Create the base image as a sparse file
...
This will be much faster as it creates less IO.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
64192acb7f
make.sh: Use less aggressive compression for Zstandard
...
Otherwise this takes way too long.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
4830e79f3c
make.sh: Rewrite how we are looking for rootfiles
...
No function changes, just performance.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
3e9cb47e0e
flash-images: Don't mess with depmod
...
This file could not be created anyways as the directory did not exist.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
20280ed337
images: Ensure that all mount points are created
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
d4ad987a5d
make.sh: Drop stripping
...
This will massively improve the build process because we will only strip
the files that we need. The build system will remain as is.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
8f1c5b617d
make.sh: Correctly pass ZSTD_OPT
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
cd89b58820
make.sh: Use --long for Zstandard compression
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
de44376208
flash-images: Collect files again instead of relying on the tarball
...
This has always been an ugly hack.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
1a9127ca54
flash-images: There is no need to for the mount check any more
...
We always start with a fresh mount namespace, so there cannot be
anything left.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
f8aa7ceda3
Config: Create common functions to create archives
...
The compression code is very messy because it has changed so many times.
This cleans this up and creates common functions that can be used for
the ISO images as well as packages.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
abfebe255c
cdrom: Fix syntax error
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
319619f3b6
archive.files: Make this slightly more efficient
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00
Michael Tremer
15b38c6387
Config: Remove debugging code
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2024-07-22 15:21:20 +00:00