mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
Clean pre-Bash build artifacts before building the Linux kernel
All of these are archived, in a compressed form, in base.tar.bz2.
This commit is contained in:
parent
4e0a0f03dd
commit
32138d13b9
3 changed files with 16 additions and 0 deletions
13
steps/improve/clean_artifacts.sh
Normal file
13
steps/improve/clean_artifacts.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Delete build artifacts to free up space for Linux kernel build
|
||||
|
||||
for pkg in $(ls "${SRCDIR}"); do
|
||||
if [ -d "${SRCDIR}/${pkg}/build" ]; then
|
||||
rm -rf "${SRCDIR}/${pkg}/build"
|
||||
fi
|
||||
done
|
||||
|
||||
rm -rf "/${ARCH_DIR}/artifact"
|
||||
Loading…
Add table
Add a link
Reference in a new issue