-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.template
35 lines (29 loc) · 1006 Bytes
/
Makefile.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# beginiterate
.PHONY: build-vm-&DE start-vm-&DE
build-vm-&DE:
nix-build release.nix -A &DE.vm -j auto -Q
start-vm-&DE: build-vm-&DE
nix -j auto run -f release.nix &DE.vm -c run-nixos-vm
.PHONY: build-installer-vm-&DE start-installer-vm-&DE
build-installer-vm-&DE:
nix-build release.nix -A &DE.installerVm -j auto -Q
start-installer-vm-&DE: build-installer-vm-&DE
nix -j auto run -f release.nix &DE.installerVm -c run-nixos-vm
.PHONY: build-iso-&DE start-iso-&DE
build-iso-&DE:
nix-build release.nix -A &DE.iso -j auto
start-iso-&DE: build-iso-&DE
qemu-system-x86_64 -cdrom result/iso/* -hda install.img -m 2048 -enable-kvm -cpu max -smp 5
# enditerate
.PHONY: update build-all-iso
update:
make -C pkgs update
build-all-iso:
nix-build release.nix -A isoAll -j auto
rebuild-makefile: Makefile.template
node ./lib/buildMakefile.js ./Makefile.template ./Makefile cinnamon mate xfce
channels:
git rev-parse --verify HEAD > .ref
nix-build release.nix -A allChannels
clean:
rm -f *.qcow2 *.img