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
quiet-splash 2024-04-15 18:34:20 UTC
default GRUB_CMDLINE_LINUX_DEFAULT to include quiet/splash

Author: Dan Bungert
Author Date: 2024-04-15 18:34:20 UTC

default GRUB_CMDLINE_LINUX_DEFAULT to include quiet/splash

lp-2057661-flock-zfs-ctd 2024-04-13 22:52:14 UTC
util: log release of flock

Author: Dan Bungert
Author Date: 2024-04-13 17:25:54 UTC

util: log release of flock

flock-ex 2024-03-25 16:42:32 UTC
block/zfs: flock for ZFS

Author: Dan Bungert
Author Date: 2024-03-20 03:40:26 UTC

block/zfs: flock for ZFS

Add flock calls around encrypted ZFS creation areas

LP: #2057661

py312 2024-03-20 19:05:31 UTC
lint: fix whitespace

Author: Dan Bungert
Author Date: 2024-03-20 19:05:31 UTC

lint: fix whitespace

ischroot-vs-ssh-server 2024-03-08 18:55:06 UTC
Revert "Bind ischroot->true in ChrootableTarget and --mount-proc in unshare"

Author: Dan Bungert
Author Date: 2024-03-08 18:55:06 UTC

Revert "Bind ischroot->true in ChrootableTarget and --mount-proc in unshare"

This reverts commit c5bb06b9645dfa7c69b7f54f860c68c9d8f560d7.

close-cryptoswap-questionmark 2024-02-29 23:47:25 UTC
do we need this for zpool export?

Author: Dan Bungert
Author Date: 2024-02-29 23:47:25 UTC

do we need this for zpool export?

zpool-keystore 2024-02-29 20:07:23 UTC
util: human2bytes actually return int

Author: Dan Bungert
Author Date: 2024-02-28 23:15:32 UTC

util: human2bytes actually return int

integration-run-bm-debug 2024-02-28 01:33:15 UTC
integration: add run_bm(..., debug=True) helper

Author: Dan Bungert
Author Date: 2023-05-16 17:59:37 UTC

integration: add run_bm(..., debug=True) helper

The debug argument for run_bm allows for running curtin outside of the
integration test itself, but with all the setup being done for you by
the integration test. This means that custom tweaks can be done to the
curtin code before running, setting breakpoints, etc.

cryptoswap-dmc-type 2024-02-28 00:58:41 UTC
dm_crypt: tests related to keyfile removal

Author: Dan Bungert
Author Date: 2024-02-23 00:24:46 UTC

dm_crypt: tests related to keyfile removal

test-use-zfs-keystore 2024-02-28 00:42:07 UTC
zpool: create keystore encrypted setups

Author: Dan Bungert
Author Date: 2024-02-21 19:14:55 UTC

zpool: create keystore encrypted setups

Add support for the 'luks_keystore' style encrypted ZFS install. Native
ZFS encryption is supported by a small dm_crypt dataset containing the
real key. This is a functional transcription of the way that Ubiquity
has implemented encrypted guided ZFS.

(cherry picked from commit 5bf15d6373def082104d64a352c53ed079b537dd)

fix-volume-id 2024-02-20 23:54:19 UTC
block_meta: improve get_volume_uuid

Author: Dan Bungert
Author Date: 2024-02-20 22:14:30 UTC

block_meta: improve get_volume_uuid

blkid can return 3 different types of UUIDs, and they aren't
interchangable. Clarify which one we're using.

Also, leverage the existing blkid() wrapper to do so.

cryptsetup-integration 2024-02-20 22:58:09 UTC
better

Author: Dan Bungert
Author Date: 2024-02-20 22:58:09 UTC

better

debug 2024-02-19 21:22:19 UTC
integration: add run_bm(..., debug=True) helper

Author: Dan Bungert
Author Date: 2023-05-16 17:59:37 UTC

integration: add run_bm(..., debug=True) helper

The debug argument for run_bm allows for running curtin outside of the
integration test itself, but with all the setup being done for you by
the integration test. This means that custom tweaks can be done to the
curtin code before running, setting breakpoints, etc.

lp-2023317-nested-ptable 2024-02-19 21:19:36 UTC
maybe

