Changeset ca22630


Ignore:
Timestamp:
06/21/2022 07:22:27 AM (22 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
0c0b882
Parents:
c7b29be
git-author:
Xi Ruoyao <xry111@…> (06/21/2022 07:17:03 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/21/2022 07:22:27 AM)
Message:

provide revision-specific wget-list-$(REV) file

It's irrational to force a sysv builder to download systemd, or vice
versa. But we cannot simply make wget-list specific for revision: IIRC
the wget-list file with all packages in either revision is used by some
scripts on rivendell. So we keep wget-list as is, and provide a new
wget-list-$(REV) file which only contains the packages for one revision.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc7b29be rca22630  
    152152                     $(RENDERTMP)/lfs-full.xml
    153153
    154 wget-list: $(BASEDIR)/wget-list
     154wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
    155155$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
    156156                      packages.ent patches.ent general.ent
    157157        @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
    158158        $(Q)mkdir -p $(BASEDIR)
    159 
    160 #       $(Q)xsltproc --nonet --xinclude                    \
    161 #                --stringparam profile.revision $(REV) \
    162 #                --output $(RENDERTMP)/sysd-wget.xml   \
    163 #                stylesheets/lfs-xsl/profile.xsl       \
    164 #                chapter03/chapter03.xml
    165 
    166159        $(Q)xsltproc --xinclude --nonet            \
    167160                --output $(BASEDIR)/wget-list \
    168161                     stylesheets/wget-list.xsl     \
    169162                chapter03/chapter03.xml
     163
     164$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
     165                             chapter03/chapter03.xml \
     166                             packages.ent patches.ent general.ent
     167        $(Q)xsltproc --nonet --xinclude                   \
     168                --stringparam profile.revision $(REV) \
     169                --output $(RENDERTMP)/wget-list.xml   \
     170                stylesheets/lfs-xsl/profile.xsl       \
     171                chapter03/chapter03.xml
     172        $(Q)xsltproc --xinclude --nonet                  \
     173                --output $(BASEDIR)/wget-list-$(REV) \
     174                stylesheets/wget-list.xsl            \
     175                $(RENDERTMP)/wget-list.xml
    170176
    171177md5sums: $(BASEDIR)/md5sums
     
    175181        $(Q)mkdir -p $(BASEDIR)
    176182
    177         $(Q)xsltproc --nonet --xinclude                    \
     183        $(Q)xsltproc --nonet --xinclude                   \
    178184                --stringparam profile.revision $(REV) \
    179                 --output $(RENDERTMP)/sysv-md5sum.xml \
     185                --output $(RENDERTMP)/md5sum.xml      \
    180186                stylesheets/lfs-xsl/profile.xsl       \
    181187                chapter03/chapter03.xml
    182188
    183         $(Q)xsltproc --xinclude --nonet          \
     189        $(Q)xsltproc --xinclude --nonet         \
    184190                --output $(BASEDIR)/md5sums \
    185191                stylesheets/md5sum.xsl      \
    186                 $(RENDERTMP)/sysv-md5sum.xml
     192                $(RENDERTMP)/md5sum.xml
    187193        $(Q)sed -i -e \
    188194       "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
  • chapter03/introduction.xml

    rc7b29be rca22630  
    8080
    8181  <para>To download all of the packages and patches by using
    82   <ulink url="../wget-list">wget-list</ulink> as an input to the
    83   <command>wget</command> command, use:</para>
     82  <ulink url="../&wget-list;">&wget-list;</ulink>
     83  as an input to the <command>wget</command> command, use:</para>
    8484
    85 <screen role="nodump"><userinput>wget --input-file=wget-list --continue --directory-prefix=$LFS/sources</userinput></screen>
    86 
     85<screen role="nodump"><userinput>wget --input-file=&wget-list; --continue --directory-prefix=$LFS/sources</userinput></screen>
     86<!--
    8787  <note><para>
    8888    The <filename>wget-list</filename> file mentioned above retrieves all
     
    9292    current book.
    9393  </para></note>
    94 
     94-->
    9595  <para>Additionally, starting with LFS-7.0, there is a separate file,
    9696  <ulink url="../md5sums">md5sums</ulink>, which can be used to verify that all
  • general.ent

    rc7b29be rca22630  
    7373]]>
    7474
     75<![ %sysv; [
     76<!ENTITY wget-list       "wget-list-sysv">
     77]]>
     78<![ %systemd; [
     79<!ENTITY wget-list       "wget-list-systemd">
     80]]>
     81
    7582<!ENTITY lfs-root        "https://www.linuxfromscratch.org/">
    7683<!ENTITY blfs-root       "&lfs-root;blfs/">
Note: See TracChangeset for help on using the changeset viewer.