index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2009-12-01 21:39:02 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2009-12-01 21:39:02 -0300 |
commit | a5ff6f1b1910579ac4a30f7fd61b0873ea21a16a (patch) | |
tree | fecfe2826a37a3c19a8e5d873dfbb9c131a2e4d9 /configs/syslinux-iso/Makefile | |
parent | 9350558f60422687eec8473e116d07faf94fb966 (diff) |
-rw-r--r-- | configs/syslinux-iso/Makefile | 27 |
diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile index 0cce23c..e7bc245 100644 --- a/configs/syslinux-iso/Makefile +++ b/configs/syslinux-iso/Makefile @@ -9,7 +9,7 @@ PWD=$(shell pwd) NETname=$(PWD)/archlinux-$(ver)-netinstall-$(ARCH).iso COREname=$(PWD)/archlinux-$(ver)-core-$(ARCH).iso -PACKAGES="$(shell cat packages.$(ARCH)) $(BOOTLOADER)" +PACKAGES="$(shell cat packages.$(ARCH))" all: net-iso core-iso @@ -18,12 +18,12 @@ core-iso: $(COREname) net-iso: $(NETname) $(COREname): core-pkgs base-fs - mkarchiso -p syslinux iso $(WORKDIR) $@ + mkarchiso iso $(WORKDIR) $@ $(NETname): base-fs - mkarchiso -p syslinux iso $(WORKDIR) $@ + mkarchiso iso $(WORKDIR) $@ # This is the main rule for make the working filesystem. -base-fs: root-image boot-files initcpio overlay iso-mounts syslinux +base-fs: root-image bootfiles initcpio overlay iso-mounts # Rules for make the root-image for base filesystem. @@ -32,9 +32,14 @@ $(WORKDIR)/root-image/.arch-chroot: mkarchiso -p $(PACKAGES) create $(WORKDIR) # Rule for make /boot -boot-files: root-image - cp -r $(WORKDIR)/root-image/boot $(WORKDIR)/iso/ +bootfiles: root-image + cp $(WORKDIR)/root-image/boot/System.map26 $(WORKDIR)/iso/ + cp $(WORKDIR)/root-image/boot/vmlinuz26 $(WORKDIR)/iso/ + cp $(WORKDIR)/root-image/boot/memtest86+/memtest.bin $(WORKDIR)/iso/memtest + cp $(WORKDIR)/root-image/usr/share/licenses/common/GPL2/license.txt $(WORKDIR)/iso/boot/memtest.COPYING cp -r boot-files/* $(WORKDIR)/iso/boot/ + cp $(WORKDIR)/root-image/usr/lib/syslinux/*.c32 $(WORKDIR)/iso/boot/isolinux/ + cp $(WORKDIR)/root-image/usr/lib/syslinux/isolinux.bin $(WORKDIR)/iso/boot/isolinux/ # Rules for initcpio images @@ -63,13 +68,6 @@ core-pkgs: ./download-repo.sh core $(WORKDIR)/core-pkgs -# Rules for the bootloader -syslinux: root-image - mkdir -p $(WORKDIR)/iso/boot/isolinux - cp $(WORKDIR)/root-image/usr/lib/syslinux/*.c32 $(WORKDIR)/iso/boot/isolinux/ - cp $(WORKDIR)/root-image/usr/lib/syslinux/isolinux.bin $(WORKDIR)/iso/boot/isolinux/ - - # Clean-up all work clean: rm -rf $(WORKDIR) $(NETname) $(COREname) @@ -77,8 +75,7 @@ clean: .PHONY: all core-iso net-iso .PHONY: base-fs -.PHONY: root-image boot-files initcpio overlay iso-mounts +.PHONY: root-image bootfiles initcpio overlay iso-mounts .PHONY: core-pkgs -.PHONY: syslinux .PHONY: clean |