Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Generalize root-fs-type into install.filesystem.root.type #289

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

cgwalters
Copy link
Collaborator

Keep (but soft-deprecate) the existing root-fs-type, and add a more general set of tables in install.filesystem.root, with type as a field underneath that.

This somewhat resembles the Image Builder blueprint design.

In particular, this aims to leave space for
#287
where we'd add e.g.

[install.filesystem.root]
extra = "5G"

for size specification.

Another obvious extension would be options to pass through options to mkfs.$fs; not clear to me we totally want to go there, but we clearly need something a bit more general.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 29, 2024
Copy link
Contributor

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just a few minor style/simplification nits

lib/src/install/config.rs Outdated Show resolved Hide resolved
lib/src/install/config.rs Outdated Show resolved Hide resolved
lib/src/install/config.rs Outdated Show resolved Hide resolved
lib/src/install/config.rs Outdated Show resolved Hide resolved
lib/src/install/config.rs Show resolved Hide resolved
lib/src/install/config.rs Show resolved Hide resolved
Keep (but soft-deprecate) the existing `root-fs-type`, and add a
more general set of tables in `install.filesystem.root`, with `type`
as a field underneath that.

This somewhat resembles the [Image Builder blueprint](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/composing_a_customized_rhel_system_image/creating-system-images-with-composer-command-line-interface_composing-a-customized-rhel-system-image#composer-blueprint-format_creating-system-images-with-composer-command-line-interface) design.

In particular, this aims to leave space for
containers#287
where we'd add e.g.

```
[install.filesystem.root]
extra = "5G"
```

for size specification.

Another obvious extension would be `options` to pass through
options to `mkfs.$fs`; not clear to me we totally want to go
there, but we clearly need something a bit more general.

Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Contributor

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jeckersb jeckersb merged commit 024aa19 into containers:main Jan 29, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants