mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-13 06:45:24 +01:00
rootfs.py refactoring.
Switch to bzip2 packages Move most of the preprocessing done by rootfs.py into kaem and bash scripts inside live-bootstrap.
This commit is contained in:
parent
79c47f21ff
commit
5b032cb46c
47 changed files with 276 additions and 274 deletions
|
|
@ -8,10 +8,11 @@
|
|||
|
||||
set -ex
|
||||
|
||||
mkdir build
|
||||
mkdir build src
|
||||
cd build
|
||||
|
||||
# Extract
|
||||
cp ${sources}/${pkg}.tar.bz2 ../src/
|
||||
bunzip2 -f ../src/${pkg}.tar.bz2
|
||||
tar xf ../src/${pkg}.tar
|
||||
cd ${pkg}
|
||||
|
|
@ -33,6 +34,7 @@ make -f Makefile PREFIX=${prefix}
|
|||
make -f Makefile PREFIX=${prefix} install
|
||||
|
||||
cd ../..
|
||||
rm -r src/
|
||||
|
||||
# Checksums
|
||||
sha256sum -c checksums
|
||||
|
|
|
|||
|
|
@ -1,17 +1,9 @@
|
|||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
src_dir="${base_dir}/src"
|
||||
|
||||
# Remove previous source diretory
|
||||
rm -rf "${pkg}"
|
||||
|
||||
tar -xf "${src_dir}/${pkg}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp lib/fnmatch_.h lib/fnmatch.h
|
||||
cp lib/ftw_.h lib/ftw.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue