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

IH-416: EXT4 for Dom0 Root & Logs Partitions #165

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

GeraldEV
Copy link
Collaborator

@GeraldEV GeraldEV commented Aug 30, 2024

Add support for EXT4 root and logs partitions on fresh install and upgrade.
Backup and restore is handled by checking the type of the partition being backed-up/restored-to instead of assuming it's EXT3.
This change is intentionally undocumented in doc/answerfile.txt as we are not expecting to support environments which intentionally divert from the default fs type.

This has been tested manually in all ext3/ext4 combinations (e.g. from ext3->ext3, ext3->ext4, etc.) in fresh installs, upgrades, and restores.
A regression test is being introduced into XenRT, see jobs 4087565 & 4088336 and XenRT PR XXX

This PR depends on commit e72687b from #161

For XenServer internal, see PRs:
grub.spec - PR 23
host-upgrade-plugin - PR 42
XenRT - PR 10192

bernhardkaindl
bernhardkaindl previously approved these changes Aug 30, 2024
Copy link
Collaborator

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

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

Sounds/looks good to me - @freddy77

Copy link
Collaborator

@ashwin9390 ashwin9390 left a comment

Choose a reason for hiding this comment

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

We could consider using pathlib

ashwin9390
ashwin9390 previously approved these changes Sep 12, 2024
restore.py Outdated Show resolved Hide resolved
constants.py Outdated Show resolved Hide resolved
product.py Outdated Show resolved Hide resolved
backend.py Show resolved Hide resolved
@GeraldEV GeraldEV dismissed stale reviews from ashwin9390 and bernhardkaindl via 37212d8 September 13, 2024 08:25
@GeraldEV
Copy link
Collaborator Author

Latest commits address comments from the review, happy to squash when everyone has had a chance to check the diff

Copy link
Collaborator

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

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

@GeraldEV Thanks!

@freddy77 @ashwin9390: It should be easy for you to review the diff (== commit 4)!

The changes are minimal and only what has been asked in the review.

I should mention that @GeraldEV mentioned in the description that this depends on #161, which also needed one more review (but that's done also now!).

Copy link
Collaborator

@freddy77 freddy77 left a comment

Choose a reason for hiding this comment

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

Changes are good to me, but I would merge the Address comments from PR review

Gerald Elder-Vass added 2 commits October 30, 2024 11:41
Add support for answerfile control over root & logs filesystem type.
Only EXT3 and EXT4 are available and the functionality is declared
unsupported.
@GeraldEV GeraldEV force-pushed the private/geralde/IH-416 branch from 37212d8 to fa18fb6 Compare October 30, 2024 11:42
@GeraldEV
Copy link
Collaborator Author

Squashed the review comments commit, merging! :D

@GeraldEV GeraldEV merged commit 25f4ee2 into master Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants