New issue
Advanced search Search tips

Issue 787778 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Clean up setup/ scripts

Project Member Reported by hungte@chromium.org, Nov 22 2017

Issue description

After removing mini-omaha related scripts, I think we're close to be ready for making setup/ more simplified.

Currently we have:
 - edit_lsb_factory
 - extract_firmware_updater
 - make_factory_package (for --diskimg and --usbimg)
 - merge_factory_usbimg
 - mount_partition
 - netboot_firmware_settings
 - resize_image_fs

I think we should merge that to a single program like 'cros_sdk', for example "py/tools/imgtool.py" so that:
 imgtool lsb_factory => edit the /etc/lsb_factory file 
 imgtool get_fw_updater => extract_firmware_updater
 imgtool disk => make_factory_package --diskimg
 imgtool usb => make_factory_package --usbimg
 imgtool merge_usb => merge_factory_usbimg
 imgtool mount => mount_partition
 imgtool netboot_firmware => netboot_firmware_settings
 imgtool resize_fs => resize_image_fs

And eventually, Dome may call imgtool to manipulate images, for example creating RMA shim or pre-flash SSD images.
 
Status: Assigned (was: Untriaged)
Owner: hungte@chromium.org
Status: Fixed (was: Assigned)
Solved by creation of image_tool.

Sign in to add a comment