[Buildroot] [PATCH 1/1] package/polkit: fix install of polkit.its

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Aug 12 21:19:48 UTC 2021


On Tue, 10 Aug 2021 16:58:06 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> +# polkit.its is needed for gvfs and must be installed in $(HOST_DIR)
> +# and not $(STAGING_DIR)
> +define POLKIT_INSTALL_ITS
> +	$(INSTALL) -D -m 644 $(@D)/data/polkit.its \
> +		$(HOST_DIR)/share/gettext/its
> +endef
> +POLKIT_POST_INSTALL_TARGET_HOOKS += POLKIT_INSTALL_ITS

It's never great to see a "post install target" hook install stuff to
HOST_DIR, but that's the perils of this gettext machinery I'm afraid.
So applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list