Author: Dan Bungert
Author Date: 2023-06-08 18:09:53 UTC

maybe

fix-kname-link 2024-02-08 16:05:53 UTC
block: fix kname kernel ref

Author: Dan Bungert
Author Date: 2024-02-08 16:05:53 UTC

block: fix kname kernel ref

cryptoswap-cryptsetup-type 2024-02-07 03:04:52 UTC
block_meta: fix fstab path to cryptoswap

Author: Dan Bungert
Author Date: 2024-02-06 23:52:44 UTC

block_meta: fix fstab path to cryptoswap

Curtin has this system by which it looks for the most robust path to the
device. Sadly, the existing mechanism fails for cryptoswap.

At install time, this device shows up with an ID that looks like
CRYPT-LUKS2 and insted ends up with CRYPT-PLAIN but the underlying
device remains luks (has the header).

This change appears to not affect other cases like LVM on LUKS, based on
regression testing of the existing Subiquity LVM+LUKS guided install
type.

I believe the name appropriate as a selection mechanism because we
already know it needs to be unique.

cryptoswap-dm-name 2024-02-07 03:04:52 UTC
block_meta: fix fstab path to cryptoswap

Author: Dan Bungert
Author Date: 2024-02-06 23:52:44 UTC

block_meta: fix fstab path to cryptoswap

Curtin has this system by which it looks for the most robust path to the
device. Sadly, the existing mechanism fails for cryptoswap.

At install time, this device shows up with an ID that looks like
CRYPT-LUKS2 and insted ends up with CRYPT-PLAIN but the underlying
device remains luks (has the header).

This change appears to not affect other cases like LVM on LUKS, based on
regression testing of the existing Subiquity LVM+LUKS guided install
type.

I believe the name appropriate as a selection mechanism because we
already know it needs to be unique.

cryptoswap 2024-01-18 15:27:13 UTC
block_meta: dm_crypt extensions for cryptswap

Author: Dan Bungert
Author Date: 2023-11-11 13:32:40 UTC

block_meta: dm_crypt extensions for cryptswap

btrfs 2023-11-12 00:09:53 UTC
notes

Author: Dan Bungert
Author Date: 2023-11-12 00:09:53 UTC

notes

logs 2023-10-06 00:00:11 UTC
install: do not log merged config

Author: Dan Bungert
Author Date: 2023-10-05 23:51:04 UTC

install: do not log merged config

cloud-init-vmtest-ctd 2023-09-26 21:01:34 UTC
Revert "vmtests: add mantic after jammy"

Author: Dan Bungert
Author Date: 2023-09-26 21:01:34 UTC

Revert "vmtests: add mantic after jammy"

This reverts commit abebab1e1e30a16d4be891a051060e81254ff0c5.

partprobe 2023-09-21 21:38:42 UTC
thoughts on devsync

Author: Dan Bungert
Author Date: 2023-09-20 20:57:46 UTC

thoughts on devsync

vmtest-cleanup-2023-09-19 2023-09-19 19:21:56 UTC
vmtests: make loading error verbose

Author: Dan Bungert
Author Date: 2023-09-19 19:01:20 UTC

vmtests: make loading error verbose

log-source-handler 2023-09-13 23:17:09 UTC
extract: log source information

Author: Dan Bungert
Author Date: 2023-09-13 23:08:44 UTC

extract: log source information

If you try hard enough and follow mount commands backwards you can
surely get this same information, but when analyzing what the extract is
actually doing it's nice to just be able to see what the image stack is.

lp-2035034-sectors 2023-09-13 17:33:27 UTC
storage_config: handle partitions on 4k disk

Author: Dan Bungert
Author Date: 2023-09-13 01:12:32 UTC

storage_config: handle partitions on 4k disk

In LP: #2035034, a user reported that the layout of existing
partitions was showing as 1/8th the correct size. Update storage_config
to no longer hard-code a 512 byte sector and read the value instead.

swap-logging 2023-08-30 23:29:53 UTC
swap: add logging

Author: Dan Bungert
Author Date: 2023-08-30 22:37:35 UTC

swap: add logging

The suggested swap size code just sort of returns 0 sometimes and
figuring out why is a complicated analysis of several variables.

