]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
strip: Exclude /lib/firmware/qcom/sc8280xp/LENOVO/21BX for stage 2
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 17 Sep 2022 09:15:57 +0000 (09:15 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 17 Sep 2022 09:15:57 +0000 (09:15 +0000)
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>
lfs/strip

index c369ac3f18d1e5f391f400343daa3f014b9ce0ab..404db07273c1be118df95b5b3e39d96ab93be1cf 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -59,10 +59,11 @@ else
        $(DIR_SRC)/src/stripper / \
                --exclude=$(TOOLS_DIR) \
                --exclude=$(QEMU_TARGET_HELPER) \
+               --exclude=/lib/firmware/qcom/sc8280xp/LENOVO/21BX \
                --exclude=/tmp \
-               --exclude=/usr/src \
+               --exclude=/usr/lib/go \
                --exclude=/usr/lib/vdr \
                --exclude=/usr/sbin/vdr \
-               --exclude=/var/tmp \
-               --exclude=/usr/lib/go
+               --exclude=/usr/src \
+               --exclude=/var/tmp
 endif