Make the Makefile $ARCH adjust the isomounts file
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
571aa15309
commit
29d05d6bea
@ -40,6 +40,7 @@ base-iso: root-image
|
|||||||
mv $(WORKDIR)/root-image/boot $(WORKDIR)/iso/
|
mv $(WORKDIR)/root-image/boot $(WORKDIR)/iso/
|
||||||
cp -r boot-files/* $(WORKDIR)/iso/boot/
|
cp -r boot-files/* $(WORKDIR)/iso/boot/
|
||||||
cp isomounts $(WORKDIR)
|
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-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
|
mkinitcpio -c initcpio-pata -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso_pata.img
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
# syntax: <img> <arch> <mount point> <type>
|
# syntax: <img> <arch> <mount point> <type>
|
||||||
|
|
||||||
# ORDER MATTERS! Files take top-down precedence. Be careful
|
# ORDER MATTERS! Files take top-down precedence. Be careful
|
||||||
overlay.sqfs i686 / squashfs
|
overlay.sqfs @ARCH@ / squashfs
|
||||||
core-pkgs.sqfs i686 /src/core/pkg squashfs
|
core-pkgs.sqfs @ARCH@ /src/core/pkg squashfs
|
||||||
root-image.sqfs i686 / squashfs
|
root-image.sqfs @ARCH@ / squashfs
|
||||||
|
Loading…
Reference in New Issue
Block a user