Rare issue regarding signatures from the arch archives.

This commit is contained in:
sickcodes 2021-11-29 06:21:14 +00:00
parent 4805b9169b
commit c9b33ddb62
4 changed files with 31 additions and 13 deletions

View File

@ -222,14 +222,18 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12
ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst
ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst
# fixe ad hoc errors from using the arch museum to get libguestfs
RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional"
RUN sudo pacman -Syy \ RUN sudo pacman -Syy \
&& sudo pacman -Rns linux --noconfirm \ && sudo pacman -Rns linux --noconfirm \
; sudo pacman -S mkinitcpio --noconfirm \ ; sudo pacman -S mkinitcpio --noconfirm \
&& sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm || exit 1 \
&& sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm || exit 1 \
&& rm -rf /var/tmp/.guestfs-* \ && rm -rf /var/tmp/.guestfs-* \
; libguestfs-test-tool || exit 1 \ && yes | sudo pacman -Scc \
; rm -rf /var/tmp/.guestfs-* && libguestfs-test-tool || exit 1 \
&& rm -rf /var/tmp/.guestfs-*
#### ####

View File

@ -104,16 +104,22 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12
ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst
ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst
# fixe ad hoc errors from using the arch museum to get libguestfs
RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional"
RUN sudo pacman -Syy \ RUN sudo pacman -Syy \
&& sudo pacman -Rns linux --noconfirm \ && sudo pacman -Rns linux --noconfirm \
; sudo pacman -S mkinitcpio --noconfirm \ ; sudo pacman -S mkinitcpio --noconfirm \
&& sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm || exit 1 \
&& sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm || exit 1 \
&& rm -rf /var/tmp/.guestfs-* \ && rm -rf /var/tmp/.guestfs-* \
; libguestfs-test-tool || exit 1 && yes | sudo pacman -Scc \
&& libguestfs-test-tool || exit 1 \
&& rm -rf /var/tmp/.guestfs-*
#### ####
WORKDIR /home/arch/OSX-KVM WORKDIR /home/arch/OSX-KVM
RUN mkdir -p ~/.ssh \ RUN mkdir -p ~/.ssh \

View File

@ -217,14 +217,17 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12
ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst
ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst
# fixe ad hoc errors from using the arch museum to get libguestfs
RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional"
RUN sudo pacman -Syy \ RUN sudo pacman -Syy \
&& sudo pacman -Rns linux --noconfirm \ && sudo pacman -Rns linux --noconfirm \
; sudo pacman -S mkinitcpio --noconfirm \ ; sudo pacman -S mkinitcpio --noconfirm \
&& sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm || exit 1 \
&& sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm || exit 1 \
&& rm -rf /var/tmp/.guestfs-* \ && rm -rf /var/tmp/.guestfs-* \
&& yes | sudo pacman -Scc \ && yes | sudo pacman -Scc \
; libguestfs-test-tool || exit 1 \ && libguestfs-test-tool || exit 1 \
&& rm -rf /var/tmp/.guestfs-* && rm -rf /var/tmp/.guestfs-*
#### ####

View File

@ -84,13 +84,18 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12
ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst
ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst
# fixe ad hoc errors from using the arch museum to get libguestfs
RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional"
RUN sudo pacman -Syy \ RUN sudo pacman -Syy \
&& sudo pacman -Rns linux --noconfirm \ && sudo pacman -Rns linux --noconfirm \
; sudo pacman -S mkinitcpio --noconfirm \ ; sudo pacman -S mkinitcpio --noconfirm \
&& sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm || exit 1 \
&& sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \ && sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm || exit 1 \
&& rm -rf /var/tmp/.guestfs-* \ && rm -rf /var/tmp/.guestfs-* \
; libguestfs-test-tool || exit 1 && yes | sudo pacman -Scc \
&& libguestfs-test-tool || exit 1 \
&& rm -rf /var/tmp/.guestfs-*
#### ####