From d57620c96d50c71f0ce536ec06fb4daea3df155c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 1 Aug 2015 23:18:48 +0200 Subject: [PATCH] Add 'liveusb' make target --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 514a7b0..bde4103 100644 --- a/Makefile +++ b/Makefile @@ -139,6 +139,17 @@ iso: chown --reference=Makefile -R build yum rm -rf work +liveusb: conf/liveusb.ks + ln -sf `pwd` /tmp/qubes-installer + createrepo -q -g ../../conf/comps-qubes.xml --update yum/qubes-dom0 + mkdir -p work + pushd work && ../livecd-creator-qubes --verbose --debug --product='Qubes OS' --title="Qubes OS $(ISO_VERSION)" --config ../$< && popd + # Move result files to known-named directories + mkdir -p build/ISO/qubes-x86_64/iso build/work + mv work/*.iso build/ISO/qubes-x86_64/iso/ + chown --reference=Makefile -R build yum + rm -rf work + clean-repos: @echo "--> Removing old rpms from the installer repos..." @(cd yum && ./clean_repos.sh)