logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: ff6d9e5c0842e1a3ddbae466ca2e0800230a9ea7
parent 987113f0a64973332aa9dbc0dbe2a579efcc5c9e
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Sun, 20 Jun 2021 23:58:04 +0100

Get rid of mkbuild.

Diffstat:

Msysa.py24+++++++++---------------
Msysa/bzip2-1.0.8/bzip2-1.0.8.kaem1+
Msysa/coreutils-5.0/coreutils-5.0.kaem1+
Msysa/gzip-1.2.4/gzip-1.2.4.kaem1+
Msysa/make-3.80/make-3.80.kaem1+
Msysa/patch-2.5.9/patch-2.5.9.kaem1+
Msysa/sed-4.0.9/sed-4.0.9.kaem1+
Msysa/tar-1.12/tar-1.12.kaem1+
Msysa/tcc-0.9.27/tcc-0.9.27.kaem1+
9 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/sysa.py b/sysa.py @@ -83,7 +83,7 @@ class SysA: self.check_file(abs_file_name) return abs_file_name - def get_file(self, url, mkbuild=False, output=None): + def get_file(self, url, output=None): """ Download and prepare source packages @@ -92,9 +92,6 @@ class SysA: 2. list of URLs to download. In this case the first URL is the primary URL from which we derive the name of package directory output can be used to override file name of the downloaded file(s). - - mkbuild=True can be used to pre-create build directories before - mkdir is available. """ # Single URL if isinstance(url, str): @@ -128,9 +125,6 @@ class SysA: # Install sources into target directory shutil.copy2(tarball, target_src_dir) - if mkbuild: - os.mkdir(os.path.join(self.after_dir, target_name, 'build')) - def prepare(self): """ Prepare directory structure for System A. @@ -227,28 +221,28 @@ class SysA: self.get_file("https://lilypond.org/janneke/tcc/tcc-0.9.26-1136-g5bba73cc.tar.gz", output="tcc-0.9.26.tar.gz") # gzip 1.2.4 - self.get_file("https://mirrors.kernel.org/gnu/gzip/gzip-1.2.4.tar", mkbuild=True) + self.get_file("https://mirrors.kernel.org/gnu/gzip/gzip-1.2.4.tar") # tar 1.12 - self.get_file("https://mirrors.kernel.org/gnu/tar/tar-1.12.tar.gz", mkbuild=True) + self.get_file("https://mirrors.kernel.org/gnu/tar/tar-1.12.tar.gz") # sed 4.0.9 - self.get_file("https://mirrors.kernel.org/gnu/sed/sed-4.0.9.tar.gz", mkbuild=True) + self.get_file("https://mirrors.kernel.org/gnu/sed/sed-4.0.9.tar.gz") # patch 2.5.9 - self.get_file("https://ftp.gnu.org/pub/gnu/patch/patch-2.5.9.tar.gz", mkbuild=True) + self.get_file("https://ftp.gnu.org/pub/gnu/patch/patch-2.5.9.tar.gz") # make 3.80 - self.get_file("https://mirrors.kernel.org/gnu/make/make-3.80.tar.gz", mkbuild=True) + self.get_file("https://mirrors.kernel.org/gnu/make/make-3.80.tar.gz") # bzip2 1.0.8 - self.get_file("https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz", mkbuild=True) + self.get_file("https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz") # tcc 0.9.27 - self.get_file("https://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2", mkbuild=True) + self.get_file("https://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2") # coreutils 5.0 - self.get_file("https://mirrors.kernel.org/gnu/coreutils/coreutils-5.0.tar.bz2", mkbuild=True) + self.get_file("https://mirrors.kernel.org/gnu/coreutils/coreutils-5.0.tar.bz2") # heirloom-devtools self.get_file("http://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2") diff --git a/sysa/bzip2-1.0.8/bzip2-1.0.8.kaem b/sysa/bzip2-1.0.8/bzip2-1.0.8.kaem @@ -7,6 +7,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/coreutils-5.0/coreutils-5.0.kaem b/sysa/coreutils-5.0/coreutils-5.0.kaem @@ -8,6 +8,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/gzip-1.2.4/gzip-1.2.4.kaem b/sysa/gzip-1.2.4/gzip-1.2.4.kaem @@ -8,6 +8,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/make-3.80/make-3.80.kaem b/sysa/make-3.80/make-3.80.kaem @@ -6,6 +6,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/patch-2.5.9/patch-2.5.9.kaem b/sysa/patch-2.5.9/patch-2.5.9.kaem @@ -6,6 +6,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/sed-4.0.9/sed-4.0.9.kaem b/sysa/sed-4.0.9/sed-4.0.9.kaem @@ -8,6 +8,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/tar-1.12/tar-1.12.kaem b/sysa/tar-1.12/tar-1.12.kaem @@ -8,6 +8,7 @@ set -ex +mkdir build cd build # Extract diff --git a/sysa/tcc-0.9.27/tcc-0.9.27.kaem b/sysa/tcc-0.9.27/tcc-0.9.27.kaem @@ -7,6 +7,7 @@ set -ex +mkdir build cd build # Extract