Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-24 10:27:42 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-24 10:27:42 -0800
commit29d05d6bea4d370f7645fa1f5631bb020d670fa9 (patch)
tree9cd1dd21033852bbef14084c6314e42787f43dea
parent571aa1530949592e5e76ed96354dd92cfda3d502 (diff)
Make the Makefile $ARCH adjust the isomounts file
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--configs/install-iso/Makefile1
-rw-r--r--configs/install-iso/isomounts6
2 files changed, 4 insertions, 3 deletions
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: <img> <arch> <mount point> <type>
# 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