system: move remounting / to the corresponding init systems
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 Jul 2017 17:25:33 +0000 (19:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 20:34:40 +0000 (22:34 +0200)
commit5a8484dec291cedc3bbf239921f5dc8467b9e657
tree4b7e4a6bd01ee6d2453a1c4d800bd218fe1cf8e2
parentb07ccc47cb511b877e6e7bb45c511e0646cb5528
system: move remounting / to the corresponding init systems

Currently, remounting / read-write (or not) is done by the skeleton
package when the init system is either busybox or sysvinit, by
registering a target-finalize hook; it is not done at all for systemd.

Move registering this target-finalize hook to both of busybox and
sysvinit. Leave systemd alone, we'll take care of it later.

Rename the macro to a more meaningful name, and move it to system.mk
with the other such macros.

Yet a little bit less init-system knowledge in the skeleton.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: remove not-so-useful comments, as pointed by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/busybox/busybox.mk
package/skeleton/skeleton.mk
package/sysvinit/sysvinit.mk
system/system.mk