forked from coreos/rpm-ostree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Append /dev/{u,}random to initrd instead of dracut caps
Rather than giving dracut `cap_mknod` which won't work in unprivileged scenarios, append a tiny static pre-generated CPIO blob with `/dev/random` and `/dev/urandom` to the output of dracut. This is a hack until dracut does this itself. But the problem is patches to dracut will take eleven billion years to ship in RHCOS. Closes: coreos#1950
- Loading branch information
1 parent
f295f54
commit 4e3c41b
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters