lp:~smoser/curtin/trunk.bzr-dead
- Get this branch:
- bzr branch lp:~smoser/curtin/trunk.bzr-dead
Branch merges
- Ryan Harper (community): Approve
- Server Team CI bot: Needs Fixing (continuous-integration)
-
Diff: 44787 lines (+11/-43515)248 files modified.bzrignore (+0/-4)
LICENSE (+0/-661)
Makefile (+0/-60)
README (+11/-4)
bin/curtin (+0/-55)
curtin/__init__.py (+0/-48)
curtin/block/__init__.py (+0/-1036)
curtin/block/clear_holders.py (+0/-543)
curtin/block/iscsi.py (+0/-463)
curtin/block/lvm.py (+0/-96)
curtin/block/mdadm.py (+0/-768)
curtin/block/mkfs.py (+0/-242)
curtin/commands/__init__.py (+0/-27)
curtin/commands/apply_net.py (+0/-288)
curtin/commands/apt_config.py (+0/-671)
curtin/commands/block_attach_iscsi.py (+0/-38)
curtin/commands/block_detach_iscsi.py (+0/-36)
curtin/commands/block_info.py (+0/-75)
curtin/commands/block_meta.py (+0/-1439)
curtin/commands/block_wipe.py (+0/-53)
curtin/commands/clear_holders.py (+0/-48)
curtin/commands/curthooks.py (+0/-1058)
curtin/commands/extract.py (+0/-137)
curtin/commands/hook.py (+0/-49)
curtin/commands/in_target.py (+0/-87)
curtin/commands/install.py (+0/-534)
curtin/commands/main.py (+0/-227)
curtin/commands/mkfs.py (+0/-62)
curtin/commands/net_meta.py (+0/-186)
curtin/commands/pack.py (+0/-64)
curtin/commands/swap.py (+0/-87)
curtin/commands/system_install.py (+0/-63)
curtin/commands/system_upgrade.py (+0/-59)
curtin/commands/unmount.py (+0/-60)
curtin/commands/version.py (+0/-36)
curtin/config.py (+0/-142)
curtin/deps/__init__.py (+0/-176)
curtin/deps/check.py (+0/-76)
curtin/deps/install.py (+0/-48)
curtin/futil.py (+0/-116)
curtin/gpg.py (+0/-74)
curtin/log.py (+0/-76)
curtin/net/__init__.py (+0/-651)
curtin/net/network_state.py (+0/-456)
curtin/pack.py (+0/-250)
curtin/reporter/__init__.py (+0/-49)
curtin/reporter/events.py (+0/-278)
curtin/reporter/handlers.py (+0/-128)
curtin/reporter/legacy/__init__.py (+0/-58)
curtin/reporter/legacy/maas.py (+0/-128)
curtin/reporter/registry.py (+0/-37)
curtin/swap.py (+0/-109)
curtin/udev.py (+0/-78)
curtin/url_helper.py (+0/-315)
curtin/util.py (+0/-1435)
curtin/version.py (+0/-30)
debian/changelog.trunk (+0/-5)
debian/compat (+0/-1)
debian/control (+0/-82)
debian/copyright (+0/-17)
debian/curtin-common.install (+0/-1)
debian/curtin.install (+0/-1)
debian/python-curtin.install (+0/-1)
debian/python3-curtin.install (+0/-1)
debian/rules (+0/-21)
debian/source/format (+0/-1)
doc/Makefile (+0/-153)
doc/conf.py (+0/-259)
doc/devel/README-maas-image.txt (+0/-37)
doc/devel/clear_holders_doc.txt (+0/-85)
doc/index.rst (+0/-33)
doc/topics/apt_source.rst (+0/-167)
doc/topics/config.rst (+0/-589)
doc/topics/curthooks.rst (+0/-109)
doc/topics/development.rst (+0/-68)
doc/topics/integration-testing.rst (+0/-347)
doc/topics/networking.rst (+0/-524)
doc/topics/overview.rst (+0/-116)
doc/topics/reporting.rst (+0/-198)
doc/topics/storage.rst (+0/-965)
examples/apt-source.yaml (+0/-267)
examples/basic.yaml (+0/-16)
examples/finalize.windows (+0/-54)
examples/network-all.yaml (+0/-117)
examples/network-bond.yaml (+0/-48)
examples/network-bridge.yaml (+0/-30)
examples/network-ipv6-bond-vlan.yaml (+0/-56)
examples/network-iscsiroot.yaml (+0/-35)
examples/network-simple.yaml (+0/-30)
examples/network-vlan.yaml (+0/-24)
examples/partitioning-demos/custom-partitioning-demo-bcache.yaml (+0/-52)
examples/partitioning-demos/custom-partitioning-demo-dmcrypt.yaml (+0/-44)
examples/partitioning-demos/custom-partitioning-demo-gpt.yaml (+0/-37)
examples/partitioning-demos/custom-partitioning-demo-lvm.yaml (+0/-66)
examples/partitioning-demos/custom-partitioning-demo-raid.yaml (+0/-75)
examples/partitioning-demos/custom-partitioning-demo.yaml (+0/-38)
examples/tests/allindata.yaml (+0/-208)
examples/tests/apt_config_command.yaml (+0/-85)
examples/tests/apt_source_custom.yaml (+0/-97)
examples/tests/apt_source_modify.yaml (+0/-92)
examples/tests/apt_source_modify_arches.yaml (+0/-102)
examples/tests/apt_source_modify_disable_suite.yaml (+0/-92)
examples/tests/apt_source_preserve.yaml (+0/-98)
examples/tests/apt_source_search.yaml (+0/-97)
examples/tests/basic.yaml (+0/-79)
examples/tests/basic_iscsi.yaml (+0/-143)
examples/tests/basic_network.yaml (+0/-32)
examples/tests/basic_network_static.yaml (+0/-18)
examples/tests/basic_network_static_ipv6.yaml (+0/-22)
examples/tests/basic_scsi.yaml (+0/-73)
examples/tests/bcache-wipe-xfs.yaml (+0/-74)
examples/tests/bcache_basic.yaml (+0/-56)
examples/tests/bonding_network.yaml (+0/-32)
examples/tests/bridging_network.yaml (+0/-44)
examples/tests/centos_basic.yaml (+0/-14)
examples/tests/centos_defaults.yaml (+0/-91)
examples/tests/dirty_disks_config.yaml (+0/-10)
examples/tests/install_disable_unmount.yaml (+0/-18)
examples/tests/journald_reporter.yaml (+0/-20)
examples/tests/lvm.yaml (+0/-72)
examples/tests/lvm_iscsi.yaml (+0/-175)
examples/tests/lvmroot.yaml (+0/-42)
examples/tests/mdadm_bcache.yaml (+0/-134)
examples/tests/mdadm_bcache_complex.yaml (+0/-128)
examples/tests/mdadm_iscsi.yaml (+0/-87)
examples/tests/mirrorboot-msdos-partition.yaml (+0/-82)
examples/tests/mirrorboot-uefi.yaml (+0/-126)
examples/tests/mirrorboot.yaml (+0/-47)
examples/tests/multipath.yaml (+0/-38)
examples/tests/network_alias.yaml (+0/-123)
examples/tests/network_mtu.yaml (+0/-88)
examples/tests/network_source.yaml (+0/-31)
examples/tests/network_source_ipv6.yaml (+0/-31)
examples/tests/network_static_routes.yaml (+0/-22)
examples/tests/network_v2_passthrough.yaml (+0/-8)
examples/tests/nvme.yaml (+0/-74)
examples/tests/nvme_bcache.yaml (+0/-114)
examples/tests/raid10boot.yaml (+0/-71)
examples/tests/raid5bcache.yaml (+0/-98)
examples/tests/raid5boot.yaml (+0/-59)
examples/tests/raid6boot.yaml (+0/-72)
examples/tests/simple.yaml (+0/-3)
examples/tests/test_old_apt_features.yaml (+0/-11)
examples/tests/test_old_apt_features_ports.yaml (+0/-10)
examples/tests/ubuntu_core.yaml (+0/-45)
examples/tests/uefi_basic.yaml (+0/-81)
examples/tests/uefi_lvmroot.yaml (+0/-82)
examples/tests/vlan_network.yaml (+0/-81)
examples/tests/vlan_network_ipv6.yaml (+0/-92)
helpers/common (+0/-732)
helpers/install-grub (+0/-4)
helpers/list-flash-kernel-packages (+0/-13)
helpers/partition (+0/-4)
helpers/shell-archive (+0/-278)
helpers/smtar (+0/-116)
requirements.txt (+0/-2)
setup.py (+0/-49)
test-requirements.txt (+0/-4)
tests/unittests/__init__.py (+0/-1)
tests/unittests/helpers.py (+0/-94)
tests/unittests/test_apt_custom_sources_list.py (+0/-167)
tests/unittests/test_apt_source.py (+0/-1033)
tests/unittests/test_basic.py (+0/-10)
tests/unittests/test_block.py (+0/-623)
tests/unittests/test_block_iscsi.py (+0/-741)
tests/unittests/test_block_lvm.py (+0/-94)
tests/unittests/test_block_mdadm.py (+0/-1169)
tests/unittests/test_block_mkfs.py (+0/-163)
tests/unittests/test_clear_holders.py (+0/-663)
tests/unittests/test_commands_apply_net.py (+0/-334)
tests/unittests/test_commands_block_meta.py (+0/-320)
tests/unittests/test_commands_install.py (+0/-22)
tests/unittests/test_commands_unmount.py (+0/-47)
tests/unittests/test_config.py (+0/-140)
tests/unittests/test_curthooks.py (+0/-810)
tests/unittests/test_feature.py (+0/-20)
tests/unittests/test_gpg.py (+0/-159)
tests/unittests/test_make_dname.py (+0/-200)
tests/unittests/test_net.py (+0/-827)
tests/unittests/test_pack.py (+0/-174)
tests/unittests/test_partitioning.py (+0/-329)
tests/unittests/test_public.py (+0/-54)
tests/unittests/test_reporter.py (+0/-204)
tests/unittests/test_util.py (+0/-905)
tests/unittests/test_version.py (+0/-67)
tests/vmtests/__init__.py (+0/-1519)
tests/vmtests/helpers.py (+0/-287)
tests/vmtests/image_sync.py (+0/-516)
tests/vmtests/releases.py (+0/-113)
tests/vmtests/report_webhook_logger.py (+0/-186)
tests/vmtests/test_apt_config_cmd.py (+0/-67)
tests/vmtests/test_apt_source.py (+0/-238)
tests/vmtests/test_basic.py (+0/-284)
tests/vmtests/test_bcache_basic.py (+0/-67)
tests/vmtests/test_bcache_bug1718699.py (+0/-25)
tests/vmtests/test_centos_basic.py (+0/-77)
tests/vmtests/test_install_umount.py (+0/-56)
tests/vmtests/test_iscsi.py (+0/-67)
tests/vmtests/test_journald_reporter.py (+0/-56)
tests/vmtests/test_lvm.py (+0/-72)
tests/vmtests/test_lvm_iscsi.py (+0/-67)
tests/vmtests/test_lvm_root.py (+0/-155)
tests/vmtests/test_mdadm_bcache.py (+0/-541)
tests/vmtests/test_mdadm_iscsi.py (+0/-42)
tests/vmtests/test_multipath.py (+0/-68)
tests/vmtests/test_network.py (+0/-498)
tests/vmtests/test_network_alias.py (+0/-80)
tests/vmtests/test_network_bonding.py (+0/-104)
tests/vmtests/test_network_bridging.py (+0/-249)
tests/vmtests/test_network_enisource.py (+0/-100)
tests/vmtests/test_network_ipv6.py (+0/-85)
tests/vmtests/test_network_ipv6_enisource.py (+0/-32)
tests/vmtests/test_network_ipv6_static.py (+0/-66)
tests/vmtests/test_network_ipv6_vlan.py (+0/-47)
tests/vmtests/test_network_mtu.py (+0/-222)
tests/vmtests/test_network_static.py (+0/-81)
tests/vmtests/test_network_static_routes.py (+0/-71)
tests/vmtests/test_network_vlan.py (+0/-102)
tests/vmtests/test_nvme.py (+0/-180)
tests/vmtests/test_old_apt_features.py (+0/-117)
tests/vmtests/test_raid5_bcache.py (+0/-105)
tests/vmtests/test_simple.py (+0/-52)
tests/vmtests/test_ubuntu_core.py (+0/-46)
tests/vmtests/test_uefi_basic.py (+0/-133)
tests/vmtests/test_vmtests.py (+0/-43)
tools/build-deb (+0/-120)
tools/curtainer (+0/-195)
tools/curtin-from-container (+0/-127)
tools/curtin-log-print (+0/-197)
tools/export-tarball (+0/-61)
tools/find-tgt (+0/-149)
tools/jenkins-runner (+0/-122)
tools/launch (+0/-856)
tools/maas2roottar (+0/-253)
tools/noproxy (+0/-12)
tools/report_webhook_logger (+0/-6)
tools/run-pep8 (+0/-26)
tools/run-pyflakes (+0/-28)
tools/run-pyflakes3 (+0/-2)
tools/ssh-keys-list (+0/-74)
tools/tox-venv (+0/-142)
tools/usquery (+0/-97)
tools/vmtest-sync-images (+0/-73)
tools/vmtest-system-setup (+0/-70)
tools/webserv (+0/-34)
tools/write-curtin (+0/-24)
tools/xkvm (+0/-687)
tox.ini (+0/-104)
Branch information
Recent revisions
- 554. By Scott Moser
-
README: Mention move of revision control to git.
curtin development has moved its revision control to git.
It is available at
https://code.launchpad .net/curtin Clone with
git clone https://git.launchpad. net/curtin
or
git clone git+ssh://git.launchpad .net/curtin For more information see
http://curtin. readthedocs. io/en/latest/ topics/ development. html - 552. By Scott Moser
-
packaging: update debian/build-deb to remove ~bzrREV when using equal tag
When building a curtin package from tree, if the current revno matches
a tag revision, use the tag value and drop the ~bzrREV from the version
string. - 551. By Scott Moser
-
pack: fix packing when curtin is installed inside a snap.
When curtin is installed as part of a MAAS snap, then it would fail
to find its helpers directory. That is because instead of helpers
living in usr/lib/curtin/ helpers they will be in
/snap/maas/<version> /usr/lib/ curtin/ helpers
But helpfully, SNAP will be set in the environment to point to
/snap/maas/<version> / The fix is to adjust pack to trust the environment variable
and pack up the installed files based on that prefix. - 550. By Scott Moser
-
tox: move to pylint 1.7.4
Update the pylint version used in tox from 1.5.4 to 1.7.4.
The primary gain from this is the ability to run with python3.6.
https://github. com/PyCQA/ pylint/ issues/ 1113 - 549. By Scott Moser
-
vmtests: iscsi minor cleanup.
This does 2 things.
a.) move the building of a rfc4173 string into a function.
b.) replace usage of 'uuidgen' with python standard library 'uuid' - 548. By Ryan Harper
-
vmtests: exercise rootfs over an lvm logical volume
- modify mkfs to handle key=value parameter replacement for mkfs.xfs to
control the uuid value of the filesystem
- Allow templating of the lvmroot yamls to specify different rootfs format
types. This allow for testing with multiple fstypes without duplicating
input yaml
- Fix a lurking CURTIN_REUSE_TOPDIR= 1 bug under uefi mode where we attempt
to rewrite grub.conf always
- Add a specific uefi_lvmroot configuration to match user issue from
Bug #1731490
- Update vgcreate, lvcreate invocations to zero and wipe target devices
and volumes where possible (> trusty) which eliminates the scary
warning about detecting filesystem signatures on lv creation. - 547. By Ryan Harper
-
Switch network dep filter to test for ifupdown/nplan instead of release name
Curtin will install some additional packages in-target depending on the
configuration. For example, if the curtin config includes bridges,
then it will ensure that bridge-utils is installed. These deps are
valid for releases using ifupdown. In Artful and newer (Bionic) netplan
is used instead and these tools are not needed.This patch changes a release based check to a package install check.
If a system does not have ifupdown and also has netplan (nplan package)
then it will NOT install any ifupdown related deps (bridge-utils, vlan,
ifenslave). - 546. By Ryan Harper
-
Allow control of curtin install unmounting
A Curtin install always unmounts the target. In the subiquity use-case
they would like to support a) if something goes wrong give a shell to
the user to poke around in the target b) skip unmounting automatically
to allow writing of additional files in the target without re-invoking
curtin c) control where curtin mounts up storage devices.This branch adds two fields to the curtin 'install' config key: The
'target' value is a path that will be used instead of a temporary
directory. The 'unmount' key if found to be present and has the value
of 'disabled' then curtin install will skip the unmount operation.Additionally to aid in unmounting a target outside of the install
subcommand this branch introduces a curtin 'unmount' subcommand which
takes two params: the 'target' path to the mount point, the default
'target' value is to use the TARGET_MOUNT_POINT environment variable.
Curtin will by default do unmounts in a recursive manner meaning any
directory mounted underneath the target will also be unmounted. A user
may supply '--disable-recursive- mounts' as a flag which will disable
the recursion resulting in a single unmount operation.
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