Commit Graph

198 Commits

Author SHA1 Message Date
Michael Biebl
be383771b2 Drop libsystemd-login-dev
All reverse dependencies have been updated to use libsystemd-dev directly.
2015-09-09 16:49:59 +02:00
Martin Pitt
b2b6f2951e Rework networkd ifupdown integration
Drop networkd-if-up.d@.service and its invocation from net.agent again. It does
not work when restarting networkd and requires too much overhead.

Instead, add a suid root helper systemd-networkd-dispatcher which calls
run-parts, and patch networkd to run the wrapper at the appropriate time.

Add reference to LP: #1492129.
2015-09-09 10:46:46 +02:00
Martin Pitt
c700f841e7 Drop udev-finish
We needed this for the autogenerated CD and network interface names, but both
are gone now.
2015-09-04 08:09:38 +02:00
Michael Biebl
3050fc85d6 Rely on build profiles to determine which packages should be skipped during build
and no longer specify that manually.
2015-08-30 21:55:28 +02:00
Michael Biebl
5e056e1ab2 Enable GnuTLS support as systemd-journal-remote makes sense mostly with encryption enabled 2015-08-30 21:55:26 +02:00
Michael Biebl
9ffc8643e7 Explicitly turn off the features we don't want in a stage1 build
Otherwise ./configure might enable them automatically if the build
dependencies are installed and "dh_install --fail-missing" will then
fail due to uninstalled files.
2015-08-30 20:38:59 +02:00
Martin Pitt
0f48354023 debian/rules: Add missing $(dh_options) in overridden debhelper targets 2015-08-27 13:39:55 +02:00
Martin Pitt
99cf1af29c Don't enable audit support when building with "stage1" profile
This avoids a circular build dep.
2015-08-25 12:33:56 +02:00
Martin Pitt
1d3bbb89f0 debian/rules: Add missing separator 2015-08-25 08:57:06 +02:00
Martin Pitt
bb597f2f17 Don't build systemd-{container,journal-remote} for stage1 profile
Restrict the recently introduced build deps to !stage1 and don't build
systemd-container and systemd-journal-remote binaries in stage1.

This helps boostrapping and cross-building.
2015-08-25 08:05:03 +02:00
Michael Biebl
52758faa6f Add new binary package "systemd-journal-remote"
This contains tools for sending/receiving remote journal logs:
systemd-journal-{remote,upload,gatewayd}.

Closes: #742802
LP: #1480952
2015-08-25 07:51:40 +02:00
Martin Pitt
1007d6c5f1 debian/rules: Limit check for libraries in /usr to systemd and udev packages
Other packages like systemd-containers can (and do) link to /usr.
2015-08-25 07:35:34 +02:00
Michael Biebl
61109a7cfa Small typo fixes 2015-08-24 14:07:08 +02:00
Michael Biebl
e7e3ca81db Revert "Add whitespace to separate profile options"
This reverts commit ef61337476.

make's += already does the right thing and inserts a space.
While at it, unify variable assignment a bit.
2015-08-24 13:59:23 +02:00
Martin Pitt
9191dc92ce Split out "systemd-container" package with machined and nspawn and enable importd
Add new libbz2-dev, zlib1g-dev, and libcurl-dev build deps.

LP: #1448900
2015-08-22 16:51:12 +02:00
Michael Biebl
6dfd6d2d95 Fix apparmor configure flag to use the correct name
This fixes commit b7eb246 which broke that by accident.
2015-08-22 12:32:53 +02:00
Michael Biebl
0aa3ff6400 Drop obsolete --disable-python-devel configure flag
This configure option was removed when the Python bindings were split
off in v223.
2015-08-22 12:28:31 +02:00
Martin Pitt
7ea158e35d Fix "noudeb" handling in DEB_BUILD_OPTIONS
Fix commit a2d0d8e61 which has an inverted condition.
2015-08-22 11:36:44 +02:00
Martin Pitt
1e34d7fdeb debian/rules: Remove all files/empty dirs in systemd which are already shipped by systemd-* or udev
This replaces the explicit rm list. This makes a future package split easier.
2015-08-22 11:34:56 +02:00
Michael Biebl
ef61337476 Add whitespace to separate profile options 2015-08-18 17:55:06 +02:00
Michael Biebl
b7eb246c63 Extend stage1 profile to apparmor and annotate build depends 2015-08-18 16:55:07 +02:00
Michael Biebl
a2d0d8e615 Turn noudeb build option into build profile 2015-08-18 16:52:32 +02:00
Martin Pitt
5e9b2e2d99 Restrict gnu-efi to available architectures
gnu-efi is only available on a handful of architectures, so adjust the build
dependency. Drop the --enable-gnuefi configure option and rely on
auto-detection on these architectures.
2015-07-28 05:44:34 +02:00
Martin Pitt
378a828a0a Enable GNU EFI support and add gnu-efi build dep
This enables/ships the systemd EFI boot loader.

Closes: #787720
2015-07-26 12:39:04 +02:00
Michael Biebl
a0d5a61155 Drop libsystemd-journald-dev and libsystemd-id128-dev
There are no reverse dependencies left and we want to avoid new packages
picking up a build dependency on those obsolete transitional packages.
2015-07-15 23:49:55 +02:00
Michael Biebl
4657486420 Fix cleanup rule for Python byte code files 2015-07-08 18:55:49 +02:00
Michael Biebl
4690933cd6 Drop rules which remove pre-generated files before build
The upstream tarball no longer ships any pre-generated files so this is
no longer necessary.
2015-07-08 18:53:18 +02:00
Michael Biebl
d0dc85fce8 Move a few files into their correct packages
Move the man pages for libnss-myhostname, libnss-mymachines and
udev.conf from systemd into the correct package. Move the zsh completion
file for udevadm into the udev package as well. Add Breaks/Replaces
accordingly.