Provide diagnostic info on those values, and the reason for the
decision.

swap 2023-08-30 23:13:10 UTC
swap: add logging

Author: Dan Bungert
Author Date: 2023-08-30 22:37:35 UTC

swap: add logging

The suggested swap size code just sort of returns 0 sometimes and
figuring out why is a complicated analysis of several variables.

Provide diagnostic info on those values, and the reason for the
decision.

deb822-doc 2023-08-25 18:54:53 UTC
docs: link to sources.list manpage for apt deb822

Author: Dan Bungert
Author Date: 2023-08-25 18:53:16 UTC

docs: link to sources.list manpage for apt deb822

zfs-default-properties 2023-08-24 23:19:04 UTC
zpool: allow selective default property override

Author: Dan Bungert
Author Date: 2023-08-24 17:41:02 UTC

zpool: allow selective default property override

zpool fs or pool properties may now use underlying fs defaults with
key: null.

zpool-disable-features 2023-08-23 20:49:00 UTC
zfs: only use default props if none are supplied

Author: Dan Bungert
Author Date: 2023-08-23 20:45:50 UTC

zfs: only use default props if none are supplied

mock-from-unittests 2023-08-03 01:39:12 UTC
several: drop python3-mock

Author: Dan Bungert
Author Date: 2023-08-03 01:39:12 UTC

several: drop python3-mock

vm-system-setup 2023-08-03 00:20:31 UTC
vmtest-system-setup: update for latest mantic

Author: Dan Bungert
Author Date: 2023-08-03 00:10:39 UTC

vmtest-system-setup: update for latest mantic

-pep8, not available
+parameterized, in use by tests

swap-size-avail 2023-07-25 18:25:48 UTC
swap: support avail parameter

Author: Dan Bungert
Author Date: 2023-07-25 16:33:24 UTC

swap: support avail parameter

Add an avail parameter to allow swap size projections based on expected
available space. Add unit tests for existing and new (avail) usage.
Add docstring to `suggested_swapsize()`.

ask-about-swap 2023-07-25 18:21:07 UTC
swap: support avail parameter

Author: Dan Bungert
Author Date: 2023-07-25 16:33:24 UTC

swap: support avail parameter

Add an avail parameter to allow swap size projections based on expected
available space. Add unit tests for existing and new (avail) usage.
Add docstring to `suggested_swapsize()`.

zfs 2023-06-05 21:42:38 UTC
env hacks

Author: Dan Bungert
Author Date: 2023-06-05 21:42:38 UTC

env hacks

py35-fixes 2023-05-25 20:49:38 UTC
several: fix lints

Author: Dan Bungert
Author Date: 2023-05-25 20:23:30 UTC

several: fix lints

release/23.1 2023-05-25 20:43:26 UTC
add python3-attr as dependency

Author: Alexsander de Souza
Author Date: 2023-05-25 19:48:55 UTC

add python3-attr as dependency

(cherry picked from commit 1019040c497bdbf96613d7eb0dc682f92275d5b0)

series-fixes 2023-05-25 20:43:26 UTC
add python3-attr as dependency

Author: Alexsander de Souza
Author Date: 2023-05-25 19:48:55 UTC

add python3-attr as dependency

(cherry picked from commit 1019040c497bdbf96613d7eb0dc682f92275d5b0)

old-series-extended 2023-05-24 20:37:51 UTC
block: move ENXIO workaround up a level

Author: Dan Bungert
Author Date: 2023-05-23 21:01:34 UTC

block: move ENXIO workaround up a level

compat 2023-05-24 19:10:52 UTC
block: only use no-tell-kernel if sfdisk supports

Author: Dan Bungert
Author Date: 2023-05-19 18:53:00 UTC

block: only use no-tell-kernel if sfdisk supports

image-writer 2023-05-24 18:51:17 UTC
block: retry loop post dd image

Author: Dan Bungert
Author Date: 2023-05-17 00:23:39 UTC

block: retry loop post dd image

On Bionic, I observed that the volume group present in the test image
would often not show up. This retry loop helps.

integration-old-sfdisk 2023-05-24 17:59:48 UTC
integration: fix tests with empty ptable

Author: Dan Bungert
Author Date: 2023-05-17 18:51:50 UTC

integration: fix tests with empty ptable

Older sfdisk seems to not like a completely empty ptable while setting
these attributes. Adding an unused partition is enough to allow
focusing on the task at hand.

master 2023-05-24 17:59:48 UTC
integration: fix tests with empty ptable

Author: Dan Bungert
Author Date: 2023-05-17 18:51:50 UTC

integration: fix tests with empty ptable

Older sfdisk seems to not like a completely empty ptable while setting
these attributes. Adding an unused partition is enough to allow
focusing on the task at hand.

test-help 2023-05-23 20:32:53 UTC
requirements: add missing content

Author: Dan Bungert
Author Date: 2023-05-15 23:52:36 UTC

requirements: add missing content

fix-old-series 2023-05-22 23:48:27 UTC
block: only use no-tell-kernel if sfdisk supports

Author: Dan Bungert
Author Date: 2023-05-19 18:53:00 UTC

block: only use no-tell-kernel if sfdisk supports

test-pytest 2023-05-22 23:46:38 UTC
unittest: fix tests that scan log results

Author: Dan Bungert
Author Date: 2023-05-17 17:53:37 UTC

unittest: fix tests that scan log results

py35 2023-05-19 22:08:53 UTC
several: support older attrs version

Author: Dan Bungert
Author Date: 2023-05-19 21:17:33 UTC

several: support older attrs version

experimental-snap 2023-04-26 11:23:31 UTC
more deps

Author: Dan Bungert
Author Date: 2023-04-26 11:23:31 UTC

more deps

ubuntu/lunar 2023-04-18 17:25:39 UTC
block: ntfsresize with force options

Author: Dan Bungert
Author Date: 2023-04-18 14:31:48 UTC

block: ntfsresize with force options

To match Ubiquity behavior, we should run ntfsresize with the force
options and sending 'y\n' on input.

(cherry picked from commit 6caa799551b19dc85cb1e901e013b12be326aff1)

ntfsresize-force 2023-04-18 17:05:19 UTC
block: ntfsresize with force options

Author: Dan Bungert
Author Date: 2023-04-18 14:31:48 UTC

block: ntfsresize with force options

To match Ubiquity behavior, we should run ntfsresize with the force
options and sending 'y\n' on input.

lp-2004659-wtf-curthooks 2023-02-07 17:56:37 UTC
.

Author: Dan Bungert
Author Date: 2023-02-07 17:56:37 UTC

.

integration-sysfs 2023-02-07 15:54:51 UTC
integration: compare against sysfs results

Author: Dan Bungert
Author Date: 2023-02-07 01:40:09 UTC

integration: compare against sysfs results

Ignoring size on extended partitions, sysfs seems to match what sfdisk
is providing.

lp-2004609-swap-size-dropped 2023-02-07 15:35:39 UTC
swap: clarify debug message

Author: Dan Bungert
Author Date: 2023-02-06 20:06:04 UTC

swap: clarify debug message

This log message is shown, among other scenarios, if a swap partition is
used, which is very confusing.
Clarify that we're talking about swap file.

fix-verify-dmcrypt 2023-02-07 02:27:02 UTC
dm_crypt preserve open

Author: Dan Bungert
Author Date: 2023-01-28 00:36:24 UTC

dm_crypt preserve open

no-attrs 2023-01-24 18:40:04 UTC
vmtests: drop python3-attr dep

Author: Dan Bungert
Author Date: 2023-01-24 18:24:26 UTC

vmtests: drop python3-attr dep

drop-fstring 2023-01-24 17:18:58 UTC
block: remove fstrings

Author: Dan Bungert
Author Date: 2023-01-24 17:07:35 UTC

block: remove fstrings

mp-test 2023-01-18 18:10:25 UTC
test

Author: Dan Bungert
Author Date: 2023-01-18 18:10:25 UTC

test

lp-1892494-apt-key-v2 2022-11-04 20:05:55 UTC
apt: clarify lineage of key file name

Author: Dan Bungert
Author Date: 2022-11-04 20:05:55 UTC

apt: clarify lineage of key file name

tests-apt-sources-target 2022-10-28 01:20:47 UTC
tests/apt: use tmpdir as target

