|
2 | 2 |
|
3 | 3 | #©keithhedger Wed 14 Jun 19:51:12 BST 2017 kdhedger68713@gmail.com |
4 | 4 |
|
5 | | -LFSVERSION="8.2" |
| 5 | +LFSVERSION="9.0" |
| 6 | +#LFSGITVERSION="$LFSVERSION" |
| 7 | +LFSGITVERSION="dev" |
| 8 | + |
6 | 9 | SYSTEMSOURCE=cdtree/LFS/LFSSourceArchives/$LFSVERSION/SYSTEM |
7 | 10 | NETSOURCE=cdtree/LFS/LFSSourceArchives/$LFSVERSION/NET |
8 | 11 | SYSSOURCE=cdtree/LFS/LFSSourceArchives/$LFSVERSION/SYS |
| 12 | +WGET_VERS=1.20.3 |
9 | 13 |
|
10 | | -WGETTAR="http://ftp.gnu.org/gnu/wget/wget-1.19.4.tar.gz" |
| 14 | +WGETTAR="https://ftp.gnu.org/gnu/wget/wget-$WGET_VERS.tar.gz" |
11 | 15 | UNZIPTAR="http://downloads.sourceforge.net/infozip/unzip60.tar.gz" |
12 | 16 |
|
13 | 17 | #TOOLS32TAR="https://www.dropbox.com/s/00d9g99v1h7yzpn/tools-8.0_32.tar.bz2" |
14 | 18 | #TOOLS64TAR="https://www.dropbox.com/s/m8spbezuuc1e9q2/tools-8.0_64.tar.bz2" |
15 | | -TOOLS32TAR="https://www.dropbox.com/s/a7keub18zn90esl/tools-8.2_32.tar.bz2" |
16 | | -TOOLS64TAR="https://www.dropbox.com/s/wtis8ag8nwz1nzy/tools-8.2_64.tar.bz2" |
| 19 | +#TOOLS32TAR="https://www.dropbox.com/s/a7keub18zn90esl/tools-8.2_32.tar.bz2" |
| 20 | +#TOOLS64TAR="https://www.dropbox.com/s/wtis8ag8nwz1nzy/tools-8.2_64.tar.bz2" |
| 21 | +TOOLS32TAR="https://www.dropbox.com/s/dlmmd5us8bn86zt/tools-9.0_32.tar.bz2" |
| 22 | +TOOLS64TAR="https://www.dropbox.com/s/l2uer2qfy7czh9j/tools-9.0_64.tar.bz2" |
17 | 23 | ROOT32TAR="https://www.dropbox.com/s/ktxt3pwljmki6ns/root_tree32.tar.xz" |
18 | 24 | ROOT64TAR="https://www.dropbox.com/s/wqxswj35gvrqqfv/root_tree64.tar.xz" |
19 | 25 |
|
20 | | -LFSPKGBUILDS="https://github.com/KeithDHedger/LFSPkgBuilds/archive/${LFSVERSION}.zip" |
| 26 | +LFSPKGBUILDS="https://github.com/KeithDHedger/LFSPkgBuilds/archive/${LFSGITVERSION}.zip" |
21 | 27 | LFSPKG="https://github.com/KeithDHedger/LFSPkg/archive/master.zip" |
22 | 28 |
|
23 | 29 | mkdir -vp cdtree/LFS $NETSOURCE $SYSSOURCE $SYSTEMSOURCE||true |
24 | 30 |
|
25 | 31 | if [ ! -e $SYSTEMSOURCE/gotsystemsources ];then |
26 | 32 | wget http://www.linuxfromscratch.org/lfs/view/$LFSVERSION/wget-list |
27 | | - #bzip2 link broken in wget-list |
28 | | - sed -i 's@.*bzip2-1\.0\.6\.tar\.gz*@http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.6.tar.gz@' wget-list |
29 | 33 | wget http://www.linuxfromscratch.org/lfs/view/$LFSVERSION/md5sums |
30 | 34 | mv md5sums $SYSTEMSOURCE |
31 | 35 | wget -i wget-list -c -P $SYSTEMSOURCE |
|
55 | 59 | if [ ! -e cdtree/LFS/gotpkgbuilds ];then |
56 | 60 | pushd cdtree/LFS |
57 | 61 | wget -c "$LFSPKGBUILDS" |
58 | | - unzip ${LFSVERSION}.zip |
59 | | - mv LFSPkgBuilds-${LFSVERSION} LFSPkgBuilds |
60 | | - rm -r LFSPkgBuilds/.gitignore ${LFSVERSION}.zip |
| 62 | + unzip ${LFSGITVERSION}.zip |
| 63 | + mv LFSPkgBuilds-${LFSGITVERSION} LFSPkgBuilds |
| 64 | + rm -r LFSPkgBuilds/.gitignore ${LFSGITVERSION}.zip |
61 | 65 | cp -r ../../LFSScripts/BuildFileSystem LFSPkgBuilds/LFSScripts |
62 | 66 | pushd LFSPkgBuilds/LFSPkgBuildScripts/admin/LFSPkg |
63 | 67 | wget -c $LFSPKG |
|
0 commit comments