cdrom+flash-images: Write images to the images directory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-09 13:01:27 +00:00
parent 28fa687731
commit e9fcb8c36d
3 changed files with 13 additions and 11 deletions

12
make.sh
View File

@@ -2128,19 +2128,15 @@ build_system() {
# use toolchain bash for chroot to strip
CUSTOM_PATH="${TOOLS_DIR}/bin" lfsmake2 strip
# Build images
lfsmake2 cdrom
lfsmake2 flash-images
}
buildpackages() {
local LOGFILE="${LOG_DIR}/_build.packages.log"
# Create images for install
lfsmake2 cdrom
# Check if there is a loop device for building in virtual environments
lfsmake2 flash-images
mv ${BUILD_DIR}/install/images/{*.iso,*.img.xz,*.bz2} $BASEDIR >> $LOGFILE 2>&1
ipfirepackages
cd $BASEDIR