summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2021-07-07 13:31:06 +0200
committerMichael Vogt <mvo@ubuntu.com>2021-07-07 13:31:06 +0200
commit07878550c5edcbb0da6be73810c117e8659166b3 (patch)
tree619b08e5659b457be8227b0f2d6a6c48fb079473
parent9b844f8ae9b6a75379d765d9983bbdb4439d11f2 (diff)
snapcraft.yaml: include copyright files of the libraries in the snapmoar-copyright-files
-rw-r--r--build-aux/snap/snapcraft.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/snap/snapcraft.yaml b/build-aux/snap/snapcraft.yaml
index e5ae0c8212..701dbad0a1 100644
--- a/build-aux/snap/snapcraft.yaml
+++ b/build-aux/snap/snapcraft.yaml
@@ -96,6 +96,7 @@ parts:
- lib64/*
- etc/ld.so.conf
- etc/ld.so.conf.d/*
+ - usr/share/doc/*/copyright*
override-stage: |
snapcraftctl stage
# fix symlinks of ld.so to be relative
@@ -116,6 +117,7 @@ parts:
cp -a fc-cache-xenial $SNAPCRAFT_PART_INSTALL/bin/fc-cache-v6
prime:
- bin/fc-cache-v6
+ - usr/share/doc/*/copyright*
# the version in Ubuntu 18.04 (cache v7)
fontconfig-bionic:
plugin: nil
@@ -127,3 +129,4 @@ parts:
cp -a fc-cache-bionic $SNAPCRAFT_PART_INSTALL/bin/fc-cache-v7
prime:
- bin/fc-cache-v7
+ - usr/share/doc/*/copyright*