lp:~dbungert/curtin

Owned by Dan Bungert
Get this repository:
git clone https://git.launchpad.net/~dbungert/curtin
Only Dan Bungert can upload to this repository. If you are Dan Bungert please log in for upload directions.

Branches

Name Last Modified Last Commit
curtin-build-fix 2022-05-20 20:31:44 UTC
deb: fix dependencies

Author: Dan Bungert
Author Date: 2022-05-20 19:44:52 UTC

deb: fix dependencies

Required for bionic build, also more correct anyhow.

unittest-py310 2022-05-09 17:23:07 UTC
tox: drop xenial-py3 from default env list

Author: Dan Bungert
Author Date: 2022-05-09 17:23:07 UTC

tox: drop xenial-py3 from default env list

Running xenial-era python packages against modern python is not likely
to be successful! If this is an interesting test then we should support
that all the way - with a matching python version and other
dependencies, or not at all.

jammy-proxy 2022-05-06 15:07:18 UTC
Make sure curthooks do not discard supplied proxy settings

Author: Olivier Gayot
Author Date: 2022-04-27 16:55:18 UTC

Make sure curthooks do not discard supplied proxy settings

Just like we witnessed for the APT preferences, the proxy settings are
not honored when Subiquity installs packages from the "packages"
autoinstall section. This also applies for unattended-upgrades.

This happened because the installation of packages and execution of
unattended-upgrades occur after running curthooks.
Curtooks call handle_apt with an almost empty configuration.

Therefore, we would discard the proxy settings by removing the
etc/apt/apt.conf.d/90curtin-aptproxy file.

Fixed by not removing etc/apt/preferences.d/90curtin.pref when the
configuration does not contain APT preferences.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>

is-ci-awake 2022-05-03 13:57:32 UTC
test commit - CI should fail

Author: Dan Bungert
Author Date: 2022-05-03 13:57:32 UTC

test commit - CI should fail

partition-arbitrary-types 2022-04-29 23:35:11 UTC
block/v2: preserve disk label id

Author: Dan Bungert
Author Date: 2022-04-29 23:00:48 UTC

block/v2: preserve disk label id

Windows will report a boot failure if the disk label ID changes and
nothing else.

dos-table-part-types 2022-04-29 00:25:15 UTC
block/v2: allow setting raw partition_type value

Author: Dan Bungert
Author Date: 2022-04-27 20:48:58 UTC

block/v2: allow setting raw partition_type value

To preserve partition types that do not map to known flag values, we
must be able to capture that original type information and carry it
around in the storage config until used.

If we do not do this, preserved partitions get their type normalized to
another value (usually the equivalent of flags 'linux' or 'boot').

resize-vs-wipe 2022-04-26 17:55:04 UTC
block/v2: resize-friendly ordering of wipe

Author: Dan Bungert
Author Date: 2022-04-25 16:52:04 UTC

block/v2: resize-friendly ordering of wipe

lp-1970116 2022-04-26 17:36:35 UTC
change md path?

Author: Dan Bungert
Author Date: 2022-04-26 17:36:35 UTC

change md path?

resize-no-format-action 2022-04-26 16:52:35 UTC
block/v2: combine needs and prepare resize

Author: Dan Bungert
Author Date: 2022-04-21 20:07:43 UTC

block/v2: combine needs and prepare resize

ntfs 2022-04-26 16:07:41 UTC
block/v2: resize of ntfs

Author: Dan Bungert
Author Date: 2022-04-20 00:25:00 UTC

block/v2: resize of ntfs

no-skip-swaps-test 2022-04-26 15:08:33 UTC
vmtests: remove out of date skip

Author: Dan Bungert
Author Date: 2022-04-26 15:08:33 UTC

vmtests: remove out of date skip

get-resize-fstypes 2022-04-14 21:53:53 UTC
block: provide get_resize_fstypes

Author: Dan Bungert
Author Date: 2022-04-14 21:19:42 UTC

block: provide get_resize_fstypes

So callers can know which fs types we can and can't resize.

v1-extended-sizing 2022-04-14 21:03:27 UTC
block-meta: remove extension of extended part size

Author: Dan Bungert
Author Date: 2022-04-14 21:03:27 UTC

