Skip to content

Minor dpu reworks.#328

Merged
crypticC0der merged 5 commits intocanonical:mainfrom
crypticC0der:lspci
Apr 23, 2026
Merged

Minor dpu reworks.#328
crypticC0der merged 5 commits intocanonical:mainfrom
crypticC0der:lspci

Conversation

@crypticC0der
Copy link
Copy Markdown
Contributor

  • lspci is inaccessable by the snap outside of --dangerous, so we fix this
  • we need a slight rework to the externalIDs logic when nothing else exists there.

@crypticC0der crypticC0der requested a review from a team as a code owner April 14, 2026 12:59
@crypticC0der crypticC0der force-pushed the lspci branch 2 times, most recently from 6d5599f to 4a99ddf Compare April 14, 2026 13:44
Currently this check would report stable if the output was more thn just
"--", such as two lines of "--". So instead we now check for non "--"
lines, which is what we really should have been doing the whole time.

Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
@crypticC0der crypticC0der force-pushed the lspci branch 3 times, most recently from e274182 to a228409 Compare April 14, 2026 17:17
snapcraft latest/edge doesnt seem to be properly pulling in
dependancies, which is a problem for us, so we need to use candidate for
the time being.

Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
Copy link
Copy Markdown
Contributor

@matperin matperin left a comment

Choose a reason for hiding this comment

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

Maybe it would be better to split Minor dpu reworks. into two commits?
I know that they are very minor changes but I think they achieve different things and it is better to have separate commit messages for future reference.

Other than that the rest seems good. Do we know why snapcraft latest/edge is not pulling dependencies properly, though? This is probably something we should fix at the root, if we have the chance.

@crypticC0der
Copy link
Copy Markdown
Contributor Author

Do we know why snapcraft latest/edge is not pulling dependencies properly, though?

the version in latest edge (post104) only pulls in explicitly mentioned packages and not their dependancies, which is a pain and I am expecting this to be a bug that gets reverted before it hits stable, i have put a message in their channel asking about it.

Fixes an issue where an unneeded comma is added when externalids is empty.

Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
Adds the lspci binary for use outside of --devmode.

Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
matperin
matperin previously approved these changes Apr 17, 2026
Copy link
Copy Markdown
Contributor

@matperin matperin left a comment

Choose a reason for hiding this comment

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

Thanks for the change, looks good!

Use latest edge snapd when we are using an edge base.

Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
Copy link
Copy Markdown
Contributor

@matperin matperin left a comment

Choose a reason for hiding this comment

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

The added snap refresh for snapd inside the container seems a good addition, I will confirm my previous approval.

@crypticC0der crypticC0der merged commit 43c9970 into canonical:main Apr 23, 2026
36 checks passed
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