From fc25813bae9f414c766b061cba5643bce0ab9349 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 9 Feb 2023 10:50:20 -0600 Subject: [PATCH] trivial: snap: install shim into the snap as well Fixes: #5485 --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0f9c1b6fc..050d291df 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -122,6 +122,7 @@ parts: sed -i 's!SystemdService=\(.*\)!SystemdService=snap.fwupd.fwupd.service!' \ ${CRAFT_PART_INSTALL}/share/dbus-1/system-services/org.freedesktop.fwupd.service cp -R /usr/libexec/fwupd/efi ${CRAFT_PART_INSTALL}/libexec/fwupd + cp /usr/lib/shim/shimx64.efi.signed ${CRAFT_PART_INSTALL}/libexec/fwupd/efi/ sed -i 's,^MetadataURI=.*$,MetadataURI=file:///var/snap/fwupd/common,' "${CRAFT_PART_INSTALL}/etc/fwupd/remotes.d/vendor-directory.conf" override-pull: | craftctl default @@ -168,6 +169,7 @@ parts: - python3-cairo - python3-gi - protobuf-c-compiler + - shim-signed - systemd - uuid-dev stage-packages: