Provide mechanism for OEM info [$50]

Bug #1582846 reported by Cassidy James Blaede
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Switchboard About Plug
Confirmed
Wishlist
Corentin Noël

Bug Description

Some OEMs and distributors have mentioned that they'd like a place in the OS to put their contact information, i.e. in the About plug. This sounds like a good idea to me since our policy is generally that redistributors assume the support responsibilities for their customers.

I could see this implemented simply as a GSettings key to provide a distributor name and contact URL.

Tags: bounty oem
Revision history for this message
Corvallis Computer, LLC (accounts-w) wrote :

OEM here. I'd like to be able to launch the installer in OEM installer mode and have it prompt me for OEM info while I'm filling out batch information and such. Then while I'm configuring the installation it's already there, and possibly read-only since there's no need to change it.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Providing it in the OEM mode installer might be a bit trickier (since that's currently Ubunutu-maintained code), but I agree that it would be a great time to collect it. I could also see having it baked into an install image, though the ability for either would be ideal.

affects: elementaryos → switchboard-plug-about
Changed in switchboard-plug-about:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: oem
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Sam Hewitt designed this

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

I am leaning toward a sort of key/val system where we have a number of optional supported keys and the OEM can set their values.

i.e. something like...

Manufacturer: System76
Model:
  - Name: Galago Pro
  - Number: galp2
Phone: 1 (720) 226-9269
Email: <email address hidden>
Website: https://system76.com/support
Warranty:
  - Text: 3 Year Ltd. Hardware Warranty
  - Link: https://system76.com/warranty
Regulatory: https://system76.com/disclaimer

...actual format tbd.

Things like links and email addresses should be handled automagically. One thing that's in Sam's mockup that I haven't fully thought of (but that should be figured out) is how to support an image/logo.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Keys should also be translated if/when exposed in the UI

Revision history for this message
Corvallis Computer, LLC (accounts-w) wrote :

I like what Sam has in mind there. Wouldn't you just be able to name your image logo.jpg or some other variable and put it in a folder, such as /var/oem/logo.jpg and the system would automagically scrape that? Replacing the default logo that was there, possibly.

And if we do a key-based system, like @cassidyjames has in mind, how difficult is that for an OEM to modify? My intern who knows little about Linux might be the one doing this and it should be easy to change.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

After talking with folks at System76 again, I think we could start much simpler.

A keyfile at `/etc/oem.conf` could profide the following information:

```
[OEM]
Manufacturer="System76 Inc."
Product="Galago Pro"
Version=galp2
Logo=/etc/oem/logo.png
URL=https://support.system76.com
```

Eventually this could be expanded to include more keys, but I think this is covers the essentials that are relatively easy to set. `Logo` would be to any local file that is also provided by the OEM.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :
summary: - Provide mechanism for OEM info
+ Provide mechanism for OEM info [$50]
tags: added: bounty
Corentin Noël (tintou)
Changed in switchboard-plug-about:
assignee: nobody → Corentin Noël (tintou)
Revision history for this message
Neal Gompa (ngompa13) wrote :

I would suggest not putting the content in `/etc/oem`, but maybe in `/usr/share/os-oem` or some similar location that would be considered immutable. `/etc/oem.conf` could be a symlink pointing to `/usr/share/os-oem/info.conf` or something like that, mimicking the way `/etc/os-release` is handled on modern systems.

The reason I suggest this is that I expect OEM content to be preloaded and static for a given system. While in RPM based systems (such as Fedora), it is possible to have files in `/etc` that are not treated as config files and thus would always be replaced, Debian doesn't really allow that with traditional packaging styles. Even so, `/etc` is one of those places where the system needs to be tolerant of user changes, and generally speaking, you don't consider OEM information to be one of those things.

Also, would any of this information be available through something like EFI variables or what not? It seems like some of the information might already be there...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.