ARM64: add boot diagnostics + pre-cache linux-aarch64 in Docker image
- Add ls/pacman -Q diagnostics in customize_airootfs.sh so we can see exactly what is (or isn't) in /boot after pacstrap - Pre-download linux-aarch64 in Dockerfile with pacman -Sw so mkarchiso can install it from the local pacman cache even if the [alarm] mirror is unreachable at ISO-build time Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
62c484e0ce
commit
4a4f3ddba5
2 files changed
+12
No files matched your search
@@ -65,6 +65,10 @@ RUN git clone --depth=1 https://gitlab.archlinux.org/archlinux/archiso.git /tmp/
|
|||||||
cp -a /tmp/archiso/configs /usr/share/archiso/ && \
|
cp -a /tmp/archiso/configs /usr/share/archiso/ && \
|
||||||
rm -rf /tmp/archiso
|
rm -rf /tmp/archiso
|
||||||
|
|
||||||
|
# Pre-download linux-aarch64 so mkarchiso can install it from local cache
|
||||||
|
# even if the [alarm] mirror is unreliable at ISO-build time.
|
||||||
|
RUN pacman -Sw --noconfirm linux-aarch64
|
||||||
|
|
||||||
WORKDIR /orionos
|
WORKDIR /orionos
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|||||||
@@ -643,6 +643,14 @@ locale-gen
|
|||||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||||
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
||||||
|
|
||||||
|
echo "=== /boot/ contents ==="
|
||||||
|
ls -la /boot/ 2>&1 || echo "(cannot list /boot)"
|
||||||
|
echo "=== linux-aarch64 package status ==="
|
||||||
|
pacman -Q linux-aarch64 2>&1 || echo "NOT INSTALLED"
|
||||||
|
echo "=== /usr/lib/modules/ ==="
|
||||||
|
ls /usr/lib/modules/ 2>&1 || echo "(empty)"
|
||||||
|
echo "=== end diagnostics ==="
|
||||||
|
|
||||||
useradd -m -G wheel,audio,video,storage,input -s /bin/bash orion 2>/dev/null || true
|
useradd -m -G wheel,audio,video,storage,input -s /bin/bash orion 2>/dev/null || true
|
||||||
echo "orion:orionos" | chpasswd
|
echo "orion:orionos" | chpasswd
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user