DISTRO_PORTING revision 45548321d647b9747e8abc69b5cd8d237244c880
eb10a76494542fb560efd09c16b40826fc37bc5fLennart PoetteringPorting systemd To New Distributions
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering
1486dbe1c6510376a900c8c99f8bc032c8fa9cdbLennart PoetteringHOWTO:
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering You need to make the follow changes to adapt systemd to your
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering distribution:
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering 1) Find the right configure parameters for:
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-rootprefix=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-sysvinit-path=
dee4c244254bb49d1ffa8bd7171ae9cce596d2d0Lennart Poettering --with-sysvrcnd-path=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-rc-local-script-path-start=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-rc-local-script-path-stop=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-kbd-loadkeys=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-kbd-setfont=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering --with-tty-gid=
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson 2) Try it out. Play around (as an ordinary user) with
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson '/usr/lib/systemd/systemd --test --system' for a test run
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson of systemd without booting. This will read the unit files and
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson print the initial transaction it would execute during boot-up.
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson This will also inform you about ordering loops and suchlike
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering
eb10a76494542fb560efd09c16b40826fc37bc5fLennart PoetteringCONTRIBUTING UPSTREAM:
eb10a76494542fb560efd09c16b40826fc37bc5fLennart Poettering
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson We generally do no longer accept distribution-specific
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering patches to systemd upstream. If you have to make changes to
45548321d647b9747e8abc69b5cd8d237244c880Chris Atkinson systemd's source code to make it work on your distribution,
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt unless your code is generic enough to be generally useful, we
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering are unlikely to merge it. Please always consider adopting the
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt upstream defaults. If that is not possible, please maintain
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt the relevant patches downstream.
1486dbe1c6510376a900c8c99f8bc032c8fa9cdbLennart Poettering
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering Thank you for understanding.