Changeset 71e8c2b
- Timestamp:
- 05/18/2013 12:28:30 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- d89ca8ec
- Parents:
- 01479e6
- Files:
-
- 6 edited
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r01479e6 r71e8c2b 111 111 stylesheets/md5sum.xsl chapter03/chapter03.xml 112 112 $(Q)sed -i -e \ 113 "s/LFS- UNITS-MD5SUM/$(shell md5sum lfs-systemd-units*.tar.bz2 | cut -d' ' -f1)/" \113 "s/LFS-NETSCRIPTS-MD5SUM/$(shell md5sum lfs-network-scripts*.tar.bz2 | cut -d' ' -f1)/" \ 114 114 $(BASEDIR)/md5sums 115 115 -
aux-file-data.sh
r01479e6 r71e8c2b 11 11 12 12 # Bootscript data 13 bootscripts=$(ls lfs- systemd-units*.bz2)13 bootscripts=$(ls lfs-network-scripts*.bz2) 14 14 base=$(basename $bootscripts .tar.bz2) 15 15 bootsize=$(ls -lk $bootscripts | cut -f5 -d" ") … … 25 25 rm -rf $TMP_DIR 26 26 27 sed -i -e s/LFS- UNITS-SIZE/$bootsize/ \28 -e s/LFS- UNITS-INSTALL-KB/$bootinstallsize/ \29 -e s/LFS- UNITS-MD5SUM/$bootmd5/ $FILE27 sed -i -e s/LFS-NETSCRIPTS-SIZE/$bootsize/ \ 28 -e s/LFS-NETSCRIPTS-INSTALL-KB/$bootinstallsize/ \ 29 -e s/LFS-NETSCRIPTS-MD5SUM/$bootmd5/ $FILE 30 30 -
chapter03/packages.xml
r01479e6 r71e8c2b 358 358 359 359 <varlistentry> 360 <term>LFS- Systemd-Units (&lfs-systemd-units-version;) - <token>&lfs-systemd-units-size;</token>:</term>361 <listitem> 362 <para>Home page: <ulink url="&lfs- systemd-units-home;"/></para>363 <para>Download: <ulink url="&lfs- systemd-units-url;"/></para>364 <para>MD5 sum: <literal>&lfs- systemd-units-md5;</literal></para>360 <term>LFS-Network-Scripts (&lfs-network-scripts-version;) - <token>&lfs-network-scripts-size;</token>:</term> 361 <listitem> 362 <para>Home page: <ulink url="&lfs-network-scripts-home;"/></para> 363 <para>Download: <ulink url="&lfs-network-scripts-url;"/></para> 364 <para>MD5 sum: <literal>&lfs-network-scripts-md5;</literal></para> 365 365 </listitem> 366 366 </varlistentry> -
make-aux-files.sh
r01479e6 r71e8c2b 1 1 #!/bin/bash 2 2 3 rm -f lfs- systemd-units*.tar.bz23 rm -f lfs-network-scripts*.tar.bz2 4 4 5 5 # Get base file name and move bootscripts directory to that name 6 version=`grep "ENTITY lfs- systemd-units-version" packages.ent |cut -d'"' -f2`7 mv systemd-units lfs-systemd-units-$version6 version=`grep "ENTITY lfs-network-scripts-version" packages.ent |cut -d'"' -f2` 7 mv network-scripts lfs-network-scripts-$version 8 8 9 9 # Create the tarball and clean up 10 tar -cjf lfs- systemd-units-$version.tar.bz2 --exclude .svn lfs-systemd-units-$version11 mv lfs- systemd-units-$version systemd-units10 tar -cjf lfs-network-scripts-$version.tar.bz2 --exclude .svn lfs-network-scripts-$version 11 mv lfs-network-scripts-$version network-scripts -
packages.ent
r01479e6 r71e8c2b 351 351 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 352 352 353 <!ENTITY lfs- systemd-units-version "20130518"> <!-- Scripts depend on this format -->354 <!ENTITY lfs- systemd-units-size "LFS-UNITS-SIZE KB"> <!-- Updated in Makefile -->355 <!ENTITY lfs- systemd-units-url "&downloads-root;lfs-systemd-units-&lfs-systemd-units-version;.tar.bz2">356 <!ENTITY lfs- systemd-units-md5 "LFS-UNITS-MD5SUM"> <!-- Updated in Makefile -->357 <!ENTITY lfs- systemd-units-home " ">358 <!ENTITY lfs- systemd-units-ch7-du "LFS-UNITS-INSTALL-KB KB"> <!-- Updated in Makefile -->359 <!ENTITY lfs- systemd-units-ch7-sbu "less than 0.1 SBU">353 <!ENTITY lfs-network-scripts-version "20130518"> <!-- Scripts depend on this format --> 354 <!ENTITY lfs-network-scripts-size "LFS-NETSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 355 <!ENTITY lfs-network-scripts-url "&downloads-root;lfs-network-scripts-&lfs-network-scripts-version;.tar.bz2"> 356 <!ENTITY lfs-network-scripts-md5 "LFS-NETSCRIPTS-MD5SUM"> <!-- Updated in Makefile --> 357 <!ENTITY lfs-network-scripts-home " "> 358 <!ENTITY lfs-network-scripts-ch7-du "LFS-NETSCRIPTS-INSTALL-KB KB"> <!-- Updated in Makefile --> 359 <!ENTITY lfs-network-scripts-ch7-sbu "less than 0.1 SBU"> 360 360 361 361 <!ENTITY libcap-version "2.22"> -
process-scripts.sh
r01479e6 r71e8c2b 2 2 3 3 # Boot scripts 4 for s in systemd-units/lfs/lib/services/* \5 systemd-units/lfs/sbin/* \6 systemd-units/lfs/tmpfiles/* \7 systemd-units/lfs/units/*4 for s in network-scripts/lfs/lib/services/* \ 5 network-scripts/lfs/sbin/* \ 6 network-scripts/lfs/tmpfiles/* \ 7 network-scripts/lfs/units/* 8 8 do 9 9 script=$(basename $s)
Note:
See TracChangeset
for help on using the changeset viewer.