2008-09-07 03:39:35 +02:00
|
|
|
ver=2008.06
|
|
|
|
kver=2.6.25-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
|
2008-09-07 04:07:57 +02:00
|
|
|
mkinitcpio -c initcpio-ide -b .work-core/install -k $(kver) -g .work-core/img/boot/archlive-ide.img
|
|
|
|
mkarchiso -v -t disk -i initcpio-pata img .work-core $(COREname).img
|
2008-09-07 03:39:35 +02:00
|
|
|
|
|
|
|
core-iso: .work-core
|
|
|
|
mkinitcpio -c initcpio-ide -b .work-core/install -k $(kver) -g .work-core/img/boot/archlive-ide.img
|
|
|
|
mkarchiso -v -t iso -i initcpio-pata img .work-core $(COREname).iso
|
|
|
|
|
|
|
|
|
|
|
|
ftp-usb: .work-ftp
|
2008-09-07 04:07:57 +02:00
|
|
|
mkinitcpio -c initcpio-ide -b .work-ftp/install -k $(kver) -g .work-ftp/img/boot/archlive-ide.img
|
|
|
|
mkarchiso -v -t disk -i initcpio-pata img .work-ftp $(FTPname).img
|
2008-09-07 03:39:35 +02:00
|
|
|
|
|
|
|
ftp-iso: .work-ftp
|
|
|
|
mkinitcpio -c initcpio-ide -b .work-ftp/install -k $(kver) -g .work-ftp/img/boot/archlive-ide.img
|
|
|
|
mkarchiso -v -t iso -i initcpio-pata img .work-ftp $(FTPname).iso
|
|
|
|
|
|
|
|
.work-ftp:
|
2008-09-07 05:15:36 +02:00
|
|
|
chmod 0440 overlay/etc/sudoers
|
2008-09-07 03:39:35 +02:00
|
|
|
mkarchiso -v -P packages.list-$(carch) install .work-ftp
|
|
|
|
mkarchiso -v squash .work-ftp
|
|
|
|
|
|
|
|
.work-core: addons/core-pkgs
|
2008-09-07 05:15:36 +02:00
|
|
|
chmod 0440 overlay/etc/sudoers
|
2008-09-07 03:39:35 +02:00
|
|
|
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
|