misc updates to make the GUI dd an image
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
fe66d485fd
commit
11ecd5e794
|
@ -40,12 +40,8 @@ func dd(mybut *ui.Button) {
|
|||
return
|
||||
}
|
||||
|
||||
shell.Script("dd if=/home/pinebook/factory/factory-2019-01-20 of=/mnt/factory-image/factory-2019-01-20 status=progress oflag=sync");
|
||||
|
||||
log.Println("run rsync here")
|
||||
shell.Script(`
|
||||
rsync -av --progress --inplace /home/pinebook/factory/FACTORY-IMAGER-ROOTFS/ /mnt/sdcard/
|
||||
umount /mnt/sdcard
|
||||
`)
|
||||
ui.MsgBox(mainwin, "The sdcard is finished", "")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue