Changeset a73ed74


Ignore:
Timestamp:
03/31/2020 08:47:52 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
0835a10
Parents:
a2b5689
Message:

Fix the SHELL for CHROOT target for LFS

We use the filter builtin function of make to retrieve the right
shell to use during the CHROOT phase, which is the same as the
one in CHROOT1.
Also do not assume envars exist when removing it at the beginning
of the SUDO phase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    ra2b5689 ra73ed74  
    533533
    534534mk_SUDO: mk_LUSER
    535         @sudo rm envars
     535        @sudo rm -f envars
    536536        @sudo make BREAKPOINT=\$(BREAKPOINT) SUDO
    537537        @touch \$@
     
    604604(
    605605    cat << EOF
    606 CHROOT:       SHELL=/tools/bin/bash
     606CHROOT:       SHELL=\$(filter %bash,\$(CHROOT1))
    607607CHROOT:       $chapter6
    608608BOOT:         $chapter78
Note: See TracChangeset for help on using the changeset viewer.