diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-22 18:21:06 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-23 05:49:37 (EST) |
commit | d711e8cd5e0d7186dad840b9883a97a93f2dd383 (patch) | |
tree | b06b1043ceb00e56947009a3d1d2efeb9cb87ec4 /build | |
parent | dd3d64da2f1fb5966b7b1bd36b20ab902f1ccedd (diff) |
Make opkg-cl and u-a run saved busybox sh link
Diffstat (limited to 'build')
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |