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

Arnout Vandecappelle arnout at mind.be
Tue Jul 4 20:52:16 UTC 2023



On 26/06/2023 07:46, Bernd Kuhls wrote:
> 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>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   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