The first patch fixes a bug in the Makefile of the package in case
CONFIG_PETITBOOT_AUTORUN_GUI is not defined.
Signed-off-by: Phileas Fogg <phileas-f...@mail.ru>
---
Index: feeds/packages/utils/petitboot/Makefile
===================================================================
--- feeds/packages/utils/petitboot/Makefile (revision 29906)
+++ feeds/packages/utils/petitboot/Makefile (working copy)
@@ -70,6 +70,11 @@
ln -sf pb-cui $(1)/usr/sbin/petitboot
petitboot-install-autorun-$(CONFIG_PETITBOOT_AUTORUN_GUI) = \
ln -sf pb-twin $(1)/usr/sbin/petitboot
+petitboot-install-artwork-$(CONFIG_PETITBOOT_AUTORUN_GUI) = \
+ $(INSTALL_DIR) $(1)/usr/share/petitboot/; \
+ $(INSTALL_DATA) \
+ $(addprefix $(PKG_INSTALL_DIR),$(petitboot-extra-data-y)) \
+ $(1)/usr/share/petitboot/
CONFIGURE_ARGS += $(petitboot-config-args-y) \
PACKAGE_VERSION=$(shell echo ${HOSTNAME})-$(shell date +%y.%m.%d-%H.%M)
@@ -89,10 +94,7 @@
$(PKG_INSTALL_DIR)/usr/sbin/pb-event \
$(1)/usr/sbin/
- $(INSTALL_DIR) $(1)/usr/share/petitboot/
- $(INSTALL_DATA) \
- $(addprefix $(PKG_INSTALL_DIR),$(petitboot-extra-data-y)) \
- $(1)/usr/share/petitboot/
+ $(petitboot-install-artwork-y)
$(INSTALL_DIR) $(1)/etc/udev/rules.d
$(INSTALL_DATA) \
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel