mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 08:39:48 +00:00
trivial: snap: move EFI binaries to expected location
We compile with prefix "/", but Ubuntu (where we get the binaries from) compiles with prefix "/usr". Correct the location of these binaries in the snap.
This commit is contained in:
parent
c190c0877d
commit
b7ec831cdb
@ -81,13 +81,16 @@ parts:
|
|||||||
${CRAFT_PART_INSTALL}/share/bash-completion/completions/*
|
${CRAFT_PART_INSTALL}/share/bash-completion/completions/*
|
||||||
# fixes up dbus service for classic snap
|
# fixes up dbus service for classic snap
|
||||||
sed -i 's!SystemdService=\(.*\)!SystemdService=snap.fwupd.fwupd.service!' \
|
sed -i 's!SystemdService=\(.*\)!SystemdService=snap.fwupd.fwupd.service!' \
|
||||||
${SNAPCRAFT_PART_INSTALL}/share/dbus-1/system-services/org.freedesktop.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
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
craftctl default
|
||||||
craftctl set version=$(git describe HEAD --always)
|
craftctl set version=$(git describe HEAD --always)
|
||||||
build-packages:
|
build-packages:
|
||||||
- bash-completion
|
- bash-completion
|
||||||
- curl
|
- curl
|
||||||
|
- fwupd-signed
|
||||||
|
- fwupd-unsigned
|
||||||
- gettext
|
- gettext
|
||||||
- gcab
|
- gcab
|
||||||
- gnu-efi
|
- gnu-efi
|
||||||
@ -130,8 +133,6 @@ parts:
|
|||||||
- systemd
|
- systemd
|
||||||
- uuid-dev
|
- uuid-dev
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- fwupd-signed
|
|
||||||
- fwupd-unsigned
|
|
||||||
- libunbound8
|
- libunbound8
|
||||||
- libevent-2.1-7
|
- libevent-2.1-7
|
||||||
- libnghttp2-14
|
- libnghttp2-14
|
||||||
@ -177,6 +178,7 @@ parts:
|
|||||||
# /usr/bin/gpg2
|
# /usr/bin/gpg2
|
||||||
- -usr/bin
|
- -usr/bin
|
||||||
- -usr/sbin
|
- -usr/sbin
|
||||||
|
- -usr/libexec
|
||||||
- -usr/share/man
|
- -usr/share/man
|
||||||
- -usr/share/GConf
|
- -usr/share/GConf
|
||||||
- -etc/X11
|
- -etc/X11
|
||||||
|
Loading…
Reference in New Issue
Block a user