Skip to content

Add -cmdline to fbnetboot to override kernel cmdline args#2524

Merged
rminnich merged 1 commit into
u-root:mainfrom
staticfloat:sf/override_cmdline
Oct 14, 2022
Merged

Add -cmdline to fbnetboot to override kernel cmdline args#2524
rminnich merged 1 commit into
u-root:mainfrom
staticfloat:sf/override_cmdline

Conversation

@staticfloat
Copy link
Copy Markdown
Contributor

When booting with a manually-specified image (e.g. via netboot-url) it is often useful to be able to apply custom kernel command line arguments. This adds a -cmdline argument in the same style as the netboot-url argument, to override the default (typically empty) value.

When booting with a manually-specified image (e.g. via `netboot-url`) it
is often useful to be able to apply custom kernel command line
arguments.  This adds a `-cmdline` argument in the same style as the
`netboot-url` argument, to override the default (typically empty) value.

Signed-off-by: Elliot Saba <staticfloat@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 13, 2022

Codecov Report

Base: 73.73% // Head: 73.90% // Increases project coverage by +0.16% 🎉

Coverage data is based on head (9a342f6) compared to base (0efaafb).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2524      +/-   ##
==========================================
+ Coverage   73.73%   73.90%   +0.16%     
==========================================
  Files         403      403              
  Lines       40937    40937              
==========================================
+ Hits        30184    30253      +69     
+ Misses      10753    10684      -69     
Impacted Files Coverage Δ
pkg/acpi/rsdp.go 51.28% <0.00%> (+10.25%) ⬆️
pkg/acpi/raw.go 89.28% <0.00%> (+14.28%) ⬆️
pkg/acpi/bios.go 83.78% <0.00%> (+83.78%) ⬆️
pkg/acpi/sdt.go 86.66% <0.00%> (+86.66%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rminnich rminnich merged commit 8757e8f into u-root:main Oct 14, 2022
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.

2 participants