Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/install-iso/Makefile
blob: 0a9907518aa724f998f42e257e51deb82502247b (plain)
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
ver=2008.10
kver=2.6.27-ARCH
carch=i686
FTPname=$(PWD)/archlinux-$(ver)-ftp-$(carch)
COREname=$(PWD)/archlinux-$(ver)-core-$(carch)

all: core-iso core-usb ftp-iso ftp-usb

core-usb: .work-core
	mkinitcpio -c initcpio-ide -b .work-core/install -k $(kver) -g .work-core/img/boot/archiso-ide.img
	mkarchiso -v -t disk -i initcpio-pata img .work-core $(COREname).img

core-iso: .work-core
	mkinitcpio -c initcpio-ide -b .work-core/install -k $(kver) -g .work-core/img/boot/archiso-ide.img
	mkarchiso -v -t iso -i initcpio-pata img .work-core $(COREname).iso

ftp-usb: .work-ftp
	mkinitcpio -c initcpio-ide -b .work-ftp/install -k $(kver) -g .work-ftp/img/boot/archiso-ide.img
	mkarchiso -v -t disk -i initcpio-pata img .work-ftp $(FTPname).img

ftp-iso: .work-ftp
	mkinitcpio -c initcpio-ide -b .work-ftp/install -k $(kver) -g .work-ftp/img/boot/archiso-ide.img
	mkarchiso -v -t iso -i initcpio-pata img .work-ftp $(FTPname).iso

.work-ftp:
	chmod 0440 overlay/etc/sudoers
	mkarchiso -v -P packages.list-$(carch) install .work-ftp
	mkarchiso -v squash .work-ftp

.work-core: addons/core-pkgs
	chmod 0440 overlay/etc/sudoers
	mkarchiso -v -a addons -P packages.list-$(carch) install .work-core
	mkarchiso -v squash .work-core

# hacky way to always pull
.PHONY: addons/core-pkgs
addons/core-pkgs:
	wget --mirror -P addons/core-pkgs -nH --cut-dirs=3 ftp://ftp.archlinux.org/core/os/$(carch)

clean:
	rm -fr .work-ftp .work-core