systemd/debian
2014-04-28 12:44:24 +02:00
..
extra Rename PowerEdge idrac network interfaces 2014-04-27 10:56:36 +02:00
init-functions.d Update the checks which test if systemd is the active init. 2013-06-20 01:17:00 +02:00
pam-configs Re-add workaround for non-interactive PAM sessions 2012-04-28 10:51:13 +02:00
patches Drop numerical prefixes from patches 2014-04-27 11:14:49 +02:00
po Merge remaining files from udev 175-7 2013-07-18 18:57:39 +02:00
source No longer necessary with gbp 2014-04-26 10:25:11 +02:00
tests Add autopkgtests 2014-04-26 20:53:53 +02:00
tmpfiles.d Make sure /run/sensigs.omit.d exists. 2012-06-05 22:31:19 +02:00
units Use a separate tmpfs for /run/lock (size 5M) and /run/user (size 100M). 2012-12-16 21:58:23 +01:00
changelog Explain patch management in debian/README.source 2014-04-27 12:52:30 +02:00
compat Bump to debhelper 9. 2012-06-29 22:34:45 +02:00
control Make systemd-dbg depend on udev and libudev1 2014-04-26 21:46:42 +02:00
copyright Update debian/copyright using the machine-readable copyright format 1.0. 2013-07-18 18:25:36 +02:00
debian-fixup Don't migrate /var/run to a symlink if /run is a symlink 2012-03-07 08:50:15 +01:00
debian-fixup.service Upstream renamed remount-rootfs.service → systemd-remount-fs.service 2013-07-18 16:54:22 +02:00
gbp.conf Add debian/gbp.conf with pristine-tar = True. 2014-04-26 10:17:35 +02:00
gir1.2-gudev-1.0.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
ifup@.service Bind ifup@.service to the network device 2013-07-25 00:46:10 +02:00
libgudev-1.0-0.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
libgudev-1.0-0.symbols Update symbols files 2013-07-17 20:20:34 +02:00
libgudev-1.0-dev.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
libpam-systemd.install Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
libpam-systemd.postinst Add pam-auth-update calls to libpam-systemd's postinst and prerm 2010-09-01 21:10:41 +02:00
libpam-systemd.prerm Do proper refcounting of the PAM module package on prerm 2014-04-26 12:38:03 +02:00
libsystemd-daemon0.install Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
libsystemd-daemon0.symbols Split libsystemd-login and libsystemd-daemon into separate binary packages. 2011-09-14 08:30:08 +02:00
libsystemd-daemon-dev.install Ship sd-shutdown.h in libsystemd-daemon-dev 2014-04-26 13:19:23 +02:00
libsystemd-id128-0.install Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
libsystemd-id128-0.symbols Add packages for libsystemd-journal and libsystemd-id128. 2012-02-11 19:49:24 +01:00
libsystemd-id128-dev.install move manpages from systemd to libsystemd-*-dev as appropriate 2014-02-13 23:05:02 +01:00
libsystemd-journal0.install Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
libsystemd-journal0.symbols Update symbols files 2013-07-17 20:20:34 +02:00
libsystemd-journal-dev.install move manpages from systemd to libsystemd-*-dev as appropriate 2014-02-13 23:05:02 +01:00
libsystemd-login0.install Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
libsystemd-login0.symbols Update symbols files 2013-07-17 20:20:34 +02:00
libsystemd-login-dev.install move manpages from systemd to libsystemd-*-dev as appropriate 2014-02-13 23:05:02 +01:00
libudev1-udeb.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
libudev1.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
libudev1.symbols Update symbols files 2013-07-17 20:20:34 +02:00
libudev-dev.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
python-systemd.install Enable python bindings for the systemd libraries 2013-07-17 20:23:51 +02:00
README.Debian explain in README.Debian how to enable persistent logging in journald 2013-12-21 19:07:15 +01:00
README.source README.source: Fix typo 2014-04-28 12:44:24 +02:00
rules Install new rules from previous commit 2014-04-27 11:10:39 +02:00
shlibs.local debian/shlibs.local: Drop libudev 2013-11-07 10:21:40 +01:00
systemd-hack-up-the-source.hook Try harder at generating a sane(r) source tree, to keep the ever-moving dpkg happy 2012-10-16 20:38:22 +02:00
systemd-logind-launch systemd-logind-launch: Set the #files ulimit 2014-04-26 22:34:59 +02:00
systemd-sysv.install Add systemd-sysv package which ships the symlinks that replaces sysvinit 2010-07-07 22:01:32 +02:00
systemd-sysv.links Update /sbin/init symlink. The systemd binary was moved to $pkglibdir. 2012-03-06 18:07:25 +01:00
systemd-sysv.postinst Update the checks which test if systemd is the active init. 2013-06-20 01:17:00 +02:00
systemd.bug-script Do not send potentially private fstab information without prior user confirmation 2014-04-26 10:42:37 +02:00
systemd.dirs Don't enable persistent storage of journal log files. 2013-01-19 15:40:12 +01:00
systemd.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
systemd.links Remove leftover symlink to debian-enable-units 2013-07-21 15:33:08 +02:00
systemd.maintscript Rename conffiles for logind and journald 2013-07-17 20:24:08 +02:00
systemd.postinst Also drop misleading comment when fixing up tmp.conf 2014-04-26 20:09:43 +02:00
systemd.postrm don’t delete the systemd-journal group on postrm 2013-11-28 22:21:56 +01:00
systemd.preinst preinst: only preserve unit files for systems running systemd as PID 1 (Thanks mbiebl) 2013-10-28 08:02:58 +01:00
systemd.prerm Update the checks which test if systemd is the active init. 2013-06-20 01:17:00 +02:00
systemd.triggers Add handling of Message Catalog files. 2013-07-21 12:10:48 +02:00
udev-udeb.dirs Remove obsolete debian/udev*.dirs entries 2013-07-18 20:34:39 +02:00
udev-udeb.install Drop our Debian specific 50-udev-default.rules and 91-permissions.rules 2014-04-26 16:26:43 +02:00
udev-udeb.links Create /sbin/udevadm compat symlink for udev-udeb 2013-07-18 16:54:22 +02:00
udev.bug-script Add bug-script to systemd and udev 2013-08-03 11:54:30 +02:00
udev.init Kill /etc/udev/links.conf, create_static_nodes, and associated code. 2014-04-26 20:25:56 +02:00
udev.install Add .install files for the udev packages 2013-07-18 16:54:10 +02:00
udev.links Create a few compat symlinks for the udev package 2013-07-18 16:54:15 +02:00
udev.maintscript Kill /etc/udev/links.conf, create_static_nodes, and associated code. 2014-04-26 20:25:56 +02:00
udev.postinst Use devtmpfs instead of tmpfs 2013-09-18 00:05:18 +02:00
udev.postrm Remove /var/log/udev on purge 2014-04-26 22:57:48 +02:00
udev.preinst Check in preinst for accept4(2) too 2014-04-26 17:38:41 +02:00
udev.prerm Merge remaining files from udev 175-7 2013-07-18 18:57:39 +02:00
udev.README.Debian Merge remaining files from udev 175-7 2013-07-18 18:57:39 +02:00
udev.templates Merge remaining files from udev 175-7 2013-07-18 18:57:39 +02:00
udev.triggers Switch the hwdb trigger to interest-noawait 2013-07-21 15:33:42 +02:00
udev.udev-fallback-graphics.upstart Add changes from 175-7.1 NMU (upstart support) 2013-07-18 19:29:15 +02:00
udev.udev-finish.init Copy the temporary rules from /run/ to /etc/ 2014-04-26 20:32:46 +02:00
udev.udev-finish.upstart Copy the temporary rules from /run/ to /etc/ 2014-04-26 20:32:46 +02:00
udev.udevmonitor.upstart Add changes from 175-7.1 NMU (upstart support) 2013-07-18 19:29:15 +02:00
udev.udevtrigger.upstart Add changes from 175-7.1 NMU (upstart support) 2013-07-18 19:29:15 +02:00
udev.upstart debian/udev.upstart: Fix path to udevd 2013-11-06 15:52:09 +01:00
watch Add watch file to track new upstream releases. 2012-10-24 02:29:36 +02:00

