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@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to