[Buildroot] [git commit] package/petitboot: fix install

Arnout Vandecappelle arnout at mind.be
Tue Jul 4 20:38:56 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=21f6859647a9ebab2fc09824403514cbaea523a4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

buildroot commit 4c8ab13b960edcd290ea5ca7a7e739cb993fb863 added a link
of /usr/sbin/pb-udhcpc in
$(TARGET_DIR)/usr/share/udhcpc/default.script.d/ without creating that
directory first.

Fixes:
http://autobuild.buildroot.net/results/778/77802098355dd99a9e7e6d9178f900a9a8fe72a3/

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Reviewed-by: Laurent Vivier <laurent at vivier.eu>
Signed-off-by: Arnout Vandecappelle <arnout at mind.be>
---
 package/petitboot/petitboot.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk
index 4d56b73938..8b4c14207e 100644
--- a/package/petitboot/petitboot.mk
+++ b/package/petitboot/petitboot.mk
@@ -55,6 +55,7 @@ define PETITBOOT_POST_INSTALL
 		$(TARGET_DIR)/etc/petitboot/boot.d/90-sort-dtb
 	$(INSTALL) -m 0755 -D $(PETITBOOT_PKGDIR)/S15pb-discover \
 		$(TARGET_DIR)/etc/init.d/S15pb-discover
+	mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/
 	ln -sf /usr/sbin/pb-udhcpc \
 		$(TARGET_DIR)/usr/share/udhcpc/default.script.d/
 endef



More information about the buildroot mailing list