r2099 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Oct 9 10:53:55 PDT 2005


Author: manuel
Date: 2005-10-09 11:53:54 -0600 (Sun, 09 Oct 2005)
New Revision: 2099

Modified:
   jhalfs/trunk/dump-lfs-scripts.xsl
   jhalfs/trunk/jhalfs
Log:
The kernel config file must be put in place after "make mrproper" to work.

Modified: jhalfs/trunk/dump-lfs-scripts.xsl
===================================================================
--- jhalfs/trunk/dump-lfs-scripts.xsl	2005-10-09 10:20:10 UTC (rev 2098)
+++ jhalfs/trunk/dump-lfs-scripts.xsl	2005-10-09 17:53:54 UTC (rev 2099)
@@ -92,6 +92,10 @@
 
   <xsl:template match="userinput" mode="screen">
     <xsl:choose>
+      <xsl:when test="string() = 'make mrproper'">
+        <xsl:text>make mrproper &&&#xA;</xsl:text>
+        <xsl:text>cp -v ../kernel-config .config &&&#xA;</xsl:text>
+      </xsl:when>
       <xsl:when test="contains(string(),'tar.gz')">
         <xsl:value-of select="substring-before(string(),'tar.gz')"/>
         <xsl:text>tar.bz2</xsl:text>

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-09 10:20:10 UTC (rev 2098)
+++ jhalfs/trunk/jhalfs	2005-10-09 17:53:54 UTC (rev 2099)
@@ -704,7 +704,7 @@
     if [ "$i" = "132-kernel" ] ; then
 (
     cat << EOF
-	@source envars && cp $CONFIG \$(LFS)\$(PKGDIR)/.config
+	@cp $CONFIG \$(LFS)/sources/kernel-config
 EOF
 ) >> $MKFILE.tmp
     fi




More information about the alfs-log mailing list