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:
Andrius Štikonas 2022-04-13 00:08:29 +01:00
parent 79c47f21ff
commit 5b032cb46c
47 changed files with 276 additions and 274 deletions

11
sysa/linux-4.9.10/linux-4.9.10.sh Executable file → Normal file
View file

@ -1,14 +1,19 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
mkdir "${pkg}"
mv /sources/deblob-4.9 "${pkg}/"
mv "/sources/${pkg}.tar.gz" .
# Remove all previous source tarballs
rm /sources/*
mv ${pkg}.tar.gz /sources
default || true # Predictable link errors - not a problem
cp ../src/deblob-4.9 ${pkg}/
# Clear up storage space
rm -rf ../src
rm -rf "/sources/${pkg}.tar.gz"
}
generate_autoconf_h() {