Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Support BTRFS in OEM and /usr partitions #1106

Merged
merged 6 commits into from
Jul 28, 2021
Merged

Conversation

pothos
Copy link
Contributor

@pothos pothos commented Jul 14, 2021

How to use/testing done

This was built and tested with the flatcar-scripts branch kai/btrfs-usr-oem from flatcar/scripts#131 in http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3029/cldsv/ where the Flatcar image that has a btrfs /usr partition and OEM partition.
While the actual switch to a btrfs filesystem on the /usr partition is only possible when all changes are part of a Stable release because update-engine needs to know how to handle the new filesystem when updating, we can already do the switch for the OEM partition. The test was run first with enabling btrfs for the /usr partition, then with reverting to select the current ext2 again.

pothos and others added 6 commits July 28, 2021 13:28
Btrfs filesystems do not support a non-standard 64k page size on arm64
when the filesystem was created by a 4k page size system.

Use the default page size for arm64 to ensure compatibility with
btrfs filesystems created by amd64 systems.
@pothos pothos force-pushed the kai/bootengine-verity-hashoffset branch from a7bb03a to b1b445c Compare July 28, 2021 11:29
@pothos pothos marked this pull request as ready for review July 28, 2021 11:30
@pothos pothos merged commit 5a248fd into main Jul 28, 2021
@pothos pothos deleted the kai/bootengine-verity-hashoffset branch July 28, 2021 11:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant