Dump system information when entering shell

This commit is contained in:
Rodrigo Arias 2024-06-05 14:49:51 +02:00
parent 8bd4550bc6
commit 4344f73d87

View File

@ -87,6 +87,15 @@
INITRD = build.initialRamdisk;
ROOTFS = build.sdImage;
UBOOT_ENV = syspkgs.uboot-env;
shellHook = ''
echo "Here are the current system pieces:"
echo " TOPLEVEL = $TOPLEVEL"
echo " KERNEL = $KERNEL"
echo " OPENSBI = $OPENSBI"
echo " INITRD = $INITRD"
echo " ROOTFS = $ROOTFS"
echo " UBOOT_ENV = $UBOOT_ENV"
'';
};
};
}