Skip to content

Fixed ramdisk deployments#1714

Closed
schaefi wants to merge 2 commits intomasterfrom
fix_ramdisk_deployment
Closed

Fixed ramdisk deployments#1714
schaefi wants to merge 2 commits intomasterfrom
fix_ramdisk_deployment

Conversation

@schaefi
Copy link
Collaborator

@schaefi schaefi commented Feb 9, 2021

The hook script to mount the ramdisk to /sysroot was not called.
The script was installed to /lib/dracut/hooks/mount/30-kiwi-mount-ramdisk.sh
but was not called by dracut for unknown reasons. This commit simply
calls the code when needed and avoid the hook system at dracut
in this case

@schaefi schaefi requested a review from davidcassany February 9, 2021 16:56
@schaefi schaefi self-assigned this Feb 9, 2021
The hook script to mount the ramdisk to /sysroot was not called.
The script was installed to /lib/dracut/hooks/mount/30-kiwi-mount-ramdisk.sh
but was not called by dracut. The mount hooks are only called if NO
root= information is present in the cmdline. For ramdisk deployments
from an install ISO there is a root= parameter and this the concept
to put the mount code as a mount hook in dracut is broken by design.
This commit simply calls the code when needed and avoid the hook
system at dracut in this case
@schaefi schaefi force-pushed the fix_ramdisk_deployment branch from 4c2a9fa to de4aaa4 Compare February 9, 2021 17:03
@schaefi schaefi closed this Feb 9, 2021
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.

1 participant