package/board: Rsync overlay directory, if available

This commit is contained in:
Tobias Waldekranz
2024-12-04 11:27:03 +01:00
parent 88f7c6070a
commit f0ae1aa835
+8
View File
@@ -38,6 +38,14 @@ define $(2)_DTBS_INSTALL_TARGET
endef
$(2)_POST_INSTALL_TARGET_HOOKS += $(2)_DTBS_INSTALL_TARGET
define $(2)_OVERLAY_INSTALL_TARGET
@test -d $$(@D)/rootfs && \
$$(call MESSAGE,"Copying overlay") && \
$$(call SYSTEM_RSYNC,$$(@D)/rootfs,$(TARGET_DIR)) || \
true
endef
$(2)_POST_INSTALL_TARGET_HOOKS += $(2)_OVERLAY_INSTALL_TARGET
endef
ix-board = $(call inner-ix-board,$(pkgname),$(call UPPERCASE,$(pkgname)))