chiark / gitweb /
units: fix commenting
[elogind.git] / DISTRO_PORTING
1 Porting systemd To New Distributions
2
3         You need to make the follow changes to adapt systemd to your
4         distribution:
5
6         0) Make your distribution recognized via the autoconf checks
7         in configure.ac. Grep for the word "fedora" (case
8         insensitively) and you should be able to find the places where
9         you need to add/change things.
10
11         1) Patch src/hostname-setup.c so that systemd knows where to
12         read your host name from.
13
14         2) Check the unit files in units/ if they match your
15         distribution. Most likely you will have to make additions to
16         units/*.m4 and create a copy of units/fedora/ with changes for
17         your distribution.
18
19         3) Adjust Makefile.am to register the unit files you added in
20         step 2. Also you might need to update the m4 invocation in
21         Makefile.am. Grep for the word "fedora" (case insensitively)
22         and you should be able to find the places where you need to
23         add/change things.
24
25         4) Try it out.
26
27 CONTRIBUTING UPSTREAM:
28
29         We are interested in merging your changes upstream, if they
30         are for a big, and well-known distribution. Unfortunately we
31         don't have the time and resources to maintain
32         distribution-specific patches for all distributions on the
33         planet, hence please do not send us patches that adds systemd
34         support to non-mainstream or niche distributions.
35
36         Thank you for understanding.