mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
runqemu: print snapshot mode state in console
With snapshot enabled, no change on rootfs will be saved after qemu shutdown. Since this is not what a user might expect, print the snapshot mode state and its consequence in console at runqemu start. (From OE-Core rev: 57fe8538a87ff1f69f274d9692f038caed6cb5cd) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
60676f12f2
commit
b034dcc314
@@ -1053,6 +1053,9 @@ to your build configuration.
|
||||
logoutput.append('NFS_DIR: [%s]' % self.rootfs)
|
||||
else:
|
||||
logoutput.append('ROOTFS: [%s]' % self.rootfs)
|
||||
logoutput.append('SNAPSHOT: [%s]' %
|
||||
"Enabled. Changes on rootfs won't be kept after QEMU shutdown." if self.snapshot
|
||||
else "Disabled. Changes on rootfs will be kept after QEMU shutdown.")
|
||||
if self.ovmf_bios:
|
||||
logoutput.append('OVMF: %s' % self.ovmf_bios)
|
||||
if (self.ovmf_secboot_pkkek1):
|
||||
|
||||
Reference in New Issue
Block a user