From a5ff6f1b1910579ac4a30f7fd61b0873ea21a16a Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 1 Dec 2009 21:39:02 -0300 Subject: Misc fixes for syslinux-iso * Removed .bin ext for x86test and memtest86+, with it does not work. (http://syslinux.zytor.com/wiki/index.php/Common_Problems) * Add url for x86test and memtest86+ * Re-add license for memtest86+ * Adjusted Makefile, some cleanups Signed-off-by: Gerardo Exequiel Pozzi --- configs/syslinux-iso/Makefile | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'configs/syslinux-iso/Makefile') 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 -- cgit v1.2.3-54-g00ecf