From 84d0d39a97ce13b16dbfbda1b4154f5196715402 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 21 May 2022 19:07:38 +0200 Subject: [PATCH] Do not run "stripping" if STRIP=n during ICA LFS/lfs.xsl does not generate correct commands for stripping if STRIP=n. LFS/master.sh had already been corrected to not run stripping if STRIP=n, but only for the first pass. Do this for all passes. --- LFS/master.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index b30f111..a5d9913 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -53,8 +53,7 @@ chapter_targets() { # # - grub config: must be done manually; skip it # - handle fstab and .config. Skip kernel if .config not supplied case "${this_script}" in - *strippingagain) [[ "${STRIP}" = "n" ]] && continue ;; - *stripping) [[ "${STRIP}" = "n" ]] && continue ;; + *stripping*) [[ "${STRIP}" = "n" ]] && continue ;; *linux-headers*) [[ -n "$N" ]] && continue ;; 8*grub) (( nb_chaps == 5 )) && continue ;; 10*grub) continue ;;