Commit Graph

323 Commits

Author SHA1 Message Date
Michael Biebl
b3b5b90529 Remove duplicate files 2013-07-18 16:54:15 +02:00
Michael Biebl
c3873876ac Add .install files for the udev packages
They are basically a copy from the old udev package.
Also update the systemd.install file.

Two important issues:
- Since we are using dh_installinit --sourcedirectory now (for the
  flavours), we can no longer install files from debian/ via .install
  and need to do that manually via debian/rules.
- Splitting up systemd and udev is rather cumbersome as they have many
  shared directories. Instead of listing each file individually, we
  allow that some files are installed twice and remove them later on via
  debian/rules.
2013-07-18 16:54:10 +02:00
Michael Biebl
b49fe705a3 Build two flavours
a regular build and one for the udev udebs with reduced dependencies.
2013-07-18 15:28:03 +02:00
Michael Biebl
15758c3bd8 Rename udev-gtk-udeb → libudev1-udeb
to better reflect its actual contents
2013-07-17 20:24:08 +02:00
Michael Biebl
9d0e1d84f4 Rename conffiles for logind and journald 2013-07-17 20:24:08 +02:00
Michael Biebl
8af0f8a1f5 Remove obsolete bash-completion scripts on upgrades
Nowadays they are installed in /usr/share/bash-completion/completions.
2013-07-17 20:24:08 +02:00
Michael Biebl
b64e2e5e38 Tighten Depends on libsystemd-id128-dev for libsystemd-journal-dev as per libsystemd-journal.pc. 2013-07-17 20:24:08 +02:00
Michael Biebl
1e86aae107 Enable python bindings for the systemd libraries
and ship them in a new package named python-systemd.
2013-07-17 20:23:51 +02:00
Michael Biebl
4871634c6a Run gtkdocize on autoreconf.
This is now required since we are building gtk-doc based documentation.
2013-07-17 20:20:34 +02:00
Michael Biebl
ff6205062c Update symbols files
libudev now uses symbols versioning as the other libsystemd libraries.
The libgudev-1.0-0 symbols file has been copied from the old udev package.
2013-07-17 20:20:34 +02:00
Michael Biebl
292ed6dbac Rename libudev0 → libudev1 for the SONAME bump. 2013-07-17 20:20:34 +02:00
Michael Biebl
a2b8cfa13c Use gir dh addon to ensure ${gir:Depends} is properly set. 2013-07-17 20:20:33 +02:00
Michael Biebl
b8edca7465 Update Build-Depends
- Drop libudev-dev, no longer required.
- Add gtk-doc-tools and libglib2.0-doc for the API documentation in
  libudev and libgudev.
- Add libgirepository1.0-dev and gobject-introspection for GObject
  introspection support in libgudev.
- Add libgcrypt11-dev for encryption support in the journal.
- Add libblkid-dev for the blkid udev builtin.
2013-07-17 20:20:33 +02:00
Michael Biebl
d943c214d7 Explicitly set Section and Priority for the udev binary package. 2013-07-17 20:20:33 +02:00
Michael Biebl
bfda5c156f Add Depends on libpam-runtime (>= 1.0.1-6) to libpam-systemd
as we are using pam-auth-update.

https://wiki.ubuntu.com/PAMConfigFrameworkSpec#module_package_implementation
2013-07-17 20:20:33 +02:00
Michael Biebl
57395a9947 Drop our faketime hack
Upstream uses a custom xsl style sheet now to generate the man pages
which no longer embeds the build date.
2013-07-17 20:20:33 +02:00
Michael Biebl
6f61866a96 The hwdb builtin has replaced pci-db and usb-db in udev
Drop the Recommends on pciutils and usbutils accordingly.
2013-07-17 20:20:33 +02:00
Michael Biebl
cd3f2c02ce Make libgudev-1.0-dev depend on gir1.2-gudev-1.0
as per GObject introspection mini-policy.  Closes: #691313
2013-07-17 20:20:33 +02:00
Michael Biebl
7ffbf10c80 Drop old Conflicts, Replaces and Breaks, which are no longer necessary. 2013-07-17 20:20:33 +02:00
Michael Biebl
238dae120d Don't hard-code Pre-Depends in udev but use ${misc:Pre-Depends} instead
Also drop the hard-coded Depends on libglib2.0-0 from gir1.2-gudev-1.0.
2013-07-17 20:20:33 +02:00
Michael Biebl
2ede64711e Wrap dependencies for better readability. 2013-07-17 20:20:33 +02:00
Michael Biebl
a74a316769 Add binary packages as found in the udev 175-7.2 source package. 2013-07-17 20:20:33 +02:00
Michael Biebl
ffd5b9a0e7 Drop Suggests on the various python packages from systemd
The systemd-analyze tool has been reimplemented in C.
2013-07-17 20:20:33 +02:00
Michael Biebl
0961d9284e Add Marco to Uploaders. 2013-07-17 20:20:29 +02:00
Michael Biebl
a980748924 New upstream release
New upstream release.  Closes: #675175, #675177
- In v183 the udev sources have been merged into the systemd source tree.
  As a result, the udev binary packages will now be built from the systemd
  source package.
