~ubuntu-branches/ubuntu/vivid/goget-ubuntu-touch/vivid-proposed

« back to all changes in this revision

Viewing changes to ubuntu-device-flash/common.go

  • Committer: Package Import Robot
  • Author(s): Sergio Schvezov, Sergio Schvezov, Jani Monoses
  • Date: 2015-01-15 23:20:52 UTC
  • mfrom: (1.1.40)
  • Revision ID: package-import@ubuntu.com-20150115232052-0gf2479uzshugaz7
Tags: 0.11-0ubuntu0
 [ Sergio Schvezov ]
* ubuntu-devce-flash:
  - add fixrtc to cmdline.
  - use msdos for core when appropriate.
  - relax rules for the device tarball.
  - fix provisioning errors when not overriding the device part.

[ Jani Monoses ]
* ubuntu-device-flash: allow overriding custom for touch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        return strings.Contains(path, "device")
87
87
}
88
88
 
 
89
// isCustomPart checks if the file corresponds to the custom part.
 
90
func isCustomPart(path string) bool {
 
91
        return strings.Contains(path, "custom")
 
92
}
 
93
 
89
94
func copyFile(src, dst string) error {
90
95
        dstFile, err := os.Create(dst)
91
96
        if err != nil {