summaryrefslogtreecommitdiff
path: root/recipes-support/ca-certificates/ca-certificates/sbindir.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-03-03 07:35:47 -0600
committerJohn Klug <john.klug@multitech.com>2021-06-22 09:29:50 -0500
commitc83f80f44c741113a5bd63dc4d7680a50ae2bda4 (patch)
treeb7761c7079742283f869552ab0dd3929639e64cf /recipes-support/ca-certificates/ca-certificates/sbindir.patch
parentdfd215c4b1c515819b64867b9537bbcff9da62a3 (diff)
downloadmeta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.tar.gz
meta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.tar.bz2
meta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.zip
19-JAN-2021 certificates
Diffstat (limited to 'recipes-support/ca-certificates/ca-certificates/sbindir.patch')
-rw-r--r--recipes-support/ca-certificates/ca-certificates/sbindir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-support/ca-certificates/ca-certificates/sbindir.patch b/recipes-support/ca-certificates/ca-certificates/sbindir.patch
new file mode 100644
index 0000000..f343ebf
--- /dev/null
+++ b/recipes-support/ca-certificates/ca-certificates/sbindir.patch
@@ -0,0 +1,26 @@
+sbin/Makefile: Allow the sbin path to be configurable
+
+Some project sharing ca-certificates from Debian allow configuration
+of the installation location. Make the sbin location configurable.
+
+Also ensure the target directory exists
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/5]
+
+--- ca-certificates-20130119.orig/sbin/Makefile
++++ ca-certificates-20130119/sbin/Makefile
+@@ -3,9 +3,12 @@
+ #
+ #
+
++SBINDIR = /usr/sbin
++
+ all:
+
+ clean:
+
+ install:
+- install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)$(SBINDIR)
++ install -m755 update-ca-certificates $(DESTDIR)$(SBINDIR)/