mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-08 04:15:24 +01:00
Add file downloading logic
Add urls to sysc, and modify some tarballs to http (non s) before ssl
This commit is contained in:
parent
39541e30f5
commit
8008de8e73
42 changed files with 110 additions and 152 deletions
125
sysc.py
125
sysc.py
|
|
@ -65,133 +65,8 @@ class SysC(SysGeneral):
|
|||
else:
|
||||
rootfs_dir = self.tmp_dir
|
||||
|
||||
self.get_packages()
|
||||
|
||||
copytree(self.sys_dir, rootfs_dir, ignore=shutil.ignore_patterns("tmp"))
|
||||
|
||||
# Unmount tmp/mnt if it was mounted
|
||||
if create_disk_image:
|
||||
umount(rootfs_dir)
|
||||
|
||||
# pylint: disable=line-too-long,too-many-statements
|
||||
def get_packages(self):
|
||||
"""Prepare remaining sources"""
|
||||
# bash 5.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/bash/bash-5.1.tar.gz")
|
||||
|
||||
# xz 5.0.5
|
||||
self.get_file("https://tukaani.org/xz/xz-5.0.5.tar.bz2")
|
||||
|
||||
# automake 1.11.2
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.11.2.tar.bz2")
|
||||
|
||||
# autoconf 2.69
|
||||
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.69.tar.xz")
|
||||
|
||||
# automake 1.15.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.15.1.tar.xz")
|
||||
|
||||
# tar 1.34
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/tar/tar-1.34.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-30820c.tar.gz"])
|
||||
|
||||
# coreutils 8.32
|
||||
self.get_file(["https://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-8.32.tar.gz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-d279bc.tar.gz"])
|
||||
|
||||
# pkg-config 0.29.2
|
||||
self.get_file("https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz")
|
||||
|
||||
# make 4.2.1
|
||||
self.get_file("https://ftp.gnu.org/gnu/make/make-4.2.1.tar.gz")
|
||||
|
||||
# gmp 6.2.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gmp/gmp-6.2.1.tar.xz")
|
||||
|
||||
# autoconf archive 2021.02.19
|
||||
self.get_file("https://mirrors.kernel.org/gnu/autoconf-archive/autoconf-archive-2021.02.19.tar.xz")
|
||||
|
||||
# mpfr 4.1.0
|
||||
self.get_file("https://mirrors.kernel.org/gnu/mpfr/mpfr-4.1.0.tar.xz")
|
||||
|
||||
# mpc 1.2.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz")
|
||||
|
||||
# flex 2.5.33
|
||||
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.33.tar.gz")
|
||||
|
||||
# bison 2.3
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-2.3.tar.bz2",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b28236b.tar.gz"])
|
||||
|
||||
# bison 3.4.2
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-3.4.2.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-672663a.tar.gz"])
|
||||
|
||||
# perl 5.10.5
|
||||
self.get_file("https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2")
|
||||
|
||||
# dist 3.5-236
|
||||
# Debian's version is used because upstream is not to be found (dead?)
|
||||
self.get_file("https://salsa.debian.org/perl-team/interpreter/dist/-/archive/d1de81f/dist-d1de81f.tar.gz",
|
||||
output="dist-3.5-236.tar.gz")
|
||||
|
||||
# perl 5.32.1
|
||||
self.get_file(["https://www.cpan.org/src/5.0/perl-5.32.1.tar.xz",
|
||||
"https://salsa.debian.org/perl-team/interpreter/perl/-/archive/5f2dc80/perl-5f2dc80.tar.bz2"])
|
||||
|
||||
# libarchive-3.5.2
|
||||
self.get_file("https://libarchive.org/downloads/libarchive-3.5.2.tar.xz")
|
||||
|
||||
# openssl-1.1.1l
|
||||
self.get_file("https://www.openssl.org/source/openssl-1.1.1l.tar.gz")
|
||||
|
||||
# xbps 0.59.1
|
||||
self.get_file("https://github.com/void-linux/xbps/archive/refs/tags/0.59.1.tar.gz",
|
||||
output="xbps-0.59.1.tar.gz")
|
||||
|
||||
# autoconf 2.71
|
||||
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.71.tar.xz")
|
||||
|
||||
# automake 1.16.3
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.xz")
|
||||
|
||||
# patch 2.7.6
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/patch/patch-2.7.6.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-e017871.tar.gz"])
|
||||
|
||||
# gettext 0.21
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/gettext/gettext-0.21.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-7daa86f.tar.gz"])
|
||||
|
||||
# texinfo 6.7
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/texinfo/texinfo-6.7.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b81ec69.tar.gz"])
|
||||
|
||||
# zlib 1.2.12
|
||||
self.get_file("https://www.zlib.net/zlib-1.2.12.tar.xz")
|
||||
|
||||
# gcc 4.7.4
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2")
|
||||
|
||||
# gperf 3.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gperf/gperf-3.1.tar.gz")
|
||||
|
||||
# libunistring 0.9.10
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/libunistring/libunistring-0.9.10.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-52a06cb3.tar.gz"])
|
||||
|
||||
# libffi 3.3
|
||||
self.get_file("https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz")
|
||||
|
||||
# libatomic_ops 7.6.10
|
||||
self.get_file("https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz")
|
||||
|
||||
# boehm-gc 8.0.4
|
||||
self.get_file("https://www.hboehm.info/gc/gc_source/gc-8.0.4.tar.gz")
|
||||
|
||||
# guile 3.0.7
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/guile/guile-3.0.7.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-901694b9.tar.gz",
|
||||
"https://github.com/schierlm/guile-psyntax-bootstrapping/archive/refs/tags/guile-3.0.7.tar.gz"],
|
||||
output=["guile-3.0.7.tar.xz", "gnulib-901694b9.tar.gz", "guile-psyntax-bootstrapping.tar.gz"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue