Giter VIP home page Giter VIP logo

Comments (6)

chrishoage avatar chrishoage commented on August 14, 2024 1

They are probably not going to be default provided as they are unique for each installation. But I haven't really planned this far yet.

That makes sense, and is honestly not the end of the world if they appear in lostfiles.

In any case, something to consider is an empty config file, with example config values commented out. These options override defaults from cmdline and os-release, along with the default location for the keys.

This way there is a tracked config file that could be included with the sbctl package. The pacnew it creates could serve as a way to inform users of new or changed configuration file.

Just a thought!

Thanks for this wonderful tool. Made setting up secure boot incredibly painless 🙂

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

/proc/cmdline is only a "sane" default. Users are left up to their own device to ensure there isn't uneeded stuff there. I'm unsure if trimming it without any insight is a good idea.

from sbctl.

chrishoage avatar chrishoage commented on August 14, 2024

Is there a "standard" place to put the user-modified cmdline?

I've found how to pass a custom cmdline and os-release but I've just thrown it in an arbitrary place.

Has it been considered to have a configuration directory and file for sbctl such that these files would not show up in lostfiles and would be controlled by pacman?

e.g. something like /etc/sbctl/cmdline and /etc/sbctl/os-release?

That's fine if it's not in scope, just wasn't sure where the "proper" place to put these overrides were.

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

That's a great point actually! I think it ties into #6 for the sake of having configuration setup and more flexibility for the settings.

I'm not sure if any of that solves the lostfiles problem though. They are probably not going to be default provided as they are unique for each installation. But I haven't really planned this far yet.

from sbctl.

gdamjan avatar gdamjan commented on August 14, 2024

the "standard" place for cmdline is /etc/kernel/cmdline I guess

https://www.freedesktop.org/software/systemd/man/kernel-install.html

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

Ah yes, reading /etc/kernel/cmdline and fallback to /proc/cmdline would make a lot of sense. Thank you!

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.