should utilize this step if it has binaries which would be similar
to the kernel image, bootloader or root filesystem images.
-* +LIBFOO_INSTALL_INIT_SYSV+ and +LIBFOO_INSTALL_INIT_SYSTEMD+ list the
- actions to install init scripts either for the systemV-like init systems
- (busybox, sysvinit, etc.) or for the systemd units. These commands
- will be run only when the relevant init system is installed (i.e. if
- systemd is selected as the init system in the configuration, only
- +LIBFOO_INSTALL_INIT_SYSTEMD+ will be run).
+* +LIBFOO_INSTALL_INIT_SYSV+, +LIBFOO_INSTALL_INIT_OPENRC+ and
+ +LIBFOO_INSTALL_INIT_SYSTEMD+ list the actions to install init
+ scripts either for the systemV-like init systems (busybox,
+ sysvinit, etc.), openrc or for the systemd units. These commands
+ will be run only when the relevant init system is installed (i.e.
+ if systemd is selected as the init system in the configuration,
+ only +LIBFOO_INSTALL_INIT_SYSTEMD+ will be run).
* +LIBFOO_HELP_CMDS+ lists the actions to print the package help, which
is included to the main +make help+ output. These commands can print
$($(PKG)_INSTALL_INIT_SYSTEMD))
$(if $(BR2_INIT_SYSV)$(BR2_INIT_BUSYBOX),\
$($(PKG)_INSTALL_INIT_SYSV))
+ $(if $(BR2_INIT_OPENRC), \
+ $($(PKG)_INSTALL_INIT_OPENRC))
$(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep))
$(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \
$(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ; \