The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/124
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === This excludes the fallback initramfs. It's usually not needed and currently causes some issues when building it. Also, use `mkinicpio -P` which simply considers all preset files. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From a5e6bee4b02640abeeaefc276a5b2a8baaabbbbb Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Wed, 4 Mar 2020 11:53:15 +0100 Subject: [PATCH] images/archlinux: Exclude fallback initramfs This excludes the fallback initramfs. It's usually not needed and currently causes some issues when building it. Also, use `mkinicpio -P` which simply considers all preset files. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- images/archlinux.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/images/archlinux.yaml b/images/archlinux.yaml index 9c3cfe8..fe058fb 100644 --- a/images/archlinux.yaml +++ b/images/archlinux.yaml @@ -627,12 +627,10 @@ actions: # Rebuild initrd sed -i 's#^MODULES=.*#MODULES=(virtio_pci virtio_scsi virtio_console)#' /etc/mkinitcpio.conf - if [ "${TARGET}" = "x86_64" ]; then - mkinitcpio -p linux - else - mkinitcpio -p linux-$(uname -m) - fi + sed -i 's#^PRESETS=.*#PRESETS=(default)#' /etc/mkinitcpio.d/*.preset + mkinitcpio -P types: - vm + mappings: architecture_map: archlinux
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel