Add 'liveusb' make target

This commit is contained in:
Marek Marczykowski-Górecki 2015-08-01 23:18:48 +02:00
parent 9db56031f5
commit d57620c96d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -139,6 +139,17 @@ iso:
chown --reference=Makefile -R build yum chown --reference=Makefile -R build yum
rm -rf work 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: clean-repos:
@echo "--> Removing old rpms from the installer repos..." @echo "--> Removing old rpms from the installer repos..."
@(cd yum && ./clean_repos.sh) @(cd yum && ./clean_repos.sh)