[packaging/kde-buildstream] elements/components: containerd: fix paths in service file

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b3bd1398efa0cbf7ca9ee50a7d1f3799bb2f2af1 by Harald Sitter.
Committed on 31/07/2026 at 01:57.
Pushed by sitter into branch 'master'.

containerd: fix paths in service file

M  +4    -0    elements/components/containerd.bst

https://invent.kde.org/packaging/kde-buildstream/-/commit/b3bd1398efa0cbf7ca9ee50a7d1f3799bb2f2af1

diff --git a/elements/components/containerd.bst b/elements/components/containerd.bst
index 28c6b23..8b61804 100644
--- a/elements/components/containerd.bst
+++ b/elements/components/containerd.bst
@@ -19,6 +19,10 @@ depends:
 - freedesktop-sdk.bst:components/libseccomp.bst
 
 config:
+  configure-commands:
+  - |
+    # Use correct paths, we don't install to /usr/local
+    sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' containerd.service
   build-commands:
   - |
     export GOFLAGS='-trimpath -mod=vendor -modcacherw'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.