diff options
author | GeorgeRaven | 2021-05-31 17:03:07 +0100 |
---|---|---|
committer | GeorgeRaven | 2021-05-31 17:03:07 +0100 |
commit | 950d3d0905d2bf3ada06a3d1958c18de92860172 (patch) | |
tree | 4e107963d6b735b3b45d057156382ac50cb863e3 | |
parent | b82142ee6f77f7d5247cfb46a0254c6157576afb (diff) | |
download | aur-950d3d0905d2bf3ada06a3d1958c18de92860172.tar.gz |
Added alternate install location
The default kubelet package references /usr/lib/cni so added a second
set of bins at this location. Could in future symlink if this works
properly which I will test next.
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -27,7 +27,11 @@ source+=(${pkgname}-${pkgver}::"https://github.com/containernetworking/plugins/r package() { cd "${srcdir}" + # get rid of unwanted link unlink "${pkgname}-${pkgver}" - mkdir -p "${pkgdir}/opt/cni/bin" + # install to default location + mkdir -p "${pkgdir}/opt/cni/bin" "${pkgdir}/usr/lib/cni" install -Dm755 "${srcdir}/"* "${pkgdir}/opt/cni/bin/." + # also deposit bins in alternate possible location + install -Dm755 "${srcdir}/"* "${pkgdir}/usr/lib/cni" } |