* use https. do not set lfs password. no remote download

* use raw intstead of blob for python script downloads
This commit is contained in:
Andrew Phelps 2023-03-06 14:07:22 -08:00 коммит произвёл GitHub
Родитель 3f5258a82b
Коммит 64b64d89fe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 17 добавлений и 16 удалений

Просмотреть файл

@ -56,13 +56,14 @@ COPY [ "./toolchain-sha256sums", \
# the naming convention of the source cache (convention used to prevent naming collisions).
WORKDIR $LFS/sources
RUN wget -nv --no-clobber --timeout=30 --continue --input-file=$LFS/tools/toolchain-local-wget-list --directory-prefix=$LFS/sources; exit 0
RUN wget -nv --no-clobber --timeout=30 --continue --input-file=$LFS/tools/toolchain-remote-wget-list --directory-prefix=$LFS/sources; exit 0
# Disable downloading from remote sources by default. The 'toolchain-local-wget-list' generated for the above line will download from $(SOURCE_URL)
# The 'toolchain-remote-wget-list' is still available and can be used as an alternate to $(SOURCE_URL) if desired.
#RUN wget -nv --no-clobber --timeout=30 --continue --input-file=$LFS/tools/toolchain-remote-wget-list --directory-prefix=$LFS/sources; exit 0
RUN wget -nv --no-clobber --timeout=30 --continue https://github.com/microsoft/CBL-Mariner-Linux-Kernel/archive/rolling-lts/mariner-2/5.15.48.1.tar.gz -O kernel-5.15.48.1.tar.gz --directory-prefix=$LFS/sources; exit 0
USER root
RUN sha256sum -c $LFS/tools/toolchain-sha256sums && \
groupadd lfs && \
useradd -s /bin/bash -g lfs -m -k /dev/null lfs && \
echo "lfs:lfscblmariner" | chpasswd && \
usermod -a -G sudo lfs && \
chown -v lfs $LFS/tools && \
chown -v lfs $LFS/sources && \

Просмотреть файл

@ -1,31 +1,31 @@
https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz
http://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz
https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz
https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz
https://sourceware.org/ftp/debugedit/5.0/debugedit-5.0.tar.xz
http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz
https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz
https://sourceware.org/ftp/elfutils/0.186/elfutils-0.186.tar.bz2
https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz
https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
https://ftp.gnu.org/gnu/gdbm/gdbm-1.21.tar.gz
http://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
http://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
https://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz
http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz
https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
https://www.kernel.org/pub/linux/docs/man-pages/Archive/man-pages-5.02.tar.xz
https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
http://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz
https://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz
https://invisible-mirror.net/archives/ncurses/ncurses-6.2.tar.gz
http://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz
https://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz
https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz
https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
https://tukaani.org/xz/xz-5.2.5.tar.xz
https://www.zlib.net/zlib-1.2.12.tar.xz
https://src.fedoraproject.org/repo/pkgs/zlib/zlib-1.2.12.tar.xz/sha512/12940e81e988f7661da52fa20bdc333314ae86a621fdb748804a20840b065a1d6d984430f2d41f3a057de0effc6ff9bcf42f9ee9510b88219085f59cbbd082bd/zlib-1.2.12.tar.xz
https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.bz2
https://github.com/libarchive/libarchive/releases/download/v3.6.1/libarchive-3.6.1.tar.gz
http://www.lua.org/ftp/lua-5.4.3.tar.gz
https://www.lua.org/ftp/lua-5.4.3.tar.gz
http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz
https://github.com/rpm-software-management/rpm/archive/rpm-4.17.0-release.tar.gz
https://git.centos.org/rpms/python-rpm-generators/raw/c8s/f/SOURCES/python.attr
@ -37,23 +37,23 @@ https://ftp.gnu.org/gnu/glibc/glibc-2.35.tar.xz
https://www.linuxfromscratch.org/patches/downloads/glibc/glibc-2.35-fhs-1.patch
https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz
http://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz
https://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz
https://www.cpan.org/src/5.0/perl-5.32.0.tar.xz
https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz
https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
https://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz
http://www.linuxfromscratch.org/patches/downloads/coreutils/coreutils-8.32-i18n-1.patch
https://www.linuxfromscratch.org/patches/downloads/coreutils/coreutils-8.32-i18n-1.patch
https://ftp.gnu.org/gnu/diffutils/diffutils-3.8.tar.xz
https://github.com/libexpat/libexpat/releases/download/R_2_4_8/expat-2.4.8.tar.bz2
http://ftp.astron.com/pub/file/file-5.40.tar.gz
https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz
http://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz
https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz
https://ftp.gnu.org/gnu/grep/grep-3.7.tar.xz
http://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz
https://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz
https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.60.tar.xz
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.0.tar.gz
https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.0.tar.gz
https://download.savannah.gnu.org/releases/man-db/man-db-2.10.1.tar.xz
https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-0.028.tar.gz
https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-1.51.tar.gz