summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-17 18:54:45 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-17 18:54:45 (EDT)
commit4e404e61aca3c316c023aa298862da06bc266bf2 (patch)
tree656ecff2d0cbabede5d5037f8b93cc9c9ecb2da5 /build
parenta922945b0ac1e929849eaf02abab66bde6fa6b59 (diff)
build: Link /usr/sbin/opkg-key to /usr/bin/opkg-cert
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index fd09791..f1e5d9e 100755
--- a/build
+++ b/build
@@ -27,6 +27,8 @@ install: build
oh-autoinstall
mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
install -m 0755 ../opkg-cert dest/usr/bin/opkg-cert
+ install -m 0755 -d dest/usr/sbin/
+ ln -sf /usr/bin/opkg-cert dest/usr/sbin/opkg-key
@# opkg-lede's CMake build system doesn't install this...
sed 's|@opkglibdir@|/var/lib|g' src/utils/update-alternatives.in \
>dest/usr/bin/update-alternatives