summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changelog7
-rwxr-xr-xopkg4
2 files changed, 9 insertions, 2 deletions
diff --git a/changelog b/changelog
index a2dc6ef..15b6ec5 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,10 @@
+opkg-lede (0+git20190131.d4ba162-8) trunk
+
+ * opkg-lede: Fix a "cat: not found" error when "/usr/bin/opkg" is run
+ during a system installation.
+
+ -- Patrick McDermott <patrick.mcdermott@libiquity.com> Wed, 09 Dec 2020 09:00:08 -0500
+
opkg-lede (0+git20190131.d4ba162-7) trunk
* opkg-lede: Add a wrapper script as "/usr/bin/opkg" and move the real
diff --git a/opkg b/opkg
index 33ec19f..c9f7052 100755
--- a/opkg
+++ b/opkg
@@ -74,7 +74,8 @@ main()
fi
set -- "${@}" \
--add-arch all:100 \
- --add-arch "$(cat /etc/proteanos_arch):50" \
+ --add-arch "$("${BB}" cat \
+ /etc/proteanos_arch):50" \
--add-arch src:100
first_arg=false
elif [ -n "${arch_arg}" ]; then
@@ -120,7 +121,6 @@ main()
fi
save_bb
-
if /usr/bin/opkg-cl "${@}"; then
unsave_bb
return 0