-
Notifications
You must be signed in to change notification settings - Fork 365
fix(node): refactor and consolidate grub #2 #5437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e02be04
Move bootloader grub.cfg to guestos and make grub_config a required p…
andrewbattat 660ae22
Move grub.cfg files to bootloader/
andrewbattat 35a0082
Remove extra_boot_args template
andrewbattat f740357
Fix buildifier
andrewbattat 01e0500
Validate boot_args_template and extra_boot_args
andrewbattat 32dbe53
Merge branch 'master' into andrew/consolidate-grub
andrewbattat cd489da
Re-add tar_extract
andrewbattat d7533c0
Create boot_args.template for hostos and guestos
andrewbattat ba50c70
Create requires_root_signing bool
andrewbattat 9e7d432
Move boot_args.template files to bootloader
andrewbattat 09d797e
Merge grub changes
andrewbattat 3fea460
Merge branch 'master' into andrew/consolidate-grub-2
andrewbattat 5d91db3
Fix comment
andrewbattat 1533b99
Fix merge errors
andrewbattat bbfb096
Fix grub backwards compatibility by continuing to pass extra_boot_args
andrewbattat 077a910
Fix documentation
andrewbattat 86c7f62
Convert extra_boot_args to templates to match GuestOS
andrewbattat f9cabd1
Move unnecessary genrules to aliases
andrewbattat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
File renamed without changes.
This file contains hidden or 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,14 @@ | ||
| # Uncomment this to run system with SELinux in PERMISSIVE mode: | ||
| # the system will use SELinux and keep track of operations that would | ||
| # be prohibited, but will only log but not actually deny them. This is | ||
| # useful for debug and policy development. The system behaves essentially the | ||
| # same as if SELinux was not activated. | ||
| # | ||
| # EXTRA_BOOT_ARGS="security=selinux selinux=1 enforcing=0 root_hash=ROOT_HASH" | ||
|
|
||
| # Uncomment this to run system with SELinux in ENFORCING mode: All rules | ||
| # of the policy are enforced, and forbidden actions are not just logged but | ||
| # stopped. This causes the system to behave differently than in either | ||
| # "no SELinux" or "permissive" mode. | ||
| # | ||
| EXTRA_BOOT_ARGS="security=selinux selinux=1 enforcing=1 root_hash=ROOT_HASH" |
This file contains hidden or 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,4 @@ | ||
| # Kernel cmdline parameters for launching the HostOS. | ||
| # BOOT_ARGS_A targets partition set "A" while BOOT_ARGS_B targets partition set "B" | ||
| BOOT_ARGS_A="root=/dev/hostlvm/A_root console=ttyS0,115200 console=tty0 nomodeset video=1024x768 dfinity.system=A security=selinux selinux=1 enforcing=0" | ||
| BOOT_ARGS_B="root=/dev/hostlvm/B_root console=ttyS0,115200 console=tty0 nomodeset video=1024x768 dfinity.system=B security=selinux selinux=1 enforcing=0" |
This file contains hidden or 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 hidden or 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 hidden or 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,3 @@ | ||
| # Kernel cmdline parameters for launching the SetupOS. | ||
| # SetupOS uses a single boot configuration (no A/B partitioning) | ||
| BOOT_ARGS="root=PARTUUID=7C0A626E-E5EA-E543-B5C5-300EB8304DB7 console=ttyS0,115200 console=tty0 nomodeset video=1024x768 security=selinux selinux=1 enforcing=0" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.