Author: Dan Bungert
Author Date: 2022-10-27 23:51:40 UTC

tests/apt: use tmpdir as target

This refactor helps make way for discontinuing usage of apt-key.
When trying to do it all at once, there were problems with the file path
that needed to be used for the key file.

The major change is that these tests are run with a tmpdir as the
target, instead of '/'. This is also independently a nice improvement,
since misbehaved tests or code would really try to write to the host
system.

The tests were written assuming apt key files would have full paths, but
the examples (and presumably most real-world usage) were based on
filenames, so move the tests to use file names.

Add back a full path test, since that is supported behavior today.

Also removes the unused _myjoin function.

lp-1992990-riscv-flash-kernel 2022-10-14 19:21:28 UTC
kernel: expand flash_kernel env to cover all flows

Author: Dan Bungert
Author Date: 2022-10-14 19:02:28 UTC

kernel: expand flash_kernel env to cover all flows

While Subiquity should always be providing a metapackage name, expand
the environment adjustment for flash_kernel to handle the fallback
cases.

no-wipe-ebr 2022-10-04 21:10:37 UTC
block/v2: fix wipe check for extended

Author: Dan Bungert
Author Date: 2022-10-03 16:22:30 UTC

block/v2: fix wipe check for extended

As the comment in _wipe_for_action notes, we never want to wipe the
extended, so do that check first.

units-doc 2022-09-30 18:04:53 UTC
doc: clarify size units

Author: Dan Bungert
Author Date: 2022-09-30 18:04:53 UTC

doc: clarify size units

fix-style-tip 2022-09-28 22:47:13 UTC
many: fix several instances of whitespace lint

Author: Dan Bungert
Author Date: 2022-09-28 22:43:13 UTC

many: fix several instances of whitespace lint

`tox -e tip-pycodestyle` reported several instances of:
  E275 missing whitespace after keyword

vmtest-attr 2022-09-23 15:43:34 UTC
vmtests: +python3-attr

Author: Dan Bungert
Author Date: 2022-09-23 15:43:34 UTC

vmtests: +python3-attr

cryptsetup-runtime 2022-09-06 18:15:08 UTC
block: install cryptsetup if dm_crypt

Author: Dan Bungert
Author Date: 2022-09-06 17:46:57 UTC

block: install cryptsetup if dm_crypt

Co-authored-by: J-P Nurmi <jp.nurmi@canonical.com>

lp-1987236-chzdev 2022-08-30 16:55:41 UTC
curthooks: narrow the chzdev_export error skip

Author: Dan Bungert
Author Date: 2022-08-30 16:55:17 UTC

curthooks: narrow the chzdev_export error skip

terminology 2022-08-23 15:48:56 UTC
nicer terminology for non-API items

Author: Dan Bungert
Author Date: 2022-08-22 22:50:27 UTC

nicer terminology for non-API items

woke 2022-08-23 15:48:56 UTC
nicer terminology for non-API items

Author: Dan Bungert
Author Date: 2022-08-22 22:50:27 UTC

nicer terminology for non-API items

generic-kname 2022-08-01 16:36:56 UTC
block: genericize kname generation

Author: Dan Bungert
Author Date: 2022-07-29 21:09:48 UTC

block: genericize kname generation

pmem 2022-07-27 16:43:51 UTC
block_meta: fix for pmem kname lookup

Author: Dan Bungert
Author Date: 2022-07-27 16:43:51 UTC

block_meta: fix for pmem kname lookup

gpt-parttable-preservation 2022-07-12 17:52:23 UTC
block/v2: preserve last-lba,table-length

Author: Dan Bungert
Author Date: 2022-07-12 17:34:15 UTC

block/v2: preserve last-lba,table-length

ubuntu/devel 2022-06-27 22:26:32 UTC
changelog: 22.1-0ubuntu1

Author: Dan Bungert
Author Date: 2022-06-27 22:26:32 UTC

changelog: 22.1-0ubuntu1

rel-22.1 2022-06-22 22:40:06 UTC
version to 22.1

Author: Dan Bungert
Author Date: 2022-06-22 22:40:06 UTC

version to 22.1

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

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.

1100 of 123 results
This repository contains Public information 
Everyone can see this information.

Subscribers