-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add initramfs rebuilding with support for user defined initramf…
…s args (#586) * feat: add support for managing initramfs args without disrupting bazzite-hardware-setup needed_initramfs args * fix: make enable-vfio use new initramfs management * fix: quote the initramfs to not bug rpm-ostree * chore: sort argsfiles from args.d before parsing * chore: bump hw version and cleanup * chore: add missing indent for vfio section * fix: add missing reboot on rebuild of initramfs
- Loading branch information
1 parent
d8ee043
commit 0a97588
Showing
3 changed files
with
65 additions
and
15 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
system_files/desktop/shared/etc/bazzite/initramfs/args.d/00-example.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Anything commented out with # on a new line will be ignored | ||
# These files follow the "rpm-ostree initramfs" syntax, please consult | ||
# "rpm-ostree initramfs --help" for more information | ||
# | ||
# You can do 1 initramfs argument per line or do them all in 1 line. | ||
# If you need to just add drivers to dracut, you should instead just add | ||
# config files for dracut into /etc/dracut.conf.d/ and trigger an initramfs | ||
# rebuild using "sudo touch /etc/bazzite/initramfs/rebuild" which | ||
# will rebuild the initramfs on next boot using bazzite-hardware-setup. | ||
# | ||
# Multiline Example: | ||
#--arg="--add-drivers" | ||
#--arg="vfio vfio_iommu_type1 vfio-pci" | ||
# | ||
# Single Line Example: | ||
#--arg="--add-drivers" --arg="vfio vfio_iommu_type1 vfio-pci |
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