Commit Graph

258 Commits

Author SHA1 Message Date
Martin Pitt
fbc31e073e Re-fix upstream version for upstream master builds
Commit d095cea broke UPSTREAM_VERSION for the shlibs file for upstream builds.
Re-fix like in commit d1cc137b.
2016-09-10 21:39:45 +02:00
Dimitri John Ledkov
d095ceaa50 Use idiomatic variables from dpkg include. 2016-09-09 14:21:06 +02:00
Michael Biebl
26187cfaa0 Enable iptables support
Closes: #787480
2016-08-24 13:13:00 +02:00
Martin Pitt
578cd314d6 Ship kernel-install
This is an implementation of the freedesktop.org boot loader spec:

   https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

Closes: #744301

Gbp-Dch: Short
2016-08-24 06:54:17 +02:00
Martin Pitt
4356f08e01 debian/rules: Put back cleanup of *.busname
This is still necessary as upstream still ships *.busname units.

Closes: #833487

This reverts commit fa607af7b4.
2016-08-12 08:00:14 +02:00
Martin Pitt
901ff1c664 Limit "link against /usr" check to some critical binaries only and add generators
-networkd, -timedated etc. can link against /usr.

Gbp-Dch: Short
2016-07-28 08:54:23 +02:00
Martin Pitt
fe6f39598e Revert "debian/rules: Ignore libcap-ng.so in the "does anything link against /usr" check"
libcap-ng 0.7.7-3 got moved to /lib so this is not necessary any more.

This reverts commit 0b7af9aab8.

Gbp-Dch: Ignore
2016-07-28 08:00:56 +02:00
Martin Pitt
d1cc137be7 debian/rules: Fix UPSTREAM_VERSION for upstream master builds
Only consider the first number instead of everything up to the last -, so that
shlibs.local will match the actual generated internal library name.

Gbp-Dch: Short
2016-07-26 21:42:43 +02:00
Martin Pitt
4c7ade0a69 Set Debian/Ubuntu downstream support URL in journal catalogs
Closes: #769187
2016-07-26 12:16:54 +02:00
Martin Pitt
65b8d9b166 Dynamically add upstream version to debian/shlibs.local 2016-07-26 12:16:54 +02:00
Martin Pitt
fa607af7b4 debian/rules: Drop obsolete cleanup of *.busname
Gbp-Dch: Ignore
2016-07-26 11:38:09 +02:00
Martin Pitt
106676a209 Add debian/extra/units-ubuntu/user@.service.d/timeout.conf
This avoids long hangs during shutdown if user services fail/hang due to X.org
going away too early. This is mostly a workaround, so only install for
Ubuntu for now.
2016-07-26 10:39:22 +02:00
Martin Pitt
36c58768f9 debian/rules: Drop BREAKS_RCS_COMPAT for upstream builds
Ubuntu 16.04 LTS does not yet have a new enough AppArmor, thus systemd is
uninstallable.

