Changeset 3b27f93


Ignore:
Timestamp:
09/08/2023 03:01:52 PM (10 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
aceacf2
Parents:
06b7314
git-author:
Pierre Labastie <pierre.labastie@…> (09/08/2023 02:50:05 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (09/08/2023 03:01:52 PM)
Message:

Apply a timeout to kernel config in LFS

If the kernel-config file is not up to date (missing options or
whatever), the kernel "make" will hang, waiting for input. So
run "make oldconfig" explicitly, with a timeout.

Fixes: #1736

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r06b7314 r3b27f93  
    416416        <xsl:if test="ancestor::sect1[@id='ch-bootable-kernel']">
    417417          <xsl:text>cp -v ../kernel-config .config&#xA;</xsl:text>
     418          <xsl:text>timeout 60 make oldconfig ||\&#xA;</xsl:text>
     419          <xsl:text>{ echo kernel config is not up to date; exit 124; }&#xA;</xsl:text>
    418420        </xsl:if>
    419421      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.