From 29d05d6bea4d370f7645fa1f5631bb020d670fa9 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 24 Dec 2008 10:27:42 -0800 Subject: Make the Makefile $ARCH adjust the isomounts file Signed-off-by: Aaron Griffin --- configs/install-iso/Makefile | 1 + configs/install-iso/isomounts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'configs/install-iso') diff --git a/configs/install-iso/Makefile b/configs/install-iso/Makefile index 099bba9..7f98605 100644 --- a/configs/install-iso/Makefile +++ b/configs/install-iso/Makefile @@ -40,6 +40,7 @@ base-iso: root-image mv $(WORKDIR)/root-image/boot $(WORKDIR)/iso/ cp -r boot-files/* $(WORKDIR)/iso/boot/ cp isomounts $(WORKDIR) + sed -i "s|@ARCH@|$(ARCH)|g" "$(WORKDIR)/isomounts" mkinitcpio -c initcpio-ide -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso_ide.img mkinitcpio -c initcpio-pata -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso_pata.img diff --git a/configs/install-iso/isomounts b/configs/install-iso/isomounts index e88f8a9..71421b6 100644 --- a/configs/install-iso/isomounts +++ b/configs/install-iso/isomounts @@ -7,6 +7,6 @@ # syntax: # ORDER MATTERS! Files take top-down precedence. Be careful -overlay.sqfs i686 / squashfs -core-pkgs.sqfs i686 /src/core/pkg squashfs -root-image.sqfs i686 / squashfs +overlay.sqfs @ARCH@ / squashfs +core-pkgs.sqfs @ARCH@ /src/core/pkg squashfs +root-image.sqfs @ARCH@ / squashfs -- cgit v1.2.3-70-g09d2