[Buildroot] [PATCH 1/1] package/petitboot: fix install

Laurent Vivier laurent at vivier.eu
Mon Jun 26 06:46:31 UTC 2023


Le 26/06/2023 à 07:46, Bernd Kuhls a écrit :
> 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>
> ---
>   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

Reviewed-by: Laurent Vivier <laurent at vivier.eu>



More information about the buildroot mailing list