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
Michael Biebl
c7e614efe9
Remove leftover bits from sd-readahead
...
The readahead functionality was removed in v217. Remove leftover bits
from ca3e157bc2 which was installing the
man pages as example files.
2015-01-24 23:45:50 +01:00
Martin Pitt
93fe4ec754
Enable EFI support
...
This mostly auto-mounts /sys/firmware/efi/efivars, but also provides a
generator for auto-detecting the root and the /boot/efi partition if they
aren't in /etc/fstab.
Closes : #773533
2015-01-22 14:49:33 +01:00
Martin Pitt
7323d572f0
Don't install the Debian *.agent scripts when building on Ubuntu
...
They were never supported there. Instead, have Ubuntu's
80-networking.rules directly pull in ifup@.service, which is much easier and
more efficient.
2015-01-22 12:05:51 +01:00
Martin Pitt
3ce70c0b3d
Add 40-hyperv-hotadd.rules when building on Ubuntu
...
Workaround for https://launchpad.net/bugs/1233466 .
2015-01-22 12:05:29 +01:00
Martin Pitt
9e1d0901b5
Clean up Debian specific file installation
...
In debian/rules, remove manual file installation. Move them to
debian/*.install.
Move all Debian specific installed files to debian/extra/.
2015-01-22 09:46:15 +01:00
Martin Pitt
03391465aa
debian/rules: Configure with --disable-firstboot
...
This replaces some manual file removals.
2015-01-22 08:26:43 +01:00
Martin Pitt
14db885715
Drop logger.agent
...
It hasn't been called from any udev rule for a long time, and looks obsolete.
2015-01-22 08:01:00 +01:00
Martin Pitt
27ff1ed810
Use dh_installinit's --noscript instead of --no-start for the upstart jobs
...
So that the postinst does not try and call update-rc.d on them; as there are no
corresponding sysvinit scripts, these trigger a lintian warning.
2014-12-28 12:31:13 +01:00
Martin Pitt
64c3c357bf
Add debian/extra/systemd-vconsole-setup.service dependency shim
...
This depends on the console-setup init script, to avoid breaking dependencies
of third-party packages which need this service, until we actually enable
systemd-vconsole.
Install it for Ubuntu only for now, as in Debian plymouth's unit got adjusted.
LP: #1392970
Debian #755194
2014-12-17 11:06:31 +01:00
Martin Pitt
cdd04c8a4c
Make test suite failures fatal
...
Disable tests which fail on buildds, presumably due to too old kernels,
misconfigured /etc/hosts, and similar problems. Make failures of the test suite
fatal now.
2014-12-16 08:22:22 +01:00
Martin Pitt
b1fb605913
Add Apport hooks for udev and systemd when building on Ubuntu
2014-12-14 13:47:32 +01:00
Martin Pitt
f73debca49
Add epoch to gudev packages when building on Ubuntu
...
Ubuntu packaged the standalone gudev before it got merged into udev.
2014-12-14 13:47:32 +01:00
Martin Pitt
4f13c3718f
Don't symlink udev doc directories when building on Ubuntu
...
This is a permanent Ubuntu change, thus reduce the delta a bit by using
dpkg-vendor.
2014-12-14 13:47:32 +01:00
Martin Pitt
0638d09c40
Configure with --enable-split-usr
2014-12-12 21:36:55 +02:00
Martin Pitt
565eb746c3
Add userspace firmware loader stub
...
Reinstate a debian/extra/rules/50-firmware.rules which immediately tells the
kernel that userspace firmware loading failed. Otherwise it tries for a minute
to call the userspace helper (if CONFIG_FW_LOADER_USER_HELPER is enabled) in
vain, which causes long delays with devices which have a range of possible
firmware versions. (LP: #1398458 )
2014-12-02 18:53:08 +01:00
Martin Pitt
0bebba1f40
Re-enable systemd-resolved
...
This wasn't meant to break the entire networkd, just disable the new NSS
module. Remove that one manually instead.
Closes : #771423
LP: #1397361
2014-12-01 12:49:32 +01:00
Martin Pitt
066296d523
Don't install libnss_mymachines
...
We currently disable machined, so don't ship the NSS module either for now.
2014-11-28 10:52:32 +01:00
Martin Pitt
fdfea9768d
debian/rules: Call dpkg-gensymbols with -c4
...
With that we immediately spot changed/missing symbols during build.
2014-11-28 10:52:32 +01:00
Martin Pitt
9b2994037e
Don't install systemd-firstboot
...
Don't ship systemd-firstboot for now. We rather want debconf, and this needs to
be adjusted to Debian config files.
2014-11-28 10:52:32 +01:00
Martin Pitt
038fc58bd4
Don't install /usr/share/factory
...
We don't want the upstream files there; once we use this, use the
Debian PAM/NSS config.
2014-11-28 10:52:32 +01:00
Martin Pitt
01dd876967
Drop installation of readahead related services and code
...
Readahead got dropped in this version.
2014-11-28 10:52:32 +01:00
Martin Pitt
f209192088
Disable systemd-resolved for now
...
It still needs to mature, and integration into Debian should be discussed
first.
2014-11-28 10:52:32 +01:00
Martin Pitt
98e90bc355
Run tests during package build
...
For the first round don't make them fatal for now (that will happen once we see
results from all the architectures).
2014-10-16 14:22:51 +02:00
Sjoerd Simons
8341218591
debian/rules: add systemd-update-utmp-runlevel.service to {poweroff, rescue, multi-user, graphical, reboot}.target.wants to trigger the runlevel target to be loaded
2014-09-07 23:45:13 +02:00
Michael Biebl
d5da64b809
Fix deletion of factory-reset files
...
This is a follow-up fix for commit
f5d78072f6 .
2014-09-07 09:50:16 +02:00
Michael Biebl
f5d78072f6
Disable factory-reset feature and remove files associated with it
...
This feature needs more integration work first before it can be enabled
in Debian. E.g. Debian still uses a split /usr setup and a merged /usr is
a prerequisite for factory-reset to work properly.
Atm. it also leads to dependency cycles between keyboard-setup.service
and systemd-udev-hwdb-update.service.
This should be revisited for jessie+1.
2014-09-06 15:18:52 +02:00
Michael Biebl
f052bf7894
Trim down udeb build further
...
by not enabling unused/unnecessary features.
2014-09-05 06:40:05 +02:00
Michael Biebl
1ea8b2110a
Make /run/lock tmpfs an API fs so it is available during early boot
...
Closes : #751392
2014-09-05 01:23:23 +02:00
Michael Biebl
91e094d6d2
Drop our Debian-specific run-user.mount unit
...
as upstream now creates a per-user tmpfs via logind.
See upstream commit 1c231f56482546725c4dbd3303f70300bd3c63e9.
2014-08-26 12:15:11 +02:00
Jon Severinsson
bb8785d8c4
Do not force-enable default-on services on every upgrade.
...
Also drops the systemd-networkd, systemd-resolved and systemd-timesyncd
from the set of default services.
2014-08-10 11:04:26 +02:00
Sjoerd Simons
3e45d94172
Use the debian ntp pool and configure systemd uid/gid maximums
...
* debian/rules: Use the debian ntp pool as default ntp servers
* debian/rules: explicitely configure the maximum system uid/gids instead of
relying on autodetection
2014-08-10 10:55:05 +02:00
Sjoerd Simons
23343de0db
debian/rules: Explicitely turn off rfkill, networkd, timesyncd and resolved for the udeb build
2014-08-10 10:54:29 +02:00
Sjoerd Simons
ba546aa29e
debian/rules: Drop outdated --enable-tcpwrap
2014-08-10 10:52:53 +02:00
Sjoerd Simons
0e55fda590
Merge branch 'master' into experimental
...
Conflicts:
debian/changelog
debian/control
debian/patches/series
debian/rules
2014-08-08 23:29:59 +02:00
Jon Severinsson
c440fa007c
Ensure that systemctl is usable right after being unpacked.
...
Closes : #753589
2014-08-06 11:48:28 +02:00
Martin Pitt
0b28ec9ab8
Revert "Drop systemd-logind-launch script"
...
This reverts commit b5949e2690 .
Now needed again for running wit systemd-shim/cgmanager.
2014-08-06 11:20:18 +02:00
Martin Pitt
44bbbcf93d
Build python3-systemd for Python 3 bindings.
...
Drop python-systemd; it does not have any reverse dependencies, and we want to
encourage moving to Python 3. This also avoids having to do another source
build.
LP: #1258089
2014-08-04 08:32:22 +02:00
Michael Biebl
5dc8888e31
Fix removal of _kernel-install zsh completion file
...
Follow up fix for 0aae718c61
2014-07-26 22:26:42 +02:00
Michael Biebl
0aae718c61
Install zsh completions to the correct place
...
Closes : #717540
2014-07-26 21:45:24 +02:00
Jon Severinsson
c40546a994
Remove pre-generated rules and unit files in debian/rules clean target.
...
These are generated with rootprefix=/usr and so has the wrong paths for Debian.
2014-07-16 23:29:00 +02:00
Jon Severinsson
ca3e157bc2
Install the new combined libsystemd0 library
2014-07-16 23:29:00 +02:00
Sjoerd Simons
37993e0d6b
explicitly disable microhttpd
...
(cherry picked from commit 515ed789804047074e103d0cfb30d478bab5cbe0)
2014-07-16 23:29:00 +02:00
Sjoerd Simons
8ce628f118
attempt parallel build
...
(cherry picked from commit 95a6ae15fdcda87e5cf47a0d96ce9a09b75fdb65)
2014-07-16 23:29:00 +02:00
Michael Biebl
e764dc208c
Merge branch 'master' into experimental
...
Conflicts:
debian/changelog
debian/gbp.conf
debian/patches/Always-probe-cpu-support-drivers.patch
debian/patches/Load-sg-module-from-80-drivers.rules.patch
debian/patches/series
2014-06-24 17:36:16 +02:00
Michael Biebl
6f003a0aec
Set telinit path to /lib/sysvinit/telinit
...
If systemd is not the active PID 1 and the SysV compat tools are
provided by systemd-sysv, /sbin/telinit simply forwards the requests to
the native telinit implementation.
To make the upgrade from sysvinit to systemd less disruptive, the plan
is to make the transitional sysvinit package provide
/lib/sysvinit/telinit and /lib/sysvinit/init which then can be used as a
fallback in case of emergency.
Set the telinit path in systemd accordingly in preparation for that.
2014-06-24 13:27:15 +02:00
Michael Biebl
b5949e2690
Drop systemd-logind-launch script
...
With the changes in 2d54bc3754 this script
is no longer necessary.
2014-04-28 00:21:59 +02:00
Michael Biebl
62ea84eab9
Disable various features which aren't required for the udeb build
2014-04-27 16:25:50 +02:00
Michael Biebl
33ee4358d7
Install new files and remove the ones we don't use
...
Install zsh completion files.
Closes : #717540
2014-04-27 14:35:36 +02:00
Martin Pitt
35a79d3db6
Install new rules from previous commit
2014-04-27 11:10:39 +02:00
Martin Pitt
dc6972cb1f
Fix 3e1bf to remove the file in the install directory
2014-04-26 21:49:33 +02:00
Marco d'Itri
3e1bfe0d84
Do not install sysctl.d/50-default.conf
...
The systemd package should not change kernel policies, at least until it will
become the only supported init system.
2014-04-26 21:05:12 +02:00
Marco d'Itri
c746e2ad19
Copy the temporary rules from /run/ to /etc/
...
They are created by write_net_rules in early boot and need to be copied
to the root file system once it has been remounted read/write.
2014-04-26 20:32:46 +02:00
Martin Pitt
2493e4e89e
Kill /etc/udev/links.conf, create_static_nodes, and associated code.
...
It's obsolete with devtmpfs (which is required now), and doesn't run with
systemd or upstart anyway.
2014-04-26 20:25:56 +02:00
Marco d'Itri
ce7be9b190
Add more CD/DVD aliases to 60-cdrom_id.rules
2014-04-26 19:43:49 +02:00
Michael Stapelberg
5b42170e0e
Add systemd-dbg package, thanks Daniel Schaal
...
Closes : #742724
2014-04-26 18:03:26 +02:00
Martin Pitt
4ce5b1f1e4
Drop our Debian specific 50-udev-default.rules and 91-permissions.rules
...
Use the upstream rules with a patch for the remaining Debian specific default
device permissions. Many thanks to Marco d'Itri for researching which
Debian-specific rules are obsolete!
Amongst other things, this now also reads the hwdb info for USB devices and
gets rid of some syntax errors.
Closes : #717405
Closes : #706221
2014-04-26 16:26:43 +02:00
Martin Pitt
5284b53b9d
Drop our Debian specific 80-drivers.rules
...
Use the upstream rules with a patch for the sg module (see #657948 ). These now
stop calling modprobe and use the kmod builtin, giving some nice boot speed
improvement.
Closes : #717404
2014-04-26 14:32:15 +02:00
Martin Pitt
c114f9af15
Drop our Debian specific 60-persistent-storage{,-tape}.rules
...
Move to using the upstream rules. They are compatible and do a superset of the
functionality.
In our 60-persistent-storage.rules:
- hd* rules are obsolete (only using PATA drivers these days with SCSI)
- id_dasd is obsolete (not in any package on any arch in any release)
- id_edd in Debian seems to not exist. Dell's edd package ships these rules by
itself
- ID_SCSI_COMPAT isn't set by id_scsi any more, thus rules are obsolete
2014-04-26 13:56:36 +02:00
Martin Pitt
1a425de3cb
Run dh_install with --fail-missing
...
To avoid forgetting files when we move to new versions.
2014-04-26 13:20:05 +02:00
Martin Pitt
ca7e3cf554
rules: Remove the kernel-install bits
...
we don't want that in Debian and thus it shouldn't appear in dh_install
--list-missing output.
2014-04-26 13:13:24 +02:00
Michael Biebl
16e46da43c
Don't install tmp.mount in local-fs.target.wants
...
Instead of installing and removing tmp.mount later via debian/rules,
don't install it in the first place. This is a followup commit for
d151046c20
2014-03-19 18:51:31 +01:00
Michael Stapelberg
1570f43d39
move manpages from systemd to libsystemd-*-dev as appropriate
...
closes #738723
2014-02-13 23:05:02 +01:00
Michael Stapelberg
a4003492e6
add stage1 bootstrap support to avoid Build-Depends cycles
...
Patch by Daniel Schepler
2014-02-09 11:19:52 +01:00
Michael Biebl
0685ae6099
Don't install kernel-install(8) man page
...
We don't ship the kernel-install binary so we shouldn't ship its man
page either. Closes : #722180
2013-09-12 00:00:55 +02:00
Michael Biebl
990b9ab4f2
Use /bin/bash as debug-shell
...
The /bin/sh symlink typically points to dash, which is a very basic and
not very comfortable shell. Since bash is an essential package and thus
always available, use that as debug-shell instead.
2013-08-09 11:49:53 +02:00
Michael Stapelberg
d151046c20
Don’t mount /tmp as tmpfs by default
...
…by adding an [Install] section to tmp.mount and removing the
local-fs.target.wants symlink.
Users can use “systemctl enable tmp.mount” to enable mounting /tmp after
the next reboot and “systemctl start tmp.mount” to get /tmp mounted as
tmpfs right now (beware, files currently in /tmp will not be visible
anymore afterwards).
2013-08-08 22:03:37 +02:00
Michael Biebl
3334c9bd77
Remove Python byte code files on dh_auto_clean
2013-07-30 21:58:22 +02:00
Michael Biebl
8447689fef
Set debug-shell to /bin/sh
...
Debian doesn't have /sbin/sushell, so use /bin/sh in
debug-shell.service.
2013-07-25 07:29:43 +02:00
Michael Biebl
8c331b989d
Don't pass static start priorities to dh_installinit anymore
...
They haven't been used by update-rc.d for a while and generate a warning now.
2013-07-21 15:30:07 +02:00
Daniel Schaal
c07a22c15a
Enable verbose build logs by passing --disable-silent-rules to configure.
...
See https://wiki.debian.org/ReleaseGoals/VerboseBuildLogs
2013-07-21 11:54:03 +02:00
Michael Biebl
e8aef519f6
Launch logind via a shell wrapper
...
We need to setup the cgroupfs mount and the runtime directory before
starting logind. Use a shell script which is triggered by the D-Bus
service.
2013-07-18 20:52:43 +02:00
Michael Stapelberg
d451c9084b
udev: install rules files and extras
...
This makes the debdiff file lists approximately identical, minus
expected differences.
2013-07-18 20:09:04 +02:00
Michael Stapelberg
a3e8371ea0
drop udev.udev-mtab.init, /etc/mtab is a symlink to /proc/mounts
...
Call rm_conffile and update-rc.d remove to make it go away.
2013-07-18 19:29:19 +02:00
Michael Biebl
6ab50b03cf
Add changes from 175-7.1 NMU (upstart support)
...
Patch courtesy of Steve Langasek <steve.langasek@ubuntu.com>
2013-07-18 19:29:15 +02:00
Michael Biebl
b56f8637a1
Merge remaining files from udev 175-7
...
The patches from udev were either merged upstream, applied directly,
added as files to debian/extra/ or dropped:
- debian/patches/commit-4b50a3d
Applied upstream in 4b50a3d004
- debian/patches/fix_gtkdoc_oot
Fixed upstream
- debian/patches/libudevpc_no_librt
Fixed upstream in e712ffcce6
- debian/patches/vio_type
Dropped for now.
- debian/patches/debian_rules
Added as debian/extra/rules/*
- debian/patches/extra_agents
Added as debian/extra/*.agent and debian/extra/hotplug.functions
- debian/patches/extra_initramfs
Added as debian/extra/initramfs.*
- debian/patches/extra_installer
Added as debian/extra/udev.*
- debian/patches/extra_modprobeconf
Added as debian/extra/fbdev-blacklist.conf and
debian/extra/make-fbdev-blacklist
- debian/patches/extra_misc
Added as debian/extra/links.conf and debian/extra/create_static_nodes
- debian/patches/dont-build-some-helpers
Dropped, since we will use the upstream firmware agent now
- debian/patches/libgudev_in_usr
Applied as 418b0a2d41
- debian/patches/rules_compat_qemu
Dropped, only needed for kernel versions <= 2.6.32
- debian/patches/use_run_tmpfs
Dropped, since wheezy /run is mandatory
- debian/patches/dev_root_rule
Dropped, discouraged upstream
- debian/patches/udevd_in_sbin
Dropped, we will use the $libexec path now in the .service file and
provide compat symlinks
- udev_conf_comments
Applied as c82d84e916
2013-07-18 18:57:39 +02:00
Michael Biebl
845db5deec
Don't install unused files
...
We don't really need the RPM macros and we currently don't ship the
kernel-install tool, so remove those two directories.
2013-07-18 17:12:48 +02:00
Michael Biebl
47d2341620
Remove the dpkg-triggered debian-enable-units script
...
This was a temporary workaround for wheezy. Packages should use dh-systemd
now to properly integrate service files with systemd.
Remove the state files on upgrades.
2013-07-18 16:54:22 +02:00
Michael Biebl
1fb48b3157
Install Debian specific files for systemd
2013-07-18 16:54:22 +02:00
Michael Biebl
69a9a18e17
Add udeb reference to the libudev1 shlibs file
2013-07-18 16:54:22 +02:00
Michael Biebl
61cb016e70
Use symlinked doc directories for the udev pacakges as the old udev package did
2013-07-18 16:54:15 +02:00
Michael Biebl
b3b5b90529
Remove duplicate files
2013-07-18 16:54:15 +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
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
a2b8cfa13c
Use gir dh addon to ensure ${gir:Depends} is properly set.
2013-07-17 20:20:33 +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
Tollef Fog Heen
1950f28084
Convert to Multi-Arch: same where possible. Closes : #676615
2012-06-29 22:35:39 +02:00
Tollef Fog Heen
3eb8d4cf52
Disable coredump handling as it's not ready yet.
2012-03-06 22:51:24 +01:00
Michael Biebl
c4d908daf6
Install ifup@.service via systemd.install
2012-03-06 18:03:54 +01:00
Michael Biebl
532b0d80be
Add changes from NMU
2012-03-06 18:00:49 +01:00
Tollef Fog Heen
a1926860c0
Add --with-distro=debian to configure flags, due to no /etc/os-release yet.
2012-02-29 22:45:00 +01:00
Michael Biebl
afbc324da7
Copy intltool files instead of symlinking them.
2012-02-11 19:50:16 +01:00
Michael Biebl
1dbcb8bf07
Update configure flags, use rootprefix instead of rootdir.
2012-02-11 19:49:58 +01:00
Tollef Fog Heen
762763bd1f
Add debian-fixup service that symlinks mtab to /proc/mounts and migrates /var/run and /var/lock to symlinks to /run
2011-09-23 19:27:41 +02:00
Michael Biebl
718d8bde9b
Re-add --with autoreconf which got accidentally deleted by last commit
2011-09-14 08:35:38 +02:00
Michael Biebl
2f80a58830
Override dh_autoreconf
...
As autoreconf doesn't like intltool, override dh_autoreconf and call
intltoolize and autoreconf ourselves.
2011-09-14 08:30:52 +02:00
Michael Biebl
827b5b11db
Split libsystemd-login and libsystemd-daemon into separate binary packages.
2011-09-14 08:30:08 +02:00
Michael Biebl
b1fcd56fdb
hwclock-load.service is no longer installed, so we don't need to remove it anymore in debian/rules.
2011-06-29 13:59:18 +02:00
Tollef Fog Heen
abd2305248
Enable SELinux support. Closes : #618412
2011-03-20 20:46:34 +01:00
Tollef Fog Heen
aef2a93f2c
Enable TCP wrapper support. Closes : #618409
2011-03-20 20:45:26 +01:00
Tollef Fog Heen
864482d672
Add ifup@.service for handling hotplugged interfaces from udev.
...
Closes : #610871
Thanks to Michael Biebl for the implementation
2011-03-02 21:03:53 +01:00
Tollef Fog Heen
860ce4af64
Fix typo when removing systemd-vconsole.target
2011-02-16 21:13:23 +01:00
Tollef Fog Heen
a704d2d40f
Disable systemd-vconsole-setup.service for now.
2011-02-16 21:06:04 +01:00
Michael Biebl
60b9d86fe5
Fix hwclock
...
Since we mask hwclock and hwclockfirst, we need to run hwclock-save.service
on shutdown now.
To avoid running hwclock twice during boot, we remove
sysinit.target.wants/hwclock-load.service. hwclock is already triggered
by /lib/udev/rules.d/85-hwclock.rules. This needs further coordination
with udev.
2011-01-16 10:06:21 +01:00
Michael Biebl
f6a81384db
Use syntax compatible with debhelper v8
2011-01-16 10:01:30 +01:00
Tollef Fog Heen
e4a35aa806
Use the built-in cryptsetup support in systemd
2011-01-16 09:56:30 +01:00
Tollef Fog Heen
8558f7bfe9
Use native mount, mask services done by systemd
2010-12-26 20:31:33 +01:00
Michael Biebl
a7432c147c
Remove autogenerated man pages and vala C sources, so they are rebuilt.
2010-12-26 13:33:11 +01:00
Michael Biebl
848cbb1b4b
Disable cryptsetup support
...
Explicitly disable cryptsetup support to not accidentally pick up a
libcryptsetup dependency in a tainted build environment, as the
library is currently installed in /usr/lib.
2010-12-26 13:31:28 +01:00
Tollef Fog Heen
6ce35d6eaa
Use dh-autoreconf for updating the build system.
2010-11-20 09:38:44 +01:00
Tollef Fog Heen
10edb11620
Revert upstream change which requires libnotify 0.7
2010-11-20 09:35:57 +01:00
Tollef Fog Heen
879cdb6ec9
Move rules around to get more logical progression in debian/rules
2010-11-02 21:48:27 +01:00
Michael Biebl
73baac4bc7
Don't install hwclock-save.service and remount-rootfs.service
...
Both conflict with existing SysV init scripts.
Running both results in "super block is in future" error messages when
mounting ext[34] partitions.
Until the hwclock and mount handling is sorted out, use only
the scripts provided by initscripts/util-linux.
2010-11-02 21:44:19 +01:00
Tollef Fog Heen
dc03359dbf
Make sure to enable GTK bits.
2010-11-02 21:43:34 +01:00
Tollef Fog Heen
8059ca9c79
Remove tmpwatch services, Debian doesn't have or use tmpwatch.
2010-11-02 21:42:38 +01:00
Tollef Fog Heen
fa416c2ec4
Stop messing with runlevel5/multi-user.target symlink
...
This is handled correctly upstream, so remove local hack.
2010-11-02 21:37:29 +01:00
Tollef Fog Heen
bc7860afab
Hard-code path to udev rules dir in configure call
2010-08-30 21:43:29 +02:00
Tollef Fog Heen
76aeaaf733
Update for v8
2010-08-29 14:05:58 +02:00
Tollef Fog Heen
427f9beaee
Split package; move systemadm and pam module to own packages
2010-08-29 14:03:42 +02:00
Tollef Fog Heen
092d3cb47e
Add systemd-sysv package which ships the symlinks that replaces sysvinit
2010-07-07 22:01:32 +02:00
Tollef Fog Heen
bf7f9181cf
Pass --with-rootdir= to configure
2010-07-07 22:00:55 +02:00
Tollef Fog Heen
8cc2af0172
More debian/rules cleanups
2010-06-05 08:59:19 +02:00
Tollef Fog Heen
4651a3effb
Bump cgroup build-dep, remove hard-coding
2010-06-05 08:51:06 +02:00
Tollef Fog Heen
e4cd12f9db
Clean up rules file wrt newer configure.ac and get rid of old stuff
2010-06-05 08:44:01 +02:00
Tollef Fog Heen
80d60d1922
Somewhat newer upstream snapshot, still not released
2010-06-05 08:01:20 +02:00
Tollef Fog Heen
979df9158c
Initial packaging
2010-05-16 10:26:57 +02:00