Giter VIP home page Giter VIP logo

Comments (9)

Foxboron avatar Foxboron commented on August 14, 2024

They are generally used interchangeably. Is this a problem or a general gripe?

from sbctl.

beroal avatar beroal commented on August 14, 2024

Is this a problem or a general gripe?

There is a problem with sbupdate: it can't use files produced by sbctl when KEY_DIR="/usr/share/secureboot/keys/db" is set in sbupdate's configuration file. The error message is

Generating and signing linux-signed.efi
warning: data remaining[18301440 vs 18311414]: gaps between PE/COFF sections?
warning: data remaining[18301440 vs 18311416]: gaps between PE/COFF sections?
Can't load certificate from file '/usr/share/secureboot/keys/db/@(DB|db).crt'
140023984573440:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:69:fopen('/usr/share/secureboot/keys/db/@(DB|db).crt','r')
140023984573440:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:76:

sbupdate works if I rename db.pem to db.crt.

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

sbupdate and sbctl serves the same purpose. It's unclear to me why you want to use them both?

from sbctl.

beroal avatar beroal commented on August 14, 2024

AFAIK, sbctl doesn't update a unified kernel image if any of the source files is changed.

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

That should be dealt with a hook when you update your system. Is it not working for you?

from sbctl.

beroal avatar beroal commented on August 14, 2024

Well, sbupdate contains this hook.

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

Yes, and sbctl has a similar hook that runs. I'm not sure what the actual problem is.

from sbctl.

beroal avatar beroal commented on August 14, 2024

Okay, I didn't see your hook. Thanks!

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

No problem :)

from sbctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.