OSDN Git Service

init: do not keep initrd's busybox in debug mode
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 May 2020 14:55:22 +0000 (22:55 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 May 2020 14:55:22 +0000 (22:55 +0800)
commit3119e2fd42a1c5eacd57217675262ff033966dd7
treee9b68653cef3b4d354d0a1c4c5bba0b6fdf64a2e
parent419460ac4942ca57ea7f4ca658d56153b15e1428
init: do not keep initrd's busybox in debug mode

Keeping initrd's busybox in debug mode is an old feature before we added
busybox porting to Android-x86. But it introduced some inconsistencies
between debug and normal modes. Moreover, it depends on AOSP's tool (ln)
to work properly. In case the tool fails to run, the system may not boot.

In short, the feature does more harm than good. Let's remove it from
debug mode. Only keep it if BUSYBOX=1 is set in cmdline.
initrd/init