From e9ebc5a27ed3f34253a2a69fc264296058a9d136 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 09 Nov 2020 12:04:30 -0500 Subject: dev/todo/install-bb-without-bb: postinst runs cat --- (limited to 'dev/todo') diff --git a/dev/todo/install-bb-without-bb.mdwn b/dev/todo/install-bb-without-bb.mdwn index 38e1b9a..2281444 100644 --- a/dev/todo/install-bb-without-bb.mdwn +++ b/dev/todo/install-bb-without-bb.mdwn @@ -53,10 +53,11 @@ can't be configured when first unpacked by `prokit`. A Non-Solution -------------- -`busybox`'s `postinst` script doesn't execute any commands that aren't `ash` -built-ins, but it will need to have its interpreter line changed from -`#!/bin/sh` to `#!/bin/busybox sh`. `update-alternatives` will need to be -modified (rewritten?) to execute `busybox` directly. +`busybox`'s `postinst` script doesn't (need to) execute any commands that aren't +`ash` built-ins (`cat` is there but can be replaced with `read`), but it will +need to have its interpreter line changed from `#!/bin/sh` to +`#!/bin/busybox sh`. `update-alternatives` will need to be modified +(rewritten?) to execute `busybox` directly. However, there are at least two problems with this approach. -- cgit v0.9.1