lp:~smoser/curtin/trunk.fix-dpkg-reconfigure
- Get this branch:
- bzr branch lp:~smoser/curtin/trunk.fix-dpkg-reconfigure
Branch merges
- Server Team CI bot: Needs Fixing (continuous-integration)
- curtin developers: Pending requested
-
Diff: 274 lines (+156/-35)5 files modifiedcurtin/commands/apt_config.py (+36/-28)
examples/tests/test_old_apt_features.yaml (+1/-0)
tests/unittests/test_apt_source.py (+103/-0)
tests/vmtests/__init__.py (+6/-6)
tests/vmtests/test_old_apt_features.py (+10/-1)
Related bugs
Bug #1609614: Failed deployment with latest trunk | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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