Commit Graph

3580 Commits

Author SHA1 Message Date
Adam Stokes 2bad57c76a Merge pull request #6 from CanonicalLtd/fix_issue_4
Fix issue 4
2015-06-17 14:58:56 -04:00
Ryan Harper 4cd052c6ef Runtime check on which qemu is being used and install the prereq before attempting to use qemu-system-xxxx. 2015-06-17 13:09:52 -05:00
Ryan Harper 698e76127a syslinux binaries aren't standalone, so copy all .c32 files into extlinux target dir. 2015-06-17 13:09:21 -05:00
Ryan Harper eeadb43f93 add gdisk prereq for sgdisk command 2015-06-17 13:08:27 -05:00
Ryan Harper 4d73e1f27c make sure dldir exists before downloading things. 2015-06-17 13:07:56 -05:00
Adam Stokes 63d138a4ee Update docstring in utils
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 12:49:13 -04:00
Adam Stokes adca8b3539 Make use of WelcomeModel for a simple language selection
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 12:49:13 -04:00
Adam Stokes 932ef0eff2 Update list widget
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 12:49:13 -04:00
Adam Stokes b9db4fc7a2 remove monochrome settings in an attempt to fix cursor placement in serial
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 12:49:13 -04:00
Adam Stokes f6634c5e4f Update welcome model to list a few languages
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 12:49:13 -04:00
Adam Stokes 1e253a7759 Merge pull request #5 from CanonicalLtd/fix_issue_3
Fix issue 3
2015-06-17 09:40:13 -04:00
Ryan Harper 7d536c917a Fix issue 3
Install simplestreams package in the prereqs for building installer image.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-17 08:38:12 -05:00
Adam Stokes e4c7f3d6cb Still working out how I want the models to work
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 20:17:40 -04:00
Ryan Harper 8fa43b57ea Call curtin installer from subiquity
Hacky method, but in welcome controller, use subprocess to
call a script which invokes curtin at a known location with
a specific set of parameters.

Modify the installer configuration and start-up scripts to
ensure Subiquity runs on tty1 and keeps the service running.

Upon hitting 'Confirm' Subiquity will exec curtin_wrap.sh
which calls the *real* curtin.  Cloud-init user-data has been
modified to unpack the curtin archive embedded.

When complete, the target.img file is bootable.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-16 18:59:13 -05:00
Adam Stokes a80d6b16d0 Document Padding/Color classes and methods
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 19:40:31 -04:00
Adam Stokes ffc4453474 Start work on language selection screen
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 19:17:04 -04:00
Adam Stokes 710a7da864 Make anchors match closer to our guideline doc
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 19:16:40 -04:00
Adam Stokes 6702ae87cc Provide Color class mapping
Dynamically generate the AttrMap's based on our palette keys.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 19:15:45 -04:00
Adam Stokes bbc0e317f5 Provide separate palette mapping for monochrome
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-16 19:14:41 -04:00
Adam Stokes 8ecbf7eba9 Merge pull request #2 from CanonicalLtd/installer_use_subiquity_ui
Use subiquity inside the install image
2015-06-16 15:50:15 -04:00
Ryan Harper fc269dff06 Use subiquity inside the install image
- Tar up the subiquity code and inject that into the user-data
 - Add support for encoding when adding binary files
 - Until we have a way to detect serial presence, run installer on tty1
 - Add power_state hook to shut machine off after subiquity exits
 - git status ignore image file in installer dir

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-16 14:45:05 -05:00
Adam Stokes 80407c4f68 Update README.md
Format the code portions of the readme
2015-06-15 15:47:41 -04:00
Adam Stokes 85eb3abbb5 Merge pull request #1 from CanonicalLtd/initial_installer_image_build
Initial import of installer image building
2015-06-15 15:46:46 -04:00
Ryan Harper a2ad7bf8ed Initial import of installer image building
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-15 14:38:51 -05:00
Adam Stokes 058e9ec422 fix safe colors
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-11 09:37:17 -04:00
Adam Stokes ce18689b94 Split out controllers/views, add additional UI utilities
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-10 18:43:56 -04:00
Adam Stokes 8d1894641f add curses display for serial
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-10 17:31:04 -04:00
Adam Stokes 389fdf17cb Add initial start view, buttons, and utilities
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-10 16:59:55 -04:00
Adam Stokes 9f78c2a775 Start work on models and ui
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-08 23:40:41 -04:00
Adam Stokes d812ff23b8 Initial commit 2015-06-08 17:57:45 -04:00