-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
73 lines (57 loc) · 2.33 KB
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.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
.PHONY: build-vm-cinnamon start-vm-cinnamon
build-vm-cinnamon:
nix-build release.nix -A cinnamon.vm -j auto -Q
start-vm-cinnamon: build-vm-cinnamon
nix -j auto run -f release.nix cinnamon.vm -c run-nixos-vm
.PHONY: build-installer-vm-cinnamon start-installer-vm-cinnamon
build-installer-vm-cinnamon:
nix-build release.nix -A cinnamon.installerVm -j auto -Q
start-installer-vm-cinnamon: build-installer-vm-cinnamon
nix -j auto run -f release.nix cinnamon.installerVm -c run-nixos-vm
.PHONY: build-iso-cinnamon start-iso-cinnamon
build-iso-cinnamon:
nix-build release.nix -A cinnamon.iso -j auto
start-iso-cinnamon: build-iso-cinnamon
qemu-system-x86_64 -cdrom result/iso/* -hda install.img -m 2048 -enable-kvm -cpu max -smp 5
.PHONY: build-vm-mate start-vm-mate
build-vm-mate:
nix-build release.nix -A mate.vm -j auto -Q
start-vm-mate: build-vm-mate
nix -j auto run -f release.nix mate.vm -c run-nixos-vm
.PHONY: build-installer-vm-mate start-installer-vm-mate
build-installer-vm-mate:
nix-build release.nix -A mate.installerVm -j auto -Q
start-installer-vm-mate: build-installer-vm-mate
nix -j auto run -f release.nix mate.installerVm -c run-nixos-vm
.PHONY: build-iso-mate start-iso-mate
build-iso-mate:
nix-build release.nix -A mate.iso -j auto
start-iso-mate: build-iso-mate
qemu-system-x86_64 -cdrom result/iso/* -hda install.img -m 2048 -enable-kvm -cpu max -smp 5
.PHONY: build-vm-xfce start-vm-xfce
build-vm-xfce:
nix-build release.nix -A xfce.vm -j auto -Q
start-vm-xfce: build-vm-xfce
nix -j auto run -f release.nix xfce.vm -c run-nixos-vm
.PHONY: build-installer-vm-xfce start-installer-vm-xfce
build-installer-vm-xfce:
nix-build release.nix -A xfce.installerVm -j auto -Q
start-installer-vm-xfce: build-installer-vm-xfce
nix -j auto run -f release.nix xfce.installerVm -c run-nixos-vm
.PHONY: build-iso-xfce start-iso-xfce
build-iso-xfce:
nix-build release.nix -A xfce.iso -j auto
start-iso-xfce: build-iso-xfce
qemu-system-x86_64 -cdrom result/iso/* -hda install.img -m 2048 -enable-kvm -cpu max -smp 5