Comment 2 for bug 2039468

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Hello Juerg,

get_machine() and its caller would have to be changed in file 'functions'.

I wonder why you have to use 'none' in /etc/flash-kernel/machine. Could you, please, describe your usage scenario. In which situation do you have neither a valid value in /proc/device-tree/model nor in /etc/flash-kernel/machine? What would write 'none' to /etc/flash-kernel/machine?

Would it help to return $? = 0 if /proc/device-tree/model does not exist? This would allow to use the same image (with flash-kernel) both on a system with ACPI as well as on one with a device-tree.

Best regards

Heinrich