path: root/dev
diff options
authorPatrick McDermott <pehjota>2020-11-10 10:35:39 (EST)
committer Patrick McDermott <pehjota>2020-11-10 10:35:39 (EST)
commit035df8259a72bf282938beddf600406515f0634c (patch)
treea45c751fe6f5b4dc5044bebdc7ac4dde7e1d7237 /dev
parent2c98a02532bff6ce0e8d396234491facc6598284 (diff)
dev/todo/install-bb-without-bb: More work needed
Diffstat (limited to 'dev')
1 files changed, 7 insertions, 3 deletions
diff --git a/dev/todo/install-bb-without-bb.mdwn b/dev/todo/install-bb-without-bb.mdwn
index ec0fe86..f20884e 100644
--- a/dev/todo/install-bb-without-bb.mdwn
+++ b/dev/todo/install-bb-without-bb.mdwn
@@ -60,12 +60,16 @@ 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.
+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.**
The `opkg` script of the `opkg-lede` package will need to read `busybox`'s list
of alternatives links. This is currently located at
`/usr/share/busybox/alternatives`, though the file's format will change when
-`busybox` uses `update-alternatives` for everything. A migration strategy for
-`opkg-lede` will need to be designed.
+`busybox` uses `update-alternatives` for everything. **A migration strategy for
+`opkg-lede` will need to be designed.**