qemu-x86-64 won't boot with sudo installed
The module affected
oniro-image-base and sudo.
What is the action to reproduce the bug?
List of commands to reproduce the issue:
mkdir sudo_test; cd sudo_test
repo init -u https://gitlab.eclipse.org/eclipse/oniro-core/oniro.git -b kirkstone
repo sync --no-clone-bundle
TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
echo "IMAGE_INSTALL += \"sudo\"" >> conf/local.conf
MACHINE=qemux86-64 bitbake oniro-image-base
MACHINE=qemux86-64 runqemu oniro-image-base wic ovmf kvm slirp nographic
What is the result you see?
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD0a0b:;BLK1:
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(1,GPT,844416B3-1109-4CFF-AE0C-018A78E267BB,0x2000,0x100000)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)
BLK2: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(2,GPT,187F52E8-7410-47F8-99BB-0D28D4EABF24,0x102000,0x200000)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(3,GPT,58371765-29D5-4068-BB8B-1518D101168D,0x302000,0x200000)
BLK4: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(4,GPT,C8DBDFCC-E3EB-497C-AC79-32F9A1062218,0x502000,0x4000)
BLK5: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(5,GPT,BE41F32F-BC9A-4A56-99BA-A4E741D6293B,0x506000,0x100000)
BLK6: Alias(s):
PciRoot(0x0)/Pci(0x4,0x0)/Scsi(0x0,0x0)/HD(6,GPT,E413FEEB-7115-4AD1-8509-62960AAA7F26,0x606000,0x200000)
Shell> SC in 1 seconds to skip startup.nsh or any other key to continue.
What is the result you expect?
Successful boot and login prompt.
Frequency?
Always.
Tested version
Image: oniro-image-base
Flavour: linux
Do you know any workaround of this issue?
No.
Do you have a fix for this issue?
No.