clean data as install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Humpolec project |
Fix Released
|
High
|
Yuan-Chen Cheng |
Bug Description
the --bootstrap command will clean all existing data inside /data.
For dual boot, we need only delete file / directory that ubuntu touch use.
The following are file that ubuntu touch use (get on a flash install n4
with Trusty, devel channel, rev 58, version ubuntu: 20131211, version device: 20131203)
-------------------
-rw-r--r-- 1 root root 3 Dec 13 06:01 .last_ubuntu-build
-rw-rw-rw- 1 root root 0 Dec 13 06:00 .last_update
-rw------- 1 root root 2 Dec 6 01:56 .layout_version
-rw------- 1 root root 536870912 Dec 13 06:00 SWAP.img
drwxrwx--x 24 system system 4096 Dec 13 06:02 android-data
drwxr-xr-x 2 root root 4096 Dec 13 06:06 media
drwxr-xr-x 6 root root 4096 Dec 13 06:01 system-data
-rw------- 1 root root 2097152000 Dec 13 06:00 system.img
drwxr-xr-x 3 root root 4096 Dec 13 05:56 user-data
Related branches
- Rex Tsai: Approve
- Yuan-Chen Cheng (community): Needs Resubmitting
-
Diff: 28 lines (+6/-8)1 file modifiedassets/system-image-upgrader (+6/-8)
Changed in humpolec: | |
status: | In Progress → Fix Committed |
Changed in humpolec: | |
milestone: | none → m3-beta |
Changed in humpolec: | |
status: | Fix Committed → Fix Released |
information type: | Embargoed → Public |
it seems that media directory is also used by android. so I'll not remove media directory.