fix(systemd)

closes #6400
This commit is contained in:
Jacob Heider 2024-06-11 18:19:42 -04:00 committed by Jacob Heider
parent 949cd38015
commit e5608baccc

View file

@ -1,10 +1,9 @@
distributable: distributable:
url: https://github.com/systemd/systemd/archive/refs/tags/v{{version.raw}}.tar.gz url: https://github.com/systemd/systemd/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: systemd/systemd github: systemd/systemd
strip: /v/
platforms: platforms:
- linux - linux
@ -44,7 +43,18 @@ build:
- meson setup $ARGS build - meson setup $ARGS build
- meson compile -C build - meson compile -C build
- meson install -C build - meson install -C build
- make --jobs {{ hw.concurrency }} install - run: |
if test -d systemd; then
mv systemd/* .
rmdir systemd
ln -s . systemd
fi
working-directory: '{{prefix}}/include'
- run: |
if test -d systemd; then
ln -s systemd/lib* .
fi
working-directory: '{{prefix}}/lib'
env: env:
ARGS: ARGS:
- --sysconfdir={{prefix}}/etc - --sysconfdir={{prefix}}/etc
@ -117,5 +127,4 @@ provides:
- sbin/shutdown - sbin/shutdown
- sbin/telinit - sbin/telinit
test: | test: "systemd-path | grep 'temporary: /tmp'"
systemd-path | grep 'temporary: /tmp'