Skip to content

Conversation

@dpsmith
Copy link
Member

@dpsmith dpsmith commented Apr 19, 2024

This PR provides general improvements to a series of recipes in the layer.

Signed-off-by: Daniel P. Smith dpsmith@apertussolutions.com

We need to load the CML SINIT ACM for tboot to use it.
sshd argo is purely internal to the host.  We don't need to use multiple
ssh host keys since a single one will be compatible with out provided
client ssh.

Select ed25519 since it is fast and generally preferred.  This means we
can drop generating ecdsa, dsa & rsa.

Change the bbappend seddery to just modify the single entry.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Only listed on localhost since it doesn't need to be on the network.
Monit has trouble with "localhost" so use 127.0.0.1.
This adds udev rules to apply the argo group ownership to /dev/argo*.
This helps with deprivileging processes so they don't have to run as
root.

It's subpackage and will be added as an RRECOMMENDS in most cases.
libargo is useless without argo-module.  Add that RDEPENDS and remove
all the manual IMAGE_INSTALLs of argo-module from image recipes.  Proper
dependency tracking takes care of that for us.

Since KERNEL_MODULE_AUTOLOAD is set properly for argo-module/xen-argo,
this is all much nicer.
domstore_read is a open-coding of db-read-dom0 from dbd-tools-guest, so
just replace the use.
@dpsmith dpsmith requested a review from shahs-ais July 29, 2025 17:08
Copy link
Contributor

@crogers1 crogers1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like these improvements. LGTM.

PACKAGES = "${PN}"

RDEPENDS_${PN} += "dbd-tools"
RDEPENDS_${PN} += "dbd-tools-guest"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My local build fails here as dbd-tools-guest is not found. From what is see in dbd_git.bb, only dbd-tools and dbd-tools-vm packages are created. Was another one meant to be added for guest?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the recipes, this should be dbd-tools-vm.

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.

4 participants