Dump system information when entering shell
This commit is contained in:
parent
8bd4550bc6
commit
4344f73d87
@ -87,6 +87,15 @@
|
|||||||
INITRD = build.initialRamdisk;
|
INITRD = build.initialRamdisk;
|
||||||
ROOTFS = build.sdImage;
|
ROOTFS = build.sdImage;
|
||||||
UBOOT_ENV = syspkgs.uboot-env;
|
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"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user