ironic-python-agent/imagebuild/tinyipa/Makefile
Sam Betts 4230a3ba6e Add script to install missing tinyipa dependencies
Squashfs-tools is missing when building the tinyipa image during the
post job, this patch adds a new script to the tinyipa build process that
ensures that missing dependencies get installed as part of the build
process. It also replaces a use of realpath it build-iso.sh where it
should be readlink to ensure that we don't need that dependency.

Change-Id: I9a60dcf42f6a9ba624aa347f0f375bb40432ef77
Closes-Bug: #1567981
2016-04-11 11:28:48 +01:00

36 lines
655 B
Makefile

.PHONY: default all dependencies build finalise iso clean clean_build clean_iso
default: dependencies build finalise
all: dependencies build finalise iso
dependencies:
./install-deps.sh
build:
./build-tinyipa.sh
finalise:
./finalise-tinyipa.sh
iso:
./build-iso.sh
clean: clean_build clean_iso
clean_build:
sudo -v
sudo rm -rf tinyipabuild
sudo rm -rf tinyipafinal
rm -f tinyipa*.vmlinuz
rm -f tinyipa*.gz
rm -f build_files/corepure64.gz
rm -f build_files/vmlinuz64
rm -f build_files/*.tcz
rm -f build_files/*.tcz.*
clean_iso:
rm -rf newiso
rm -f build_files/syslinux-4.06.tar.gz
rm -rf build_files/syslinux-4.06
rm -f tinyipa.iso