[Buildroot] [git commit] package/polkit: install polkit.loc to HOST_DIR
From: Yann E. MORIN <hidden>
Date: 2021-08-20 21:02:39
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=44004843f466a709cd511432a604e14097712f38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix added by commit c20d31baf471daeeec50d62cb8baa79bac06fa51 is incomplete as polkit.loc must also be added to $(HOST_DIR)/share/gettext/its Additionally, the destination path for "$(INSTALL) -D" must be a fully-qualified filename, not just the destination directory. Fixes: - http://autobuild.buildroot.org/results/170e4802b7b4e8e7dafa95ade549e8fd05e43bfd Signed-off-by: Fabrice Fontaine <redacted> [yann.morin.1998@free.fr: dest must be a filename, not a directory] Signed-off-by: Yann E. MORIN <redacted> --- package/polkit/polkit.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
index 23adb534d0..3a8c442dbb 100644
--- a/package/polkit/polkit.mk
+++ b/package/polkit/polkit.mk@@ -41,11 +41,13 @@ else POLKIT_CONF_OPTS += --with-authfw=shadow endif -# polkit.its is needed for gvfs and must be installed in $(HOST_DIR) +# polkit.{its,loc} are 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 + $(HOST_DIR)/share/gettext/its/polkit.its + $(INSTALL) -D -m 644 $(@D)/data/polkit.loc \ + $(HOST_DIR)/share/gettext/its/polkit.loc endef POLKIT_POST_INSTALL_TARGET_HOOKS += POLKIT_INSTALL_ITS
_______________________________________________ buildroot mailing list buildroot@busybox.net http://lists.busybox.net/mailman/listinfo/buildroot