Re: [OS-BUILD PATCHv2 0/2] redhat/kernel.spec: add uki_addons to create UKI kernel cmdline addons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Emanuele Giuseppe Esposito on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2917#note_1760864399

@prudo1 what about the SBAT? we might want to add that too. But then that may
be shared between all addons I guess

@berrange what do you think of the filesystem based structure described above?
I think it might make sense.

We would have a root folder redhat/addons and inside an arch hierarchy (or
anything you want).
For example
```
ls redhat/addons
  x86_64
  output
  sbat
  ...

ls redhat/addons/sbat
   sbat.conf

cat redhat/addons/sbat/sbat.conf
sbat,1,......
uki.addon,1,....

ls redhat/addons/x86_64
  fips.addon
  kdump
  ...

cat redhat/addons/x86_64/fips
# fips cmdline
fips=1

ls redhat/addons/x86_64/kdump
  addon-something.addon

cat redhat/addons/x86_64/kdump/addon-something
   # this addon is useful for ???
   crashkernel=????
```

And when the build is triggered, we get two addons in redhat/addons/output:
```
fips-x86_64.addon.efi (cmdline="fips=1" sbat="cat sbat.conf")
addon-something-kdump-x86_64.addon.efi (cmdline="crashkernel=???" sbat="cat
sbat.conf")
```
What do you think?
--
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux