summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-07 11:44:10 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-07 11:50:29 (EST)
commit309ee436253b8263798cb7ee9884b0f9a7d5d66c (patch)
tree091e8b0b3a43b7c836c29dcec22d2d0d5867db27
parent4b52cfef857b924bcda7300a690310860f5cbf63 (diff)
patches: Allow u-a to manage /usr/bin/[
-rw-r--r--changelog1
-rw-r--r--patches/u-a-protect-bracket.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/changelog b/changelog
index 4450781..cd62476 100644
--- a/changelog
+++ b/changelog
@@ -9,6 +9,7 @@ opkg-lede (0+git20190131.d4ba162-7) trunk
- Accepts an -a/--host-architecture option for multiarch support.
* Add patch from upstream to fix "file_md5sum_alloc: Could't compute
md5sum" errors.
+ * Add patch to allow update-alternatives to manage "/usr/bin/[".
-- Patrick McDermott <patrick.mcdermott@libiquity.com> Thu, 18 Jun 2020 12:50:01 -0400
diff --git a/patches/u-a-protect-bracket.patch b/patches/u-a-protect-bracket.patch
new file mode 100644
index 0000000..de74f0d
--- /dev/null
+++ b/patches/u-a-protect-bracket.patch
@@ -0,0 +1,12 @@
+diff -Naur src.orig/utils/update-alternatives.in src/utils/update-alternatives.in
+--- src.orig/utils/update-alternatives.in 2019-01-31 04:17:16.000000000 -0500
++++ src/utils/update-alternatives.in 2020-12-07 11:41:18.011162598 -0500
+@@ -65,7 +65,7 @@
+ }
+
+ protect_slashes() {
+- sed -e 's/\//\\\//g'
++ sed -e 's/\//\\\//g; s/\[/\\[/g'
+ }
+
+ remove_alt() {