Building from source
--------------------
Install “git-buildpackage” and run the following steps:

gbp-clone git+ssh://git.debian.org/git/pkg-systemd/systemd.git
cd systemd
git-buildpackage

We recommend you use pbuilder to make sure you build in a clean environment:
git-buildpackage --git-pbuilder

Patch handling
--------------
The official form of modifications to the upstream source are quilt patches in
debian/patches/, like most Debian packages do. You are welcome to use quilt to
add or modify patches, but you might prefer using a git commit based approach.
gbp-pq provides that by synthesizing a "patch-queue/<branch>" local branch
which represents each quilt patch as git commit. You create this with

  gbp-pq import --force

Then you are in the patch-queue branch and can git log, commit, cherry-pick
upstream commits, rebase, etc. there. After you are done, run

  gbp-pq export --no-patch-numbers

which will put you back into master and update debian/patches/ (including
series). You need to git add etc. new patches, add a changelog and other
packaging changes, and then debcommit as usual.

Rebasing patches to a new upstream version
------------------------------------------
gbp-pq's "rebase" command does not work very conveniently as it fails on merge
conflicts. First, ensure you are in the master branch:

  git checkout master  # in case you aren't already

Now, do one of

 (1) To import a new upstream release into the existing master branch for unstable,
do:

  gbp-pq import --force
  gbp-pq switch   # switch back to master from patch-queue/master
  git-import-orig [...]
  gbp-pq switch   # switch to patch-queue/master
  git rebase master

 (2) To import a new upstream release into a new branch for Debian experimental, do:

  git branch experimental
  git checkout experimental
  editor debian/gbp.conf  # set "debian-branch=experimental"
  git-import-orig [...]
  git branch patch-queue/experimental patch-queue/master
  git checkout patch-queue/experimental
  git rebase experimental

Now resolve all the conflicts, skip obsolete patches, etc. When you are done, run

  gbp-pq export --no-patch-numbers

Cherry-picking upstream patches
-------------------------------
You can add the systemd upstream branch as an additional remote to the Debian
packaging branch. Call it "fdo" or "systemd" or similar to avoid confusing it
with the already existing "upstream" branch from git-buildpackage:

git remote add fdo git://anongit.freedesktop.org/systemd/systemd
git fetch fdo -n

Now you can look at the upstream log and cherry-pick patches into the
patch-queue branch:

  gbp-pq import --force
  git log fdo/master
  git cherry-pick 123DEADBEEF