mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
package/polkit: install polkit.loc to HOST_DIR
Fix added by commit c20d31baf4
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 <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: dest must be a filename, not a directory]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
dbe3af5532
commit
44004843f4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user