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

actions: image-partition: enable creation of FAT{12|16|32} partitions #491

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

obbardc
Copy link
Member

@obbardc obbardc commented Mar 19, 2024

see commit for detail

@obbardc obbardc force-pushed the wip/obbardc/partition-fat16 branch 2 times, most recently from 90a3afb to 89f7b44 Compare March 19, 2024 17:54
@obbardc obbardc force-pushed the wip/obbardc/partition-fat16 branch 2 times, most recently from e608f15 to 2c3a629 Compare April 7, 2024 14:46
@obbardc obbardc changed the title actions: image-partition: enable creation of FAT16 partitions actions: image-partition: enable creation of FAT{12|16|32} partitions Apr 7, 2024
mkfs.fat accepts an -F parameter, which controls the FAT type. Currently
debos only allows creation of FAT32 partitions with the `vfat` or `fat32`
partition types or automatic FAT type by using `msdos`.

Add explicit `fat16`, `fat16` and `fat32` partition types to allow users
to choose which FAT partition type to create.

Modify `vfat` and `msdos` to create FAT32 partition types and modify `fat`
to allow mkfs.fat automatically determine which FAT type the partition
should be.

Allow `fat16` partitions to be marked as such in the partition table by
modifying the call to `parted mkpart`.

Signed-off-by: Christopher Obbard <[email protected]>
@obbardc obbardc force-pushed the wip/obbardc/partition-fat16 branch from 2c3a629 to 94fedb2 Compare April 7, 2024 14:47
@sjoerdsimons sjoerdsimons added this pull request to the merge queue Apr 15, 2024
Merged via the queue into main with commit e8bc216 Apr 15, 2024
62 checks passed
@sjoerdsimons sjoerdsimons deleted the wip/obbardc/partition-fat16 branch April 15, 2024 18:58
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.

2 participants