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.
This commit is contained in:
Pierre Labastie 2022-05-21 19:07:38 +02:00
parent 93814d176b
commit 84d0d39a97

View file

@ -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 ;;