AME=ubuntu-personal DEBUG_DISK=1 ./ubuntu-device-flash --verbose core rolling --channel edge --output amd64-rolling.img --install webdm --size 10
Determining oem configuration
Starting download of generic-amd64
40.93 KB / 40.93 KB [================================================================] 100.00 % 49.53 KB/s 0
Done
Fetching information from server...
ubuntu-personal
Downloading and setting up...
Download finished for /home/sergiusens/.cache/ubuntuimages/ubuntu-personal/rolling/edge/generic_amd64/version-4.tar.xz
128.00 KB / 456.53 MB [>---------------------------------------------------------] 0.03 % 144.79 KB/s 53m47sSearching for hardware.yaml in device part
4.81 MB / 456.53 MB [>------------------------------------------------------------] 1.05 % 866.57 KB/s 8m53sDownload finished for /home/sergiusens/.cache/ubuntuimages/pool/device-9a06d62b4fe6485e22b0ae9f1d7da08aed8605b0286a63b6fa5639bc6e1f1187.tar.xz
Partitioning...
rootSize set to 4096
GNU Parted 2.3
Usando /home/sergiusens/go/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/amd64-rolling.img
¡Bienvenido/a a GNU Parted! Teclee «help» para ver la lista de órdenes.
(parted) mklabel gpt
(parted) mkpart grub 8192s 16383s
(parted) mkpart system-boot fat32 16384s 147455s
(parted) mkpart system-a ext4 147456s 8536063s ---------] 1.14 % 849.99 KB/s 9m3s
(parted) mkpart system-b ext4 8536064s 16924671s
(parted) mkpart writable ext4 16924672s -1M
(parted) set 2 boot on ---------] 1.31 % 944.62 KB/s 8m8s
(parted) set 1 bios_grub on
(parted) quit
Mapping...
6.22 MB / 456.53 MB [>-------------------------------------------------------------] 1.36 % 952.12 KB/s 8m3sFormatting...
11.22 MB / 456.53 MB [=>------------------------------------------------------------] 2.46 % 1.03 MB/s 7m11sMapping...
Mounting...
Provisioning...
456.53 MB / 456.53 MB [==========================================================] 100.00 % 971.63 KB/s 8m1s
Download finished for /home/sergiusens/.cache/ubuntuimages/pool/ubuntu-8611d58ac95f0233ab3d2dff7daa766134a9193ef163bef1a403f6e493c99028.tar.xz
Installing generic-amd64
Starting download of generic-amd64
40.93 KB / 40.93 KB [===============================================================] 100.00 % 31.15 KB/s 1s
Done
Installing webdm
Starting download of webdm
6.16 MB / 6.16 MB [===============================================================] 100.00 % 51.43 KB/s 2m2s
Done
Unmounting...
Unmapping...
unable to install grub (EFI): grub-install: error: «/usr/lib/grub/x86_64-efi/modinfo.sh» no existe. Indique --target o --directory.
sergiusens@lothlorien:~/go/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash$ bzr diff
=== modified file 'diskimage/core_grub.go'
--- diskimage/core_grub.go 2015-06-11 03:13:19 +0000
+++ diskimage/core_grub.go 2015-06-15 13:54:27 +0000
@@ -111,10 +111,17 @@
return err
}
+ rootSize := 1024
+ ubuntuCore := os.Getenv("UDF_UBUNTU_CORE_NAME")
+ if ubuntuCore == "ubuntu-personal" {
+ rootSize = 4096
+ }
+ printOut("rootSize set to", rootSize)
+
parted.addPart(grubLabel, "", fsNone, 4)
parted.addPart(bootLabel, bootDir, fsFat32, 64)
- parted.addPart(systemALabel, systemADir, fsExt4, 1024)
- parted.addPart(systemBLabel, systemBDir, fsExt4, 1024)
+ parted.addPart(systemALabel, systemADir, fsExt4, rootSize)
+ parted.addPart(systemBLabel, systemBDir, fsExt4, rootSize)
parted.addPart(writableLabel, writableDir, fsExt4, -1)
parted.setBoot(2)
=== modified file 'ubuntu-device-flash/core.go'
--- ubuntu-device-flash/core.go 2015-06-09 13:57:34 +0000
+++ ubuntu-device-flash/core.go 2015-06-15 13:41:49 +0000
@@ -136,7 +136,13 @@
return err
}
- channel := systemImageChannel("ubuntu-core", coreCmd.Positional.Release, coreCmd.Channel)
+ ubuntuCore := os.Getenv("UDF_UBUNTU_CORE_NAME")
+ printOut(ubuntuCore)
+ if ubuntuCore == "" {
+ ubuntuCore = "ubuntu-core"
+ }
+ channel := systemImageChannel(ubuntuCore, coreCmd.Positional.Release, coreCmd.Channel)
+
// TODO: remove once azure channel is gone
var device string
if coreCmd.Deprecated.Device != "" {