Makefile: add a target to build the iso image

This commit is contained in:
nodiscc
2020-02-23 13:44:42 +01:00
parent 3b312db1a5
commit abcdbdc161

View File

@@ -1,7 +1,14 @@
#!/usr/bin/make -f #!/usr/bin/make -f
all: install_buildenv all: install_buildenv build
install_buildenv: install_buildenv:
# Install packages required to build the image # 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 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