From abcdbdc161ef663f66739ab9f5856a7d305b4802 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 23 Feb 2020 13:44:42 +0100 Subject: [PATCH] Makefile: add a target to build the iso image --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0da6434..712faf7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,14 @@ #!/usr/bin/make -f -all: install_buildenv +all: install_buildenv build install_buildenv: # Install packages required to build the image sudo apt install live-build make build-essential wget git xmlstarlet unzip colordiff shellcheck apt-transport-https rename ovmf rsync + +build: + # Build the live system/ISO image + #sudo lb clean --purge #only required when changing the mirrors/architecture config + sudo lb clean --all + sudo lb config + sudo lb build