Closes: #790879
2015-07-08 18:49:15 +02:00
Michael Biebl
4d51c12c6f Remove obsolete --disable-chkconfig configure option
chkconfig support was dropped in v221 in favour of calling an
abstraction tool /lib/systemd/systemd-sysv-install which distros need to
implement.
2015-07-08 17:24:56 +02:00
Michael Biebl
3eabc6e726 Stop building the Python 3 bindings
They were split into a separate source package upstream and are now
built from src:python-systemd. See
http://lists.freedesktop.org/archives/systemd-devel/2015-July/033443.html

We keep a Build-Depends on python3 which is required to build the
documentation.
2015-07-08 17:21:51 +02:00
Martin Pitt
39c2fc412d debian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in the link check
To also avoid libeatmydata.

Closes: #790546
2015-06-30 06:46:28 +02:00
Martin Pitt
71ce671632 udev: Drop doc dir symlinking
It has caused too much trouble and only marginally helps to avoid duplication.
Such duplication should be dealt with at the distro, not package level.
2015-06-29 17:18:48 +02:00
Martin Pitt
2e817ad015 debian/rules: Install udev.NEWS into libudev1
To get along with Debian's udev -> libudev1 doc dir symlinking.

Closes: #790042
2015-06-28 12:05:08 +02:00
Martin Pitt
d45a2cb8f9 debian/rules: Fix paths in manpages
We don't currently have a merged /usr in Debian but have most systemd things in
/lib. This replaces the previous huge and maintenance-intense patch.
2015-06-22 19:22:22 +02:00
Martin Pitt
045815f336 Drop obsolete gtk-doc-tools build dependency, gtkdocize autoreconfig, and ./configure options 2015-06-22 17:46:05 +02:00
Martin Pitt
c7cbabe2b6 New upstream release 221
- Fix persistant storage links for Xen devices. (LP: #1467151)
 - Drop all backported patches and port the others to new upstream release.
 - debian/rules: Drop workarounds for broken 220 tarball, 221 is fine.
2015-06-22 17:46:05 +02:00
Michael Biebl
cb976c0abb Make it possible to skip building udeb packages via DEB_BUILD_OPTIONS="noudeb"
This allows quicker builds for local testing and is benefical for
derivatives that don't use d-i.

Thanks Simon McVittie for the idea.
2015-06-18 16:40:43 +02:00
Martin Pitt
66439fe3ea Link check: test "systemd" binary as well, show binaries 2015-06-17 11:42:03 +02:00
Martin Pitt
c992598b78 Don't run link check with nocheck build option to avoid breaking cross-builds 2015-06-17 11:21:29 +02:00
Martin Pitt
5a33d4b966 Also check during build that other binaries do not link against /usr
This is particularly important for udev. It's not required for e. g. logind or
machined, but as currently none of these link against /usr let's keep this
strict for now and adjust it once we need it.
2015-06-17 10:02:05 +02:00
Martin Pitt
24b267b53c Check during build that systemd and systemd-journald don't link against anything in /usr
This prevents bugs like #771652 and #788913 in the future.
2015-06-17 08:00:45 +02:00
Martin Pitt
5a9a0e7d25 Stop installing tmp.mount by default
There are still situations where it becomes active through dependencies from
other units, which is surprising, hides existing data in /tmp during runtime,
and it isn't safe to have a tmpfs /tmp on every install scenario.

  - d/rules: Ship tmp.mount in /usr/share/systemd/ instead of
    /lib/systemd/systemd.
  - systemd.postinst: When tmp.mount already was enabled, install tmp.mount
    into /etc and keep it enabled.
  - systemd.postinst: When enabling tmp.mount because of RAMTMP=yes, copy it
    from /usr/share.
  - Drop Don-t-mount-tmp-as-tmpfs-by-default.patch and
    PrivateTmp-shouldn-t-require-tmpfs.patch, not necessary any more.

Closes: #783509
2015-06-11 09:13:34 +02:00
Martin Pitt
d2504c4c4d Enable seccomp support
Restrict the build dep on the architectures that provide libseccomp. This is
also why we can't configure with --enable-seccomp explicitly but rely on
auto-detection.

Closes: #760299
2015-06-10 07:55:43 +02:00
Martin Pitt
812293bee7 Disable EFI support for udeb build 2015-06-06 16:00:40 +02:00
Martin Pitt
865ca5e8b7 Ignore test failures during build if /etc/machine-id is missing
This is the case in a few buildd chroots still.

Closes: #787258
2015-06-03 08:58:13 +02:00
Martin Pitt
ee26dbafd6 Ignore test failures on mipsel
The three failures are not reproducible on the porter box (different kernel?).

See #787258, which we downgrade to important with this.
2015-06-01 07:17:45 +02:00
Michael Biebl
697bcdb271 Cleanup up some leftover bits after the gudev removal
Those were missed in ff3e6f6.
2015-05-29 10:09:53 +02:00
Martin Pitt
6ced9cb735 Use Ubuntu's default NTP server for timesyncd when building on Ubuntu 2015-05-29 10:00:12 +02:00
Michael Biebl
ff3e6f6fc8 Stop building gudev packages
Upstream has moved the gudev code into a separate repository which is
now managed on gnome.org. The gudev packages will be built from
src:libgudev from now on. See also
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032070.html
2015-05-29 09:48:46 +02:00
Martin Pitt
8e9833a6f2 Drop buildsys-Don-t-default-to-gold-as-the-linker.patch
Set LD in debian/rules on sparc only.

This can be dropped entirely once we build GUdev from a separate source.
2015-05-28 07:46:28 +02:00