Skip to content

Drop parted requirement for msdos partitioner#3002

Merged
schaefi merged 1 commit into
mainfrom
drop_parted_dependency
Jun 1, 2026
Merged

Drop parted requirement for msdos partitioner#3002
schaefi merged 1 commit into
mainfrom
drop_parted_dependency

Conversation

@schaefi
Copy link
Copy Markdown
Collaborator

@schaefi schaefi commented May 31, 2026

parted was used in kiwi at one place to set the active flag on a partition in the DOS table. This action can also be done via sfdisk and drops the parted requirement from the kiwi builder code

parted was used in kiwi at one place to set the active flag
on a partition in the DOS table. This action can also be
done via sfdisk and drops the parted requirement from the
kiwi builder code
@schaefi schaefi requested a review from Conan-Kudo May 31, 2026 09:13
@schaefi schaefi self-assigned this May 31, 2026
@schaefi
Copy link
Copy Markdown
Collaborator Author

schaefi commented May 31, 2026

@Conan-Kudo as a result of the ongoing conversation #3000 I still believe we should free ourselves from parted. At least in the main python builder code this can be done in my opinion. That's why I opened this PR.

I would love if we could get rid of parted and partprobe on s390 too, but I need to think more about it because there is coded added to parted by suse only to circumvent issues in fdasd which should be the only tool needed for s390 DASD operations. As such it's hard

@Conan-Kudo
Copy link
Copy Markdown
Member

We also have a ticket to get rid of gdisk for sfdisk too (#2804), so yes in principle I think we should consolidate on sfdisk or parted for everything.

@schaefi schaefi merged commit 4d20834 into main Jun 1, 2026
12 checks passed
@schaefi schaefi deleted the drop_parted_dependency branch June 1, 2026 13:27
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