]>
Commit | Line | Data |
---|---|---|
eb10a764 LP |
1 | Porting systemd To New Distributions |
2 | ||
1486dbe1 | 3 | HOWTO: |
eb10a764 LP |
4 | You need to make the follow changes to adapt systemd to your |
5 | distribution: | |
6 | ||
bc270841 LP |
7 | 1) Find the right configure parameters for: |
8 | ||
9 | --with-rootprefix= | |
10 | --with-sysvinit-path= | |
dee4c244 | 11 | --with-sysvrcnd-path= |
bc270841 LP |
12 | --with-rc-local-script-path-start= |
13 | --with-rc-local-script-path-stop= | |
14 | --with-kbd-loadkeys= | |
15 | --with-kbd-setfont= | |
16 | --with-tty-gid= | |
2ed3de9c | 17 | --with-ntp-servers= |
b74d0fdf | 18 | --with-support-url= |
bc270841 | 19 | |
45548321 CA |
20 | 2) Try it out. Play around (as an ordinary user) with |
21 | '/usr/lib/systemd/systemd --test --system' for a test run | |
22 | of systemd without booting. This will read the unit files and | |
23 | print the initial transaction it would execute during boot-up. | |
24 | This will also inform you about ordering loops and suchlike | |
eb10a764 | 25 | |
2ed3de9c LP |
26 | NTP POOL: |
27 | ||
501bf2d5 MS |
28 | By default, timesyncd uses the Google Public NTP servers |
29 | time[1-4].google.com. They serve time that uses a leap second | |
30 | smear, and can be up to .5s off from servers that use stepped | |
31 | leap seconds. | |
2ed3de9c | 32 | |
501bf2d5 MS |
33 | https://developers.google.com/time/smear |
34 | ||
35 | If you prefer to use leap second steps, please register your own | |
36 | vendor pool at ntp.org and make it the built-in default by | |
37 | passing --with-ntp-servers= to configure. Registering vendor | |
38 | pools is free: | |
2ed3de9c | 39 | |
501bf2d5 | 40 | http://www.pool.ntp.org/en/vendors.html |
2ed3de9c | 41 | |
baed1fed FS |
42 | PAM: |
43 | The default PAM config shipped by systemd is really bare bones. | |
44 | It does not include many modules your distro might want to enable | |
45 | to provide a more seamless experience. For example, limits set in | |
46 | /etc/security/limits.conf will not be read unless you load pam_limits. | |
47 | Make sure you add modules your distro expects from user services. | |
48 | ||
651742d8 FS |
49 | Pass --with-pamconfdir=no to ./configure to avoid installing this file |
50 | and instead install your own. | |
51 | ||
eb10a764 | 52 | CONTRIBUTING UPSTREAM: |
eb10a764 | 53 | |
45548321 | 54 | We generally do no longer accept distribution-specific |
bc270841 | 55 | patches to systemd upstream. If you have to make changes to |
45548321 | 56 | systemd's source code to make it work on your distribution, |
19aadacf | 57 | unless your code is generic enough to be generally useful, we |
bc270841 | 58 | are unlikely to merge it. Please always consider adopting the |
19aadacf JE |
59 | upstream defaults. If that is not possible, please maintain |
60 | the relevant patches downstream. | |
1486dbe1 | 61 | |
bc270841 | 62 | Thank you for understanding. |