Skip to content

Commit b016102

Browse files
committed
[snap] include 3rd-party license files
1 parent 331c3fa commit b016102

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snap/snapcraft.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ parts:
106106
snapcraftctl set-grade $( echo ${VERSION} | grep -qe '^[0-9]\+\.[0-9]\+\.[0-9]\+$' && echo stable || echo devel )
107107
sed -i -e 's@^Icon=\(.\+\)$@Icon=/usr/share/icons/hicolor/scalable/apps/\1.svg@' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/multipass.gui.desktop
108108
109+
cd ${SNAPCRAFT_PART_SRC}/3rd-party
110+
find . -name 'LICENSE*' -print0 | xargs -0 -I FILE install --mode=644 -D --no-target-directory FILE ${SNAPCRAFT_PART_INSTALL}/licenses/FILE
111+
109112
qemu:
110113
plugin: nil
111114
override-pull: ""

0 commit comments

Comments
 (0)