From d711e8cd5e0d7186dad840b9883a97a93f2dd383 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Nov 2020 18:21:06 -0500 Subject: Make opkg-cl and u-a run saved busybox sh link --- (limited to 'build') diff --git a/build b/build index 7b25cb7..b8a68e0 100755 --- a/build +++ b/build @@ -29,7 +29,8 @@ install: build 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 \ + sed '1s|^.*$$|#!/var/lib/opkg/bin/sh|; s|@opkglibdir@|/var/lib|g' \ + src/utils/update-alternatives.in \ >dest/usr/bin/update-alternatives oh-fixperms oh-strip -k -- cgit v0.9.1