Gbp-Dch: Ignore
2016-07-21 19:39:04 +02:00
Felipe Sateler
8ab092df6f Add versioned breaks for packages shipping rcS init scripts 2016-07-20 16:31:09 +02:00
Michael Biebl
7e5afd7092 Tell dh_shlibdeps to look in the systemd package for libraries
Otherwise dpkg-shlibdeps fails to find libsystemd-shared as we no longer
create a shlibs file for it.
2016-07-08 11:07:48 +02:00
Michael Biebl
52177c004c Exclude libsystemd-shared from dh_makeshlibs
It's a private library which doesn't need an ldconfig trigger.
2016-07-07 15:05:52 +02:00
Michael Biebl
7f15fae093 Install test-udev binary into $libdir/udev/ not $libdir
Only libraries should be installed directly into $libdir.
2016-07-07 14:05:38 +02:00
Felipe Sateler
bce71faf35 Do not install libsystemd-shared.so symlink 2016-07-03 20:19:49 -04:00
Martin Pitt
0b7af9aab8 debian/rules: Ignore libcap-ng.so in the "does anything link against /usr" check
This works around libaudit1 recently gaining a new dependency against that
library (#828991). We have no influence on that ourselves. This fixes the FTBFS
in the meantime.
2016-07-01 09:14:47 +02:00
Martin Pitt
c916f7b21b debian/rules: Don't run the "anything links against /usr" check for upstream tests
Those run on Ubuntu 16.04 LTS which does not yet have libidn moved to /lib.
2016-06-22 23:24:34 +02:00
Laurent Bigonville
0c54be035d Build with IDN support
Closes: #814528
2016-06-22 15:00:55 +02:00
Martin Pitt
6c1d3771a0 Build systemd-sysusers binary
For using in rkt. Do not ship the corresponding unit and sysusers.d/ files yet,
as these need some Debianization and an autopkgtest.

Closes: #823322
2016-06-21 22:46:31 +02:00
Martin Pitt
8480ec97a2 Fix transaction restarting in resolved
This avoids async processing of free'd transactions. Patch taken from upstream
master.

Re-enable DNSSEC by default.

Closes: #817210
LP: #1587727, #1587740, #1587762, #1587740
2016-06-17 12:17:36 +03:00
Martin Pitt
e79d838e7b Install test-udeb from .libs
This avoids installing the automake shell wrapper after
https://github.com/systemd/systemd/pull/3516 lands.
2016-06-16 14:44:02 +03:00
Martin Pitt
b145d003bb debian/systemd-container.install: Drop *.busname installation
They are going away upstream (PR #3501)
2016-06-13 08:08:59 +03:00
Felipe Sateler
f4368de3ac Drop configure option --disable-compat-libs. It no longer exists. 2016-06-12 17:32:32 -04:00
Martin Pitt
2558ca883b On Ubuntu, provide an "ondemand.service" that replaces /etc/init.d/ondemand
The latter does not exist any more when "initscripts" falls out of the default
installation. This now does not do a fixed one-minute wait but uses "Type=idle"
instead. This also becomes a no-op when the CPU supports "intel_pstate" (≤ 5
years old), as on these the ondemand/powersave schedulers are actually
detrimental.

LP: #1584124
LP: #1579278
2016-06-08 11:16:12 +02:00
Martin Pitt
36899e76d5 resolved: Disable DNSSEC by default again, until the various crashes get fixed
Upstream bug: https://github.com/systemd/systemd/issues/2942

LP: #1587727
LP: #1587740
LP: #1587762
LP: #1587740
2016-06-02 09:32:57 +02:00
Martin Pitt
c11c9a4601 Re-disable logind's KillUserProcesses option by default
Closes: #825394
2016-05-29 21:53:46 +02:00
Michael Biebl
b2db856be0 Drop --disable-silent-rules from debian/rules
This is now handled by dh directly depending on whether the DH_QUIET
environment variable is set.
2016-05-26 05:58:38 +02:00
Martin Pitt
e44cd21d2c Don't add a Breaks: against usb-modeswitch when building on Ubuntu
There it does not use hotplug.functions and is a lower version.
2016-05-25 08:59:32 +02:00
Michael Biebl
668fc48a9a Drop obsolete --disable-bootchart configure switch from udeb build 2016-05-23 03:03:54 +02:00
Martin Pitt
fac547e93a Drop systemd-dbg
Move to debhelpers' automatic -dbgsym packages. Add corresponding
--dbgsym-migration package relation.
2016-04-26 22:42:42 +02:00
Martin Pitt
ed6b6a2f95 Don't ship an empty /etc/X11/xinit/xinitrc.d/ directory
This isn't supported in Debian.

Closes: #822198
2016-04-25 00:16:31 +02:00
Martin Pitt
145e73d877 Install test-udev into libudev-dev
So that we have it available for autopkgtests.
2016-04-06 10:03:24 +02:00
Felipe Sateler
f43b5c2a68 Set the paths of loadkeys and setfont via configure arguments, not a patch 2016-02-29 20:50:12 -03:00
Martin Pitt
dbb315b949 Add debian/extra/checkout-upstream
This is a script to replace the current source with a checkout of an upstream
pull request, branch, or commit, and remove debian/patches/. This also disables
autopkgtests which are not appropriate for testing upstream. Called from
debian/rules if $TEST_UPSTREAM is set.

This will be used for upstream CI.
2016-02-10 13:06:52 +01:00
Martin Pitt
21d7f9624b Move upstart conflicts back to static declarations
Revert the dynamism from commit 98ddec8f, and use the Ubuntu version. I. e.,
add systemd-sysv conflict to upstart-sysv, and version the upstart conflict.
This works with both Debian's and Ubuntu's upstart packages.
2016-02-03 09:36:46 +01:00
Martin Pitt
98ddec8f56 Determine systemd-sysv's upstart Conflicts: on build time
Use upstart-sysv when building on Ubuntu and upstart on Debian. This used to be
a delta in the Ubuntu branch, but breaks down when trying to do upstream build
tests with Debian's packaging in an Ubuntu VM (we can't yet run upstream tests
on Debian's CI).
2016-02-02 00:10:30 +01:00
Martin Pitt
6e0852e8d1 Support building packages from upstream master
debian/rules: If $TEST_UPSTREAM is set (when building/testing upstream master
instead of distro packages), don't fail on non-installed new files or new
library symbols.
2016-02-01 22:40:41 +01:00
Martin Pitt
032c1526f8 Drop Fix-up-tmpfiles.d-permissions-properly.patch
- /run/lock is already created differently by
   Make-run-lock-tmpfs-an-API-fs.patch, and contradicts to that.
 - /run/lock/lockdev/ isn't being used anywhere and will be dropped
   upstream soon; apply that patch separately as
   tmpfiles-drop-run-lock-lockdev.patch.
 - Move dropping of "group:wheel" (which has never existed in Debian) into
   debian/rules, to also catch occurrences in other parts of the file which
   the static patch would overlook. This should ideally be fixed upstream
   (https://github.com/systemd/systemd/issues/2492)

Remove the hack in debian/tests/boot-and-services as this is now unnecessary.
2016-02-01 13:36:09 +01:00
Martin Pitt
832bc79e08 Drop halt-local.service
This has never been documented/used in Debian, so instead of changing the path
in the previous commit, drop it completely.
2016-01-18 17:08:40 +01:00
Martin Pitt
944c47b1d8 Use /etc/halt.local instead of /usr/sbin/halt.local for halt-local.service
This has never been documented in Debian, but /usr/sbin is a bad place for this
and this corresponds to /etc/rc.local.

LP: #1532553
2016-01-18 15:47:05 +01:00
Martin Pitt
d94cda1921 Drop systemd-vconsole-setup.service
It has never been installed/used in Debian and is not necessary for Ubuntu any
more.
2016-01-11 14:00:47 +01:00
Martin Pitt
fb95f432e1 Adjust manpages to keep /usr/lib/systemd/{user*,boot,ntp-units.d,modules*} paths
Only keep /lib/systemd/{system*,network}.

Closes: #808997
2015-12-30 13:15:29 +01:00
Martin Pitt
bb42ca5806 Ignore test failures during "make check" if /etc/machine-id is missing
This does not happen on the buildds any more, but still in ancient local
schroots which have SysV.

Closes: #807884
2015-12-14 07:41:56 +01:00
Michael Biebl
34165f8d34 Drop unneeded /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
...from the package and clean up the conffile on upgrades. We have the
dbus-user-session package in Debian to properly enable the D-Bus
user-session mode which also takes care of updating the systemd --user
environment.

Closes: #795761
2015-11-24 16:27:23 +01:00
Martin Pitt
aa4c360aa0 debian/rules: Rewrite kernel check using "linux-version"
This is cleaner than using dpkg --compare-versions, although the difference
should be rather academic for this purpose.
2015-11-19 12:58:37 +01:00
Martin Pitt
71486da4ef debian/rules: Remove temporary debug output from test failures again, check kernel version
All Debian buildd kernels are recent enough now and tests succeed.

Add a check for kernels older than 3.13 and ignore test failures for those.
Some Ubuntu/PPA buildds still have ancient 3.2 kernels on armhf and powerpc.
2015-11-19 12:16:07 +01:00
Felipe Sateler
7c55c6c142 Enable elfutils 2015-11-12 17:50:40 +01:00