Files
rpi-buildroot/package/tinyinit/tinyinit.mk
Dario Binacchi c1daa35cd9 package/tinyinit: new package
This package contains a Linux init script suitable for resource-limited
systems which can be used as an alternative to the one provided by
Busybox.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
[yann.morin.1998@free.fr: drop 'imply busybox']
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-14 11:20:06 +02:00

14 lines
431 B
Makefile

################################################################################
#
# tinyinit
#
################################################################################
define TINYINIT_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(TINYINIT_PKGDIR)/init $(TARGET_DIR)/sbin/init
# Downside: In non-initramfs systems the symlink isn't used/needed
(cd $(TARGET_DIR); ln -sf /sbin/init init)
endef
$(eval $(generic-package))