From 5e294d35c1d362f2a65b41a8264755c04d01e14b Mon Sep 17 00:00:00 2001 From: sickcodes Date: Wed, 28 Jul 2021 17:25:52 +0000 Subject: [PATCH] SUPERMIN_KERNEL downgrade to 5.12 due to zstd issue --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Dockerfile b/Dockerfile index c6e929e..7e9b1e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -257,6 +257,22 @@ RUN grep -v InstallMedia ./Launch.sh > ./Launch-nopicker.sh \ && chmod +x ./Launch-nopicker.sh \ && sed -i -e s/OpenCore\.qcow2/OpenCore\-nopicker\.qcow2/ ./Launch-nopicker.sh + +# 5.13 problem + +ENV SUPERMIN_KERNEL=/boot/vmlinuz-linux + +ENV SUPERMIN_MODULES=/lib/modules/5.12.14-arch1-1 + +ENV SUPERMIN_KERNEL_VERSION=5.12.14-arch1-1 + +RUN sudo pacman -Rns linux --noconfirm \ + ; sudo pacman -Syy \ + ; sudo pacman -S mkinitcpio --noconfirm \ + ; sudo pacman -U https://archive.archlinux.org/packages/l/linux/linux-5.12.14.arch1-1-x86_64.pkg.tar.zst --noconfirm \ + ; rm -rf /var/tmp/.guestfs-* \ + ; libguestfs-test-tool + USER arch ENV USER arch