Makefile: add a target to build the iso image
This commit is contained in:
9
Makefile
9
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user