diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-07-18 19:25:33 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-22 22:34:40 +0200 |
| commit | 5a8484dec291cedc3bbf239921f5dc8467b9e657 (patch) | |
| tree | 4b7e4a6bd01ee6d2453a1c4d800bd218fe1cf8e2 /package/sysvinit | |
| parent | b07ccc47cb511b877e6e7bb45c511e0646cb5528 (diff) | |
| download | buildroot-5a8484dec291cedc3bbf239921f5dc8467b9e657.tar.gz buildroot-5a8484dec291cedc3bbf239921f5dc8467b9e657.zip | |
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>
Diffstat (limited to 'package/sysvinit')
| -rw-r--r-- | package/sysvinit/sysvinit.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index e9aa69b27b..a606ddabf0 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -55,4 +55,6 @@ endef SYSVINIT_TARGET_FINALIZE_HOOKS += SYSVINIT_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY +SYSVINIT_TARGET_FINALIZE_HOOKS += SYSTEM_REMOUNT_ROOT_INITTAB + $(eval $(generic-package)) |

