Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#61481 - [parted] Add an initcpio hook that uses partprobe?
Attached to Project:
Arch Linux
Opened by Neven Sajko (Neven) - Sunday, 20 January 2019, 14:49 GMT
Last edited by Christian Heusel (gromit) - Saturday, 02 September 2023, 10:07 GMT
Opened by Neven Sajko (Neven) - Sunday, 20 January 2019, 14:49 GMT
Last edited by Christian Heusel (gromit) - Saturday, 02 September 2023, 10:07 GMT
|
DetailsThe attached hook uses partprobe to inform the kernel about partitions on a device. For the usecase, see [0], [1]. It is necessary to include the two files in the package source and install them to the obvious directory in the PKGBUILD.
[0] https://lists.archlinux.org/pipermail/arch-general/2019-January/045968.html [1] https://wiki.archlinux.org/index.php?title=Talk:Dm-crypt/Encrypting_an_entire_system&oldid=564036#Can_we_rename_%22Plain_dm-crypt%22_to_%22LVM_on_plain_dm-crypt%22 |
This task depends upon
Closed by Christian Heusel (gromit)
Saturday, 02 September 2023, 10:07 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Saturday, 02 September 2023, 10:07 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
i don't think it needs to be overly verbose, and that also fits with the current set of hooks we have
As for the hook itself,
- It looks like you're expecting devMapRootPartitioned to be defined on the kernel command line? You probably want that documented. You probabably also want to follow local style of other command line options, which is to use snake case.
- For this to be more generally useful, you'd want a systemd-compatible version as well. You could write this as a udev rule, instead, which would work in both the busybox and systemd-based initramfs setups.