block-meta: remove extension of extended part size

In v1 action mode, the size of the extended partition is currently
extended by 1MiB to counter for the 1MiB gap in between logical
partiton. Remove that. Callers are expected to provide appropriate
sizing.

resize 2022-04-12 19:25:25 UTC
block-meta: resize and preserve correctness

Author: Dan Bungert
Author Date: 2022-04-12 17:41:11 UTC

block-meta: resize and preserve correctness

server/jammy 2022-04-08 17:38:49 UTC
Add riscv64 to supported UEFI architectures

Author: William Wilson
Author Date: 2022-03-14 22:49:52 UTC

Add riscv64 to supported UEFI architectures

As we prepare a RISC-V installer image, we need to add 'riscv64' to the
supported UEFI architectures. This commit does so by setting values
for grub_name and grub_target.

build-deb-dch 2022-01-10 16:41:28 UTC
build-deb: change default to signed files

Author: Dan Bungert
Author Date: 2022-01-05 20:09:41 UTC

build-deb: change default to signed files

uefi-check 2022-01-05 00:56:11 UTC
vmtests uefi: relax the uefi check

Author: Dan Bungert
Author Date: 2022-01-05 00:56:11 UTC

vmtests uefi: relax the uefi check

The addition of extra members of the efi dir is not a failure.
Relax this check to just a basic check that the efi dir is there.

lp-1955671 2022-01-04 21:18:44 UTC
distro: add rocklinux to distro list

Author: Dan Bungert
Author Date: 2022-01-04 20:47:35 UTC

distro: add rocklinux to distro list

While RockyLinux is not expected to be particularly better supported
than other headgear variants, adding it this way should resolve lookup
of the correct EFI directory.

partition-show-path 2021-12-08 00:11:04 UTC
block: output partition device path

Author: Dan Bungert
Author Date: 2021-12-08 00:11:04 UTC

block: output partition device path

ubuntu/devel 2021-12-07 00:40:53 UTC
Add LP# for upload

Author: Dan Bungert
Author Date: 2021-12-07 00:40:53 UTC

Add LP# for upload

rev-21.3 2021-12-06 21:35:03 UTC
version to 21.3

Author: Dan Bungert
Author Date: 2021-12-06 21:35:03 UTC

version to 21.3

system-upgrade 2021-12-04 00:16:16 UTC
system-upgrade: lookup os family

Author: Dan Bungert
Author Date: 2021-12-04 00:16:16 UTC

system-upgrade: lookup os family

`curtin system-upgrade` needs an osfamily lookup, as the command itself
neither takes an argument of the osfamily nor attempts to provide it.

lp-1934513 2021-12-01 21:07:03 UTC
distro: test for ID_LIKE

Author: Dan Bungert
Author Date: 2021-12-01 20:11:32 UTC

distro: test for ID_LIKE

udi-513 2021-11-17 18:15:18 UTC
lsblk: adjust output to match old format

Author: Dan Bungert
Author Date: 2021-11-17 18:15:18 UTC

lsblk: adjust output to match old format

The version of lsblk in Jammy, utils-linux 2.37.2,
has a modified output format from what curtin is expecting.
Normalize that format to the older style.
This appears to be the root cause for install failures of u-d-i
as reported in
https://github.com/canonical/ubuntu-desktop-installer/issues/513

20.1-3 2021-10-04 01:48:34 UTC
meta_simple: handle multiple disks in storage config with dd-image

Author: Dan Bungert
Author Date: 2021-04-30 03:10:14 UTC

meta_simple: handle multiple disks in storage config with dd-image

When scanning storage config for the target device to use with dd-image
install stop after finding a disk matching serial and grub_device true.

(Thanks to Ryan Harper and Lee Trager for good discussions and fix
 proposals)

LP: #1925722

command-apt-components 2021-09-22 16:46:51 UTC
commands/apt: suites&components light refactoring

Author: Dan Bungert
Author Date: 2021-09-22 16:46:51 UTC

commands/apt: suites&components light refactoring

command-apt-libapt-v4 2021-09-20 19:58:54 UTC
commands/apt: uri update simplification

Author: Dan Bungert
Author Date: 2021-09-20 19:58:54 UTC

