summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index c215edd..caac7a4 100755
--- a/build
+++ b/build
@@ -26,6 +26,9 @@ build:
install: build
oh-autoinstall
mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-lede
+ @# Hack: prokit's install command uses opkg to run maintainer scripts,
+ @# so make sure /usr/bin/opkg exists even before postinst can run u-a.
+ ln -sf opkg-lede dest/usr/bin/opkg
@# From OpenWrt:
cp ../opkg-key dest/usr/bin/opkg-key-lede
@# opkg-lede's CMake build system doesn't install this...