Comments (3)
Looks like it's very very close to our 'native' configuration in Petitboot:
name Fedora 19 (Rawhide)
image /6a9857a393724b7a981ebb5b8495b9ea/3.8.0-2.fc19.x86_64/linux
args root=UUID=6d3376e4-fc93-4509-95ec-a21d68011da2
initrd /6a9857a393724b7a981ebb5b8495b9ea/3.8.0-2.fc19.x86_64/initrd
We don't have machine-id
or version
- but apparently we're not required to do anything special about them as well, so we might as well ignore them for a first version of this feature.
So looks like we could simply duplicate the native parser and call it 'freedesktop' or something similar, changing name
for title
and args
for options
and making sure we can ignore machine-id
and version
for now.
Do you want to take a stab at providing patches for this?
from petitboot.
Well, its not just one file, more of a drop in dir. You can have, for example:
/boot/efi/loader/entries/aeeef620aa484bb490a0638814a92548-0-rescue.conf
/boot/efi/loader/entries/aeeef620aa484bb490a0638814a92548-5.10.14-200.fc33.x86_64.conf
/boot/efi/loader/entries/aeeef620aa484bb490a0638814a92548-5.10.15-200.fc33.x86_64.conf
/boot/efi/loader/entries/aeeef620aa484bb490a0638814a92548-5.10.16-200.fc33.x86_64.conf
All on one machine. I could give it a go, sure. I'm not familiar with bison/etc but it can't be that
hard.
from petitboot.
There is already some initial support for BootloaderSpec files in https://github.com/open-power/petitboot/blob/master/discover/grub2/blscfg.c, although the intent is mainly being referenced by GRUB. That could be a good start to make the support more generic.
from petitboot.
Related Issues (20)
- Force HTTP protocol in pxelinux-style configuration auto-discovery HOT 5
- [Feature Request]: Add licence HOT 3
- Petitboot not parsing/executing boot.scr HOT 3
- There is no v1.14 release HOT 3
- petitboot doesn't build against ncurses with NCURSES_OPAQUE_MENU
- Petitboot interface, the (*) symbol cannot point to the correct boot item.
- The petitboot system information interface refreshes and shows chaos.
- petitboot should not clear terminal scrollback HOT 1
- language translation fix HOT 9
- Device tree framebuffer address is wrong HOT 1
- Where can I find the configuration documentation? HOT 1
- ANSI coloured text?
- kexec_file_load support for device-tree blobs HOT 1
- Can not get the same file from git source with petitboot-1.8.0.tar.gz HOT 1
- The link to http://git.ozlabs.org/?p=petitboot might be confusing HOT 3
- Adding "inst.dd" boot argument to install OS, causes the system interface to get stuck
- Setting a directory path for a dtb file does not seem to fail any validation checks HOT 1
- pb-discover crashes with a malformed DHCP URL for the pxeconffile HOT 1
- How do I build a install image for Playstation 3? HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from petitboot.