commands/apt: uri update simplification

jenkins-py-apt 2021-09-08 22:55:55 UTC
tox: noproxy + sitepackages working

Author: Dan Bungert
Author Date: 2021-09-08 22:55:55 UTC

tox: noproxy + sitepackages working

Adding sitepackages means that lookup of commands gets weird, but using
{envpython} -m foo solves that.
So we need two {envpythons}, one for noproxy, one for nose.

We could stuff that into the noproxy script but that would be unexpected
for a script that only adjusts the environment then execs the real
command.

py-apt-prep 2021-09-03 22:20:26 UTC
vmtest-system-setup: fix python-apt selection

Author: Dan Bungert
Author Date: 2021-09-03 22:20:26 UTC

vmtest-system-setup: fix python-apt selection

no-py2 2021-08-26 20:26:40 UTC
noproxy: remove

Author: Dan Bungert
Author Date: 2021-08-26 20:26:40 UTC

noproxy: remove

noproxy was used with tox to not pass in proxy values, but the way tox
works those variables aren't coming thru anyhow, and the presence of
noproxy is complicating other efforts. With noproxy not used in the
tox.ini, it's now redundant, so remove the script outright.

command-apt-libapt-v3 2021-08-25 01:30:12 UTC
tox: drop py2, drop noproxy, python-apt from site

Author: Dan Bungert
Author Date: 2021-08-25 01:30:12 UTC

tox: drop py2, drop noproxy, python-apt from site

vmtests-impish 2021-08-10 15:30:01 UTC
vmtests: disable those nvme ones on focal+

Author: Dan Bungert
Author Date: 2021-08-10 15:30:01 UTC

vmtests: disable those nvme ones on focal+

The nvme tests just added back fail on focal and newer.
This would be good to investigate as we start to look at the failing
curtin tests.

generate-main 2021-08-09 20:29:54 UTC
bin/curtin: update generator for recent changes

Author: Dan Bungert
Author Date: 2021-08-09 20:29:54 UTC

bin/curtin: update generator for recent changes

bin/curtin is a generated file, but has been edited directly recently.
Update the generator tools to match recent changes.

fr-1187-apt-components 2021-08-06 23:23:54 UTC
Refuse to remove the 'main' component

Author: Dan Bungert
Author Date: 2021-08-06 23:16:19 UTC

Refuse to remove the 'main' component

allow-unrecognized-fstype 2021-07-22 21:08:22 UTC
Extend the 'format' schema for unknown fstypes

Author: Dan Bungert
Author Date: 2021-07-21 21:12:08 UTC

Extend the 'format' schema for unknown fstypes

Permit arbitrary fstype values if preserve == true
Goal here is to enumerate more filesystem formats, ones that blkid
recognizes, but not claim in any way that we can create them.
This is useful for presenting existing filesystem partitions to users
in an installer, as otherwise they just get unhelpfully marked as
'unknown'.

env-python 2021-07-13 19:33:55 UTC
Allow PYTHON to be used to locate python

Author: Dan Bungert
Author Date: 2021-07-13 19:33:55 UTC

Allow PYTHON to be used to locate python

pylint-vs-namedtuple 2021-05-11 23:38:24 UTC
Ignore no-member false positive from pylint

Author: Dan Bungert
Author Date: 2021-05-11 23:38:24 UTC

Ignore no-member false positive from pylint

pylint is, about 15% of the time, reporting a no-member error on users
of DISTROS. So we can disable that error in that case and get more
predictable behavior, but why is the error on 15% of the time?

lp-1925722-v2 2021-04-29 23:37:52 UTC
Remove unused mock function

Author: Dan Bungert
Author Date: 2021-04-29 23:37:52 UTC

Remove unused mock function

fs_pass_one 2021-04-01 18:44:17 UTC
Updated policy: use /proc/filesystems to decide passno

Author: Dan Bungert
Author Date: 2021-04-01 18:20:01 UTC

Updated policy: use /proc/filesystems to decide passno

The 'nodev' is intended to indicate
"whether the file system is mounted on a block device"
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s2-proc-filesystems

Use this info to set nodev items to passno 0, and default to 1 for
non-nodev or if the filesystem isn't present there.
Except that /proc/filesystems doesn't list 'swap' or 'none', so special
case those to passno 0.

