make_dev_ssd: Add '--edit_config' to support in-place editing.

The '--save_config' and '--set_config' are found to be very useful for
developers but it's sometimes inconvenient that developer must specify a
temporary path and to know the implicit rules of how the files are generated.

Since most people just want to do in-place editing, we can add a --edit_config
so developers can simply invoke "make_dev_ssd --edit_config --partitions 2" to
start changing kernel command line without worrying about where to store the
temporary files.

TEST=./ --edit_config --partition 2

Change-Id: Ib8f19115df31f3f250b4378201d0f7ea562fec15
Tested-by: Hung-Te Lin <>
Reviewed-by: Bill Richardson <>
Reviewed-by: Randall Spangler <>
Commit-Queue: Hung-Te Lin <>
1 file changed