2013-07-17 17:00:21 +02:00
Michael Biebl
bb7d767053 Release version 44-12 to unstable 2013-06-20 01:32:36 +02:00
Michael Biebl
193016badc Stop building the GUI bits.
They have been split into a separate source package called systemd-ui.
2013-06-20 01:31:37 +02:00
Michael Biebl
389037ee07 Set Maintainer to pkg-systemd-maintainers@lists.alioth.debian.org.
Add Tollef and myself as Uploaders.
2013-06-20 01:19:38 +02:00
Michael Biebl
10952c547d Update the checks which test if systemd is the active init.
The recommended check is [ -d /run/systemd/system ] as this will also
work with a standalone systemd-logind.
2013-06-20 01:17:00 +02:00
Michael Biebl
445f8dfd5b If the new init-system-helpers package is installed, make the debian-enable-units script a no-op.
The auto-enabler was meant as a temporary workaround and will be
removed once all packages use the new helper.
2013-06-20 01:17:00 +02:00
Michael Biebl
7741086a26 Update changelog 2013-06-20 01:16:55 +02:00
Michael Biebl
f6e97c22b0 Release version 44-11 to unstable 2013-03-13 08:05:11 +01:00
Michael Biebl
c8b9df6d6a Do not fail on purge if /var/lib/systemd is empty and has been removed by dpkg. 2013-03-13 08:05:01 +01:00
Michael Biebl
18f7c29919 Remove mountoverflowtmp.service from remount-rootfs.service
The mountoverflowtmp SysV init script no longer exists so remove that
service from remount-rootfs.service to avoid an unnecessary diff to
upstream.
2013-03-13 08:00:13 +01:00
Michael Biebl
0d5295a1b0 Run debian-enable-units.service after sysinit.target
to ensure our tmp files aren't nuked by systemd-tmpfiles.
2013-03-13 07:57:11 +01:00
Michael Biebl
ac80848d82 Release version 44-10 to unstable 2013-02-15 17:01:41 +01:00
Michael Biebl
961bfb6494 Update changelog 2013-02-15 17:00:58 +01:00
Michael Biebl
ca27164258 Don't try to enable masked services
Using the return code of "systemctl is-enabled" to determine whether we
enable a service or not is unreliable since it also returns a non-zero
exit code for masked services. As we don't want to enable masked services,
grep for the string "disabled" instead.
2013-02-15 17:00:07 +01:00
Michael Biebl
34b3c2b709 Release version 44-9 to unstable 2013-02-15 13:36:37 +01:00
Michael Biebl
9aade294d2 Update changelog 2013-02-15 13:35:34 +01:00
Michael Biebl
e1dabec4d1 Blacklist more services which shouldn't be enabled automatically 2013-02-15 13:22:09 +01:00
Michael Biebl
d7e5781795 Use a file trigger to automatically enable service and socket units
A lot of packages simply install systemd units but do not enable them.
Running "systemctl enable" in the maintainer scripts is not really an
option since it is not guaranteed that systemd is installed. We
therefore implement a workaround for wheezy which is supposed to go away
in jessie once we have the necessary tools support in debhelper etc.

What the proposed workaround does is:
- Install a dpkg file trigger for /lib/systemd/system which triggers a
  script named /lib/systemd/debian-enable-units every time a package
  installs a systemd unit.
- Run this script also upon initial installation of systemd and once on
  upgrades from earlier releases.

The script in particular does the following:
- Run "systemctl enable" for each service or socket it finds in
  /lib/systemd/system but does that only once, so the administrator can
  disable them if wanted.
- Record the state and installed symlinks. When a package shipping
  systemd units is uninstalled, we remove those symlinks again.
- Use a blacklist for internal services.
- If systemd is not the active init, it will only create a tag file
  and next time we boot with systemd, the script will be run early
  during boot. For that we install a service named
  debian-enable-units.service which is run in basic.target.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692150
2013-02-09 16:42:15 +01:00
Michael Biebl
8b1dbbaddd Update changelog 2013-02-09 16:41:25 +01:00
Michael Biebl
96b9c5c2a0 Update changelog 2013-02-09 16:27:42 +01:00
Michael Biebl
14d2386990 Release version 44-8 to unstable 2013-01-19 20:05:42 +01:00
Michael Biebl
78266b5917 Don't enable persistent storage of journal log files.
The journal in v44 is not yet mature enough.
2013-01-19 15:40:12 +01:00
Michael Biebl
81b35386de Update changelog 2013-01-19 15:38:55 +01:00
Michael Biebl
b5180ca519 Release version 44-7 to unstable 2012-12-21 00:15:57 +01:00
Michael Biebl
ddd0b7efe4 Fix a regression in the init-functions hook wrt reload handling
that was was introduced when dropping the X-Interactive hack.
Closes: #696355
2012-12-20 02:26:49 +01:00
Michael Biebl
77e933b50e Fix prerm to only err out on remove 2012-12-16 22:24:42 +01:00