Ship a static libsystemd.a
Bug #2012437 reported by
Serge Hallyn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Low
|
Nick Rosbrook |
Bug Description
More and more things are requiring linking against libsystemd. In particular, because dbus is now linked against libsystemd, anything that wants to make a dbus client call needs it. By not shipping a static libsystemd.a, all such users are prevented from building statically. This includes tools like the lxc-init container init, and stacker container build tool, which both want to be re-execed inside a container which may have completely different - or no - distro.
With the attached debdiff, libsystemd-dev ships a libsystem.a so tools can be built statically.
The package has been built (for lunar) with this debdiff at ppa:serge-
Related branches
~enr0n/ubuntu/+source/systemd:ubuntu-next
Merged
into
~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-mantic
at
revision 974bda108fcb8eac9b9e408d259a850607c9df80
- Lukas Märdian: Approve
-
Diff: 356 lines (+271/-1)11 files modifieddebian/changelog (+30/-0)
debian/libsystemd-dev.install (+1/-0)
debian/patches/lp2009743/network-dhcp4-do-not-ignore-the-gateway-even-if-the-desti.patch (+57/-0)
debian/patches/lp2009743/test-network-add-one-more-testcase-for-DHCPv4-classless-r.patch (+33/-0)
debian/patches/lp2013543-core-reorder-systemd-arguments-on-reexec.patch (+57/-0)
debian/patches/meson.build-disable-Wformat-overflow-on-gcc-with-O3.patch (+26/-0)
debian/patches/series (+4/-0)
debian/rules (+1/-0)
debian/systemd.postinst (+17/-1)
debian/tests/build-with-static-libsystemd (+38/-0)
debian/tests/control (+7/-0)
~enr0n/ubuntu/+source/systemd:ubuntu-lunar
On hold
for merging
into
~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-lunar
- Canonical Foundations Team: Pending (slyon) requested
-
Diff: 40 lines (+13/-0)3 files modifieddebian/changelog (+11/-0)
debian/libsystemd-dev.install (+1/-0)
debian/rules (+1/-0)
Changed in systemd (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | removed: foundations-todo |
To post a comment you must log in.
Thanks for preparing this patch, Serge. I have converted it into a git commit and will make sure it is in the next upload of systemd. I will also forward this to Debian, since this is something they will want too.