Commit Graph

176 Commits

Author SHA1 Message Date
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
Martin Pitt
7e6cca78a9 Add libnss-myhostname binary package
Taking over from the very old and unmaintained standalone source package as per
its maintainer's request.

Closes: #760514
2015-05-26 21:16:02 +02:00
Martin Pitt
9f485b1763 Add libnss-mymachines binary package
Closes: #784858
2015-05-26 21:13:01 +02:00
Martin Pitt
4480379901 debian/rules: Remove shipped keyboard-keys-from-name.gperf and regenerate it during build
This is a bug in the 220 tarball, see upstream report/discussion:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032161.html
2015-05-25 19:50:56 +02:00
Martin Pitt
b57e156f47 debian/rules: Remove shipped audit_type-to-name.h and regenerate it during build.
This is a build failure with the 220 tarball, see upstream report/discussion:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032148.html
2015-05-25 19:50:56 +02:00
Martin Pitt
8acd8dc8b5 Put back *.agent scripts and use net.agent in Ubuntu
This fixes escaping of unit names, reduces the delta, and will make it easier
to get a common solution for integrating ifup.d/ scripts with networkd.
2015-05-20 23:45:35 +02:00
Martin Pitt
d244639704 Drop Add-env-variable-for-machine-ID-path.patch
systemd should always be installed via the essential "init" in buildd schroots
now. So we should be able to rely on /etc/machine-id being present.
2015-05-12 07:42:39 +02:00
Martin Pitt
a2e44f9623 Revert "Enable libiptc support for networkd masquerading/NAT"
This reverts commit 4c9a3a0a02. This causes a new
dependency to iptables which pulls in ~ 3.5 MB on a minimal system. This should
be reconsidered when splitting networkd out into a new binary package.

Explicitly disable iptc support instead.
2015-02-17 15:48:55 +01:00
Martin Pitt
f420865976 Move systemd-hwdb manpages and units to udev
Follow-up fix for commit 471d9aaa2.
2015-02-17 14:20:34 +01:00
Martin Pitt
4c9a3a0a02 Enable libiptc support for networkd masquerading/NAT 2015-02-17 13:38:17 +01:00
Martin Pitt
d098d57bfb debian/rules: Explicitly disable importd for now, enable hwdb support
importd should still mature a bit. Eventually we might consider putting nspawn,
importd, and similar auxiliary utilities into a new binary package.
2015-02-17 13:24:51 +01:00
Michael Biebl
1849301f3f Stop removing firstboot man pages
They are now installed conditionally.
2015-02-17 12:46:01 +01:00
Michael Biebl
8984d3a4e2 Disable AppArmor support in the udeb build 2015-02-12 14:24:46 +01:00
Michael Biebl
0825d2f596 Explicitly disable the features we don't want to build for those with autodetection
This ensures reliable build results in dirty build environments.
2015-02-12 14:21:04 +01:00
Martin Pitt
435212f689 Drop seddery for getty-static.service
Check for existance of /lib/systemd/system/dbus.service instead of dbus-daemon,
which works on Debian and Ubuntu, and is slightly more correct too.
2015-02-09 17:21:05 +01:00
Martin Pitt
7e91ff76ae Revert "Fix logind startup condition to not hardcode dbus-daemon path"
This reverts commit 3b3c274551. Go back to using
a patch, and check for /lib/systemd/system/dbus.service instead.
2015-02-09 16:51:21 +01:00
Martin Pitt
3b3c274551 Fix logind startup condition to not hardcode dbus-daemon path
In Ubuntu dbus-daemon is in /bin, so use pkg-config to determine the path of
the daemon instead of hardcoding it. Use sed instead of a static patch.
2015-02-09 15:22:33 +01:00
Martin Pitt
6e147c0124 Statically start getty on tty2-6 without logind
Add getty-static.service unit which starts getty@.service on tty 2 to 6 if dbus
is not installed, and hence logind cannot auto-start them on demand.

Closes: #772700
2015-02-09 14:22:56 +01:00
Martin Pitt
2e3f65eb2b Actually install udev's README.Debian when building for Debian
Closes: #776546
2015-01-30 11:28:45 +01:00
Martin Pitt
9d94a8d6f7 debian/rules: Drop obsolete configure options
--disable-multi-seat-x and --with-firmware-path do not exist any more.
2015-01-29 08:35:22 +01:00
Michael Biebl
db9e8155ba Drop the obsolete libsystemd-* libraries
There are no reverse dependencies left.
2015-01-26 15:16:25 +01:00
Michael Biebl
3a46a22c47 Ship bash-completion for udevadm
Closes: #776166
2015-01-26 15:12:12 +01:00
Martin Pitt
787b0e3d70 Generate POT file during package build
This eases translator's work and enables automatic import into Launchpad
translations. It's not totally obvious how to build it as a simple
"make -C build-deb/po systemd.pot" does not work due to upstream commit
6fc00209d5.
2015-01-26 12:58:27 +01:00