Merge lp:~sergiusens/goget-ubuntu-touch/clean into lp:goget-ubuntu-touch
Proposed by
Sergio Schvezov
Status: | Merged |
---|---|
Approved by: | Manuel de la PeΓ±a |
Approved revision: | 21 |
Merged at revision: | 24 |
Proposed branch: | lp:~sergiusens/goget-ubuntu-touch/clean |
Merge into: | lp:goget-ubuntu-touch |
Diff against target: |
34 lines (+8/-1) 2 files modified
ubuntu-device-flash/args.go (+1/-0) ubuntu-device-flash/main.go (+7/-1) |
To merge this branch: | bzr merge lp:~sergiusens/goget-ubuntu-touch/clean |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Pope πΊπ§π± π¦ (community) | Approve | ||
Manuel de la PeΓ±a (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+210266@code.launchpad.net |
Commit message
Simple cleanup option for flashing.
Description of the change
This is a quick way of getting a cleanup option in place. Take a look at answering proposals in
https:/
To post a comment you must log in.
Looks good.
alan@deep- thought: /tmp$ df -h thought: /tmp$ ubuntu-device-flash --help device- flash [OPTIONS]
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 231G 33G 197G 15% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 7.8G 4.0K 7.8G 1% /dev
tmpfs 1.6G 1.7M 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.8G 44M 7.8G 1% /run/shm
none 100M 128K 100M 1% /run/user
/dev/sda1 224G 176G 48G 79% /home
/home/alan/.Private 224G 176G 48G 79% /home/alan
alan@deep-
Usage:
ubuntu-
Application Options: -list-channels List available channels /system- image.ubuntu. com)
--revision= revision to flash, absolute or relative allowed
--bootstrap bootstrap the system, do this from the bootloader
-
--wipe Clear all data after flashing
--channel= Specify an alternate channel (stable)
--device= Specify the device to flash
--serial= Serial of the device to operate
--server= Use a different image server (https:/
--clean-cache Cleans up cache with all downloaded bits
Help Options:
-h, --help Show this help message
alan@deep- thought: /tmp$ ubuntu-device-flash --clean-cache thought: /tmp$ df -h
2014/03/10 17:59:27 Cleaning prevously downloaded content
alan@deep-
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 231G 33G 197G 15% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 7.8G 4.0K 7.8G 1% /dev
tmpfs 1.6G 1.7M 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.8G 44M 7.8G 1% /run/shm
none 100M 128K 100M 1% /run/user
/dev/sda1 224G 171G 52G 77% /home
/home/alan/.Private 224G 171G 52G 77% /home/alan