diff options
| author | Adriana Kobylak <anoo@us.ibm.com> | 2020-03-12 19:12:59 +0300 |
|---|---|---|
| committer | Andrew Geissler <geissonator@yahoo.com> | 2020-07-15 00:28:01 +0300 |
| commit | 7fd017313e843059b727a0af27761746327e799c (patch) | |
| tree | 3dfa7988795e38b65dfa93a274d1dac2f0c3fbfc /meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal | |
| parent | d5ac0a49d05cc46085c8ace63f2f94a11af42f66 (diff) | |
| download | openbmc-7fd017313e843059b727a0af27761746327e799c.tar.xz | |
obmc-init.sh: Use u-boot env instead of password for emergency console
The password prompt doesn't work anymore. Since it relied on the
default password, remove the password prompt and just drop into
a shell if a new enable-initrd-debug-sh u-boot environment value is set.
The security implications are the same since the default
password is public and there is a need to have access to u-boot
to set the environment value.
If the environment value is not set, kernel panic the system.
Closes openbmc/openbmc#3649
Tested: Verified kernel panic if environment value was not set, and
if it was set the emergency console dropped into a shell and basic
linux commands worked:
Mounting read-write /dev/mtdblock5 filesystem failed. Please fix and run
mount /dev/mtdblock5 run/initramfs/rw -t jffs2 -o rw
or perform a factory reset with the clean-rwfs-filesystem option.
Try to manually fix.
After fixing run exit to continue this script, or reboot -f to retry, or
touch /takeover and exit to become PID 1 allowing editing of this script.
/bin/sh: can't access tty; job control turned off
/ #
(From meta-phosphor rev: 368550b2d259ac8d08c993b0d695f38aec8992fa)
Change-Id: I0431690b3b4facadbe224fc822d6bd06f35b51f5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal')
0 files changed, 0 insertions, 0 deletions
