diff options
author | Martin Bark <martin@barkynet.com> | 2018-06-16 23:06:00 +0100 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-10-21 14:34:46 +0100 |
commit | 42b10634c628918c753bfb1aad4f950fa5d41299 (patch) | |
tree | f474d02dacbca1ddc31ff30b051e4c2491212555 /package/ca-certificates | |
parent | d07ddd8e4ed576dbce4c33ab006f342e24d3bd6b (diff) | |
download | buildroot-42b10634c628918c753bfb1aad4f950fa5d41299.tar.gz buildroot-42b10634c628918c753bfb1aad4f950fa5d41299.zip |
package/ca-certificates: fix rebuilds
Rebuilding ca-certificates using make ca-certificates-rebuild
caused duplicate certificates to be installed in the target. Its build
system is broken: it doesn't detect that the output file already exists,
and instead of overwriting it, a duplicate is generated under a
different name. The net effect is that all certificates are installed
twice after rebuild.
Fix this by cleaning the build directory before building the package.
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/ca-certificates')
-rw-r--r-- | package/ca-certificates/ca-certificates.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ca-certificates/ca-certificates.mk b/package/ca-certificates/ca-certificates.mk index 9685d0e6f0..1df9543e03 100644 --- a/package/ca-certificates/ca-certificates.mk +++ b/package/ca-certificates/ca-certificates.mk @@ -16,7 +16,7 @@ CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) CA_CERTIFICATES_LICENSE_FILES = debian/copyright define CA_CERTIFICATES_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean all endef define CA_CERTIFICATES_INSTALL_TARGET_CMDS |