lp:~blake-rouse/curtin/curtin-no-nvram

Created by Blake Rouse and last modified
Get this branch:
bzr branch lp:~blake-rouse/curtin/curtin-no-nvram
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Blake Rouse
Project:
curtin
Status:
Merged

Recent revisions

207. By Blake Rouse

Link bug.

206. By Blake Rouse

Add --no-nvram to the grub-install command for UEFI.

205. By Scott Moser

add and use wipe_partitions, improve wipedev

instead of using sgdisk --zap-all and wipefs, use 'wipedev'.
For partitions, we can now use:
  wipe_partitions /dev/vdb 1

which will wipe the beginning of the partition without
triggering a REREADPT that wipefs would do.

I believe the wipefs call was the reason for the race condition
seen in LP: #1443542.

204. By Scott Moser

tools/maas2roottar: add this helper tool

maas2roottar takes a maas image (root-image.gz) and
creates a root-image file, a tarball suitable for installation
and optionally pulls kernel and initramfs out from inside.

203. By Scott Moser

improve code that finds devices and partitions

this fixes 2 bugs (LP: #1401190 and LP: #1263181).
I'm not terribly happy about the name-specific (cciss/c0d0) code that is
being added here. However, I do want this to work.

Also, we add a "should work" path for determining the device name
of a partition on a given target. Ie, given:
  /dev/sda 1 => /dev/sda1
  /dev/nbd0p1 => /dev/ndb0p1

The tricky/annoying one is
  /dev/cciss/c0d0 1 -> /dev/cciss/c0d0p1

202. By Scott Moser

get_installable_blockdevs: filter out removable devices and size < 1G

add 2 keyword options to this method to by default filter out
disks that are removable (CD, USB, floppy) or are smaller than 1G.

201. By Scott Moser

curtin.deps.install: actually do the install

200. By Scott Moser

curthooks: know kernel mapping for vivid (3.19)

The KERNEL_MAPPING needs to be kept up to date for lts enablement kernel
versions. This just adds vivid's 3.19.

This is only relevant for mapping kernel major.minor to -lts-<releasename>.

199. By Scott Moser

debian/control: wrap-and-sort, update standards, add dh-python

198. By Scott Moser

python3or2 launcher and python3 fixes

This set of changes gets us to functional python3 curtin.
It represents 2 functional changes:
a.) a launcher (bin/curtin) change from python to shell
  the launcher will by default search for a python and use
  the first one where $python -m curtin.deps.check exits 0
  if none in the list successfully verify deps, it will attempt
  to install the deps using the first available python in the list

b.) fixes for python3
   maas reporter is ported to use either oauthlib or oauth, depending
   on which is available in import. And also has changes for urllib usage.

   general minor fixes to work in python3.

I've testd it with maas 1.7.1 installs of vivid, trusty and precise.
Maas currently uses the ephemeral environment of the release that it is
installing to do the install. So, this represenst 3 different python
environments:
  vivid only has suitable python in python3 (python3-yaml, python3)
  trusty has python-yaml and python2 2.7.5
  precise has python-yaml and python2 2.7.3

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers