summaryrefslogtreecommitdiffstats
path: root/dev/todo
diff options
context:
space:
mode:
authorPatrick McDermott <pehjota>2020-11-11 01:14:35 (EST)
committer Patrick McDermott <pehjota>2020-11-11 01:14:35 (EST)
commit8109f0734cc34aed85fb2595be994f35b22e6293 (patch)
tree37eacd5bc52697e827cb3a030b7d3de03593a1b1 /dev/todo
parentcbd739cb1a07bdd50f7db18c34db2fc960e679b8 (diff)
dev/todo/install-bb-without-bb: Maybe an env var?
Diffstat (limited to 'dev/todo')
-rw-r--r--dev/todo/install-bb-without-bb.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/todo/install-bb-without-bb.mdwn b/dev/todo/install-bb-without-bb.mdwn
index c0a8273..f8e87f4 100644
--- a/dev/todo/install-bb-without-bb.mdwn
+++ b/dev/todo/install-bb-without-bb.mdwn
@@ -60,11 +60,12 @@ therefore utility links are not yet created).
Once this new `opkg-lede` package is uploaded and `busybox` uses
`update-alternatives` for everything, `busybox` would need to declare that it
`Breaks` older versions of `opkg-lede`, to ensure that `opkg-lede` will preserve
-a copy of the `busybox` executable and its utility links. **However, this is
+a copy of the `busybox` executable and its utility links. However, this is
still insufficient, as the version of `opkg` that is *running* must have already
set up this environment before `busybox` is upgraded. `busybox`'s `prerm`
script will need to check for this somehow and abort the upgrade if `opkg` is
-too old to have prepared for a safe upgrade. More design work needed.**
+too old to have prepared for a safe upgrade. One solution is for the `opkg`
+script to set an `OPKG_BUSYBOX_SAVED` environment variable.
The `opkg` script of the `opkg-lede` package will need to read `busybox`'s list
of alternatives links. This is currently located at