mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-16 07:09:57 +00:00
pass target arch to final image builder as TARGETARCH; use TARGETARCH when generating raw and iso, fallback to build arch; use updated images that read TARGETARCH; ensure grub has EFI for all archs
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/grub:4de02c056b3295f510b7fb4f9b5a2785f854ac23 AS grub
|
||||
FROM linuxkit/grub:292deb743d85eb79cbd5b163841db8ccd2500677 AS grub
|
||||
|
||||
FROM linuxkit/alpine:316c3f9d85c21fdd8bc7479e81d290f85bf60eb0 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
|
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
|
||||
# get the GRUB2 boot file name
|
||||
ARCH=`uname -m`
|
||||
ARCH=${TARGETARCH:-`uname -m`}
|
||||
case $ARCH in
|
||||
x86_64)
|
||||
BOOTFILE=BOOTX64.EFI
|
||||
|
Reference in New Issue
Block a user