Hello,

How does one do a partial-override of boot_cmds from the device file?

I have a panda and want to use the shipping device-type, except that I
need to 'setenv usbethaddr ...' before any of the other commands.

I can fix this by copy/paste'ing the whole boot_cmds_ramdisk section
from the device-type into my device file, but what I really want to do
to is just use the ones from the device-type with minor modifications
(and ensure I get updates to the production device-type when they
happen)

Something like this (assuming python ConfigParser style formatting) in
the device file would be useful:

boot_cmds_ramdisk =
    setenv usbethaddr <MAC addr>,
   %(boot_cmds_ramdisk)s

Is there a good way of doing that?

Kevin
_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to