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

Add filesystem fixes required for UEK 6 images to be built on UEK 7 #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

George-Aeillo
Copy link

In this PR, I add fixes to the filesystem creation in ock-forge that allows UEK 6 images to be built on UEK 7 hosts. I have verified that UEK 7 images are allowed to be built with this change as well.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 5, 2025
mkfs.xfs -f -m bigtime=0 -L "$BOOT_PARTITION_LABEL" "$BOOT_DEVICE"
"mkfs.$FILESYSTEM" -f -L "$ROOT_PARTITION_LABEL" "$ROOT_DEVICE"
mkfs.xfs -f -m bigtime=0,inobtcount=0,reflink=0 -L "$BOOT_PARTITION_LABEL" "$BOOT_DEVICE"
"mkfs.$FILESYSTEM" -f -m bigtime=0,inobtcount=0,reflink=0 -L "$ROOT_PARTITION_LABEL" "$ROOT_DEVICE"
Copy link

Choose a reason for hiding this comment

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

Does this command work if the filesystem is not xfs?

Copy link
Author

Choose a reason for hiding this comment

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

Would the filesystem ever not be xfs?

Copy link

Choose a reason for hiding this comment

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

In the context of format-disk.sh, the filesystem to use is passed in. If it is the case that only xfs is supported then this script could be changed to reflect that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants