lp:~smoser/curtin/trunk.fix-dpkg-reconfigure

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/curtin/trunk.fix-dpkg-reconfigure
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
curtin
Status:
Merged

Recent revisions

414. By Scott Moser

check in vmtest that cloud-init's settings got applied.

413. By Scott Moser

fix mocking of dpkg_reconfigure

412. By Scott Moser

fix dpkg-reconfigure when debconf_selections was provided.

when debconf selections were provided dpkg-reconfigure was
not being called correctly.

This re-works apply_debconf_selections to be more testable
and adds tests it and new functions that were split out:
 debconf_set_selections
 dpkg_reconfigure

411. By Scott Moser

fix apt tests on non-intel arch

The apt config tests were failing
a.) on non-amd64 arch because util.get_architecture() wasnt correctly
    mocked.
b.) arbitrarily based on test order.
   the change curtin/commands/apt_config.py is made because
   the test was modifying the return value and inadvertantly modifying
   the persistent (across test) files.

there are a few other test improvements here, mostly in line formating.

410. By Scott Moser

Add apt features to curtin.

This allows user more control over what sources are configured in
curtin installation. Examples are various apt configurations, proxies,
mirrors, ppa's, sources.list content and pgp keys trusted by apt.

See examples/apt-source.yaml for examples and explanation of the individual
capabilities.

Along the actual features a huge list of related unit- and vm-tests is added.

409. By Ryan Harper

vmtest: easier use of parallel and controlling timeouts

This adds and documents the following environment variables:

  * CURTIN_VMTEST_BOOT_TIMEOUT: default 300
    timeout before giving up on the boot of the installed system.

  * CURTIN_VMTEST_INSTALL_TIMEOUT: default 3000
    timeout before giving up on installation.

  * CURTIN_VMTEST_PARALLEL: default ''
    only supported through ./tools/jenkins-runner .
       -1 : then run one per core.
        0 or '': then run with no parallel
       >0 : run with N processes
    this modifies the invocation of nosetets to add '--processes' and
    other necessary nose arguments (--process-timeout)

408. By Ryan Harper

mkfs.vfat: add force flag for formating whole disks

For mkfs.vfat commands, add the flag -I to force the command to work
if told to format a whole disk instead of just a partition.

407. By Ryan Harper

block.mkfs: fix sectorsize flag

Only append '-s 1' flag to mkfs commands when creating vfat volume on advanced
format disk. Also, support specifying sector size to mkfs.xfs and properly
format argument.

406. By Ryan Harper

block_meta: cleanup use of sys_block_path and handle cciss knames

In block_meta, always use block.sys_block_path when finding info in
sysfs. In block.sys_block_path, properly find kname of device path
given as /dev/cciss/cXdX

405. By Ryan Harper

block.get_blockdev_sector_size: handle _lsblock multi result return

_lsblock() may return multiple results whenever there are other
devices under the device it has been called on (for example, disks
with partitions). If multiple values are returned search for
a result with the correct device path. If no such device is found
among the results, then fall back to previous behavior, which was
taking the first of the results

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