Skip to content

Commit

Permalink
Merge pull request #9755 from wolfi-dev/fix/systemd-packaging
Browse files Browse the repository at this point in the history
systemd: put libsystemd back in /lib, use meson pipelines fully
  • Loading branch information
kaniini authored Dec 11, 2023
2 parents 0f40940 + e52c1d9 commit 96b5e6e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions systemd.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: systemd
version: "255"
epoch: 1
epoch: 2
description: The systemd System and Service Manager
copyright:
- license: LGPL-2.1-or-later AND GPL-2.0-or-later
Expand Down Expand Up @@ -37,12 +37,14 @@ pipeline:

- uses: meson/configure

- runs: |
meson setup build/
ninja -C build/
- uses: meson/compile

- uses: meson/install

- runs: |
mkdir -p ${{targets.destdir}}/lib
mv ${{targets.destdir}}/usr/lib/libsystemd.so* ${{targets.destdir}}/lib/
subpackages:
- name: "systemd-dev"
description: "headers for systemd"
Expand All @@ -53,8 +55,8 @@ subpackages:
description: "systemd library"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libsystemd.so* ${{targets.subpkgdir}}/usr/lib
mkdir -p ${{targets.subpkgdir}}/lib
mv ${{targets.destdir}}/lib/libsystemd.so.* ${{targets.subpkgdir}}/lib
update:
enabled: true
Expand Down

0 comments on commit 96b5e6e

Please sign in to comment.