Commit Graph

24 Commits

Author SHA1 Message Date
Peter Müller
bc38ca3b00 strip: Exclude /lib/firmware/qcom/sc8280xp/LENOVO/21BX for stage 2
For some reason, stripper crashes processing this directory:

strip: error: the input file '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' has no sections

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-17 09:15:57 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Michael Tremer
1432531ac8 strip: Do not try to strip QEMU
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-22 19:41:39 +00:00
Michael Tremer
d79715dbf9 strip: Make this work when cross-compiling
The host might not have the correct tools to strip a foreign
architecture, therefore we need to use the cross tools.

The crosstools might be built in an architecture that they
cannot strip themselves and since they are not being part of the
packaged toolchain, we will just skip them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-22 19:41:39 +00:00
Michael Tremer
19054331c5 make.sh: Refactor stripper
This should *actually* exclude everything we want to exclude and
*actually* strip everything to the maximum.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-05 12:12:22 +00:00
Michael Tremer
a9fd8519c2 toolchain: Do not attempt to strip anything in /dev, /proc, /sys and /tmp
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-20 15:33:40 +00:00
Michael Tremer
3a56d70ce7 strip: Do not try to strip Go binaries
There is loads of stuff for PowerPC and other architectures
in the directory which we cannot strip. Therefore we ignore
the whole directory.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-20 15:25:02 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Arne Fitzenreiter
ce9264a1c1 strip: use toolchain binary inside of chroot to strip
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-10 07:59:43 +01:00
Michael Tremer
7b93b62bc8 strip: Explicitely call right binaries
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-01 16:31:25 +00:00
Michael Tremer
6c4cc7ea1b Move toolchain from /tools to /tools_${arch}
This will allow us to run multiple builds on the same
system at the same time (or at least have them on disk).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:28 +00:00
Michael Tremer
4960c91232 Run strip with tools from the host system
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-07 10:58:02 +01:00
Michael Tremer
1580ba1175 strip: Don't strip VDR binaries. 2013-04-12 13:53:33 +02:00
Michael Tremer
bc259fdcc1 Fix stripping. 2012-08-21 14:40:48 +02:00
Michael Tremer
fc44fa1f06 Make stripping more efficient.
Finds all ELF objects and doesn't strip them twice.
2012-08-12 16:47:36 -04:00
Michael Tremer
b7d60471a2 Remove tons of old uClibc/installer system related stuff. 2012-08-11 18:13:23 -04:00
Michael Tremer
79b5ee0179 toolchain: strip is no longer called. 2012-08-11 17:57:23 -04:00
Arne Fitzenreiter
ab27cd04e6 Fix gcc version in lfs/strip 2009-05-24 14:53:36 +02:00
ms
07d7709312 Postfix- und WebCyradm-Paket geschnuert.
Einige Initscripts hinzugefuegt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@864 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-31 10:25:13 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
069680acc1 Netzwerkscript beinahe vollendet.
Setup bearbeitet. (Geht schon ganz gut.)
Sonstiges wie immer...


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@366 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-12-21 18:38:37 +00:00
ms
65998e0a05 Kernel angepasst.
Bootprozess bearbeitet.
Console vorlaeufig auf Deutsch eingestellt bis das Setup geht.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@358 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-12-08 12:41:21 +00:00
ms
22b9e40595 Installer lauft durch und IDE Systeme booten :D
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@350 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-11-26 21:34:31 +00:00
ms
edd536b612 Installer
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@349 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-11-26 12:52:27 +00:00