Merge lp:~sergiusens/touch-preview-images/phablet-build-scripts into lp:touch-preview-images/phablet-build-scripts
Proposed by
Sergio Schvezov
Status: | Merged |
---|---|
Approved by: | Ricardo Salveti |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15 |
Proposed branch: | lp:~sergiusens/touch-preview-images/phablet-build-scripts |
Merge into: | lp:touch-preview-images/phablet-build-scripts |
Diff against target: |
113 lines (+60/-28) 2 files modified
META-INF/com/google/android/updater-script (+4/-28) ubuntu_data (+56/-0) |
To merge this branch: | bzr merge lp:~sergiusens/touch-preview-images/phablet-build-scripts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Salveti (community) | Approve | ||
Review via email: mp+163572@code.launchpad.net |
Description of the change
Moved the image installation to a script to be more versatile.
Allow storing home and network settings when flashing a new image.
This initial changeset makes it inline to not affect current build system configurations.
To post a comment you must log in.
8 +package_ extract_ file("ubuntu_ deploy. sh", "/tmp/ubuntu_ deploy. sh"); deploy. sh");
9 +set_perm(0, 0, 0777, "/tmp/ubuntu_
Do we really have /tmp/ access at recovery? Never tested, downloading the tarball to test.
55 +cat > ${WORKDIR} /ubuntu_ deploy. sh << 'EOF'
56 +#!/sbin/sh
Any reason for it not to be a separated script? If separated, also make sure to add a header with copyright and such.
61 +phablet_ home_bak= /data/phablet_ home settings_ bak=/data/ nm_connections
+network_
I'd prefer to use a common directory for backups, like /data/ubuntu_bak or similar, so we know where to find the files in case of a failure when flashing the image.
Rest looks fine, creating an image to test it.