nonzero-fs_pass 2021-03-17 21:24:03 UTC
Update schema for mount for passno/freq

Author: Dan Bungert
Author Date: 2021-03-17 21:24:03 UTC

Update schema for mount for passno/freq

master 2021-03-03 21:55:28 UTC
storage_config: return one type: disk action per multipathed disk

Author: Michael Hudson-Doyle
Author Date: 2021-03-03 21:55:28 UTC

storage_config: return one type: disk action per multipathed disk

Currently extract_storage_config returns one type: disk action
for every member of a multipathed disk and type: partition
actions for each partition of each disk. This works by generating
a type: disk action for each disk and ignoring the block device
data for the /dev/dm-X device for the multipathed disk.

But in groovy+, the udev rule from multipath-tools that has
always attempted to remove the devices nodes for the partitions
of a disk that is a multipath member actually succeeds, and
trying to generate a type: partition action for a partition with
no underlying device node makes things blow up.

Instead, this branch generates type: disk and type: partitions
actions from the /dev/dm-X nodes for the mutipathed disk and its
partitions, and ignores and disks and partitions that are members
of a multipathed disk.

LP: #1893818

ubuntu/xenial 2021-01-27 20:47:05 UTC
releasing curtin version 21.2-0ubuntu1~16.04.1

Author: Paride Legovini
Author Date: 2021-01-27 20:47:05 UTC

releasing curtin version 21.2-0ubuntu1~16.04.1

ubuntu/bionic 2021-01-27 20:39:57 UTC
releasing curtin version 21.2-0ubuntu1~18.04.1

Author: Paride Legovini
Author Date: 2021-01-27 20:39:57 UTC

releasing curtin version 21.2-0ubuntu1~18.04.1

ubuntu/focal 2021-01-27 20:26:44 UTC
releasing curtin version 21.2-0ubuntu1~20.04.1

Author: Paride Legovini
Author Date: 2021-01-27 20:26:44 UTC

releasing curtin version 21.2-0ubuntu1~20.04.1

ubuntu/groovy 2020-09-25 20:46:55 UTC
releasing curtin version 20.2-0ubuntu1

Author: Paride Legovini
Author Date: 2020-09-25 20:46:55 UTC

releasing curtin version 20.2-0ubuntu1

ubuntu/eoan 2020-02-14 15:44:17 UTC
releasing curtin version 19.3-26-g82f23e3d-0ubuntu1~19.10.1

Author: Ryan Harper
Author Date: 2020-02-14 15:44:17 UTC

releasing curtin version 19.3-26-g82f23e3d-0ubuntu1~19.10.1

ubuntu/disco 2019-09-10 21:57:21 UTC
Revert "d/control: update Depends for new probert package names"

Author: Dan Watkins
Author Date: 2019-09-10 21:57:21 UTC

Revert "d/control: update Depends for new probert package names"

This reverts commit 43c0a1474c4d32cebf0e940e555a7ac6851dbe9c.

(I incorrectly didn't fix the Depends during the preceding merge, but
its existence is still sufficient for this revert to not cause merge
conflicts into master.)

ubuntu/cosmic 2019-06-12 20:55:08 UTC
update changelog

Author: Ryan Harper
Author Date: 2019-06-12 20:55:08 UTC

update changelog

19.1 2019-05-21 21:03:54 UTC
release 19.1

Author: Dan Watkins
Author Date: 2019-05-21 21:03:54 UTC

release 19.1

ubuntu/artful 2018-05-18 19:02:29 UTC
releasing curtin version 18.1-17-gae48e86f-0ubuntu1~17.10.1

Author: Ryan Harper
Author Date: 2018-05-18 19:02:29 UTC

releasing curtin version 18.1-17-gae48e86f-0ubuntu1~17.10.1

ubuntu/zesty 2017-12-19 18:34:42 UTC
Import version 0.1.0~bzr532-0ubuntu1~17.04.1

Author: Scott Moser
Author Date: 2017-12-19 18:34:42 UTC

Import version 0.1.0~bzr532-0ubuntu1~17.04.1

151 of 51 results
This repository contains Public information 
Everyone can see this information.

Subscribers