Move systemd to a separate snap part

This commit is contained in:
Ilya Fedin 2023-08-22 04:09:37 +04:00 committed by John Preston
parent ed8c8aba17
commit 2af4b2b512

View file

@ -130,7 +130,6 @@ parts:
- libxcb-screensaver0 - libxcb-screensaver0
- zlib1g - zlib1g
- glib-networking - glib-networking
- systemd
cmake-generator: Ninja cmake-generator: Ninja
cmake-parameters: cmake-parameters:
- -DCMAKE_BUILD_TYPE=Release - -DCMAKE_BUILD_TYPE=Release
@ -159,8 +158,6 @@ parts:
rm -rf "$CRAFT_PART_INSTALL/usr/share/icons" rm -rf "$CRAFT_PART_INSTALL/usr/share/icons"
stage: stage:
- -./usr/lib/$CRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2 - -./usr/lib/$CRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
prime:
- -./lib/systemd
after: after:
- ffmpeg - ffmpeg
- libjxl - libjxl
@ -531,6 +528,13 @@ parts:
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so - -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so
- -./usr/share - -./usr/share
systemd:
plugin: nil
stage-packages:
- systemd
stage:
- ./usr/bin/systemd-detect-virt
webrtc: webrtc:
source: https://github.com/desktop-app/tg_owt.git source: https://github.com/desktop-app/tg_owt.git
source-depth: 1 source-depth: 1