On Fri, Mar 7, 2014 at 4:42 AM, Sandro red Mathys <red@fedoraproject.org> wrote:
Sorry, missing something here. What would I need that code for? I was actually thinking about writing something like:

Yep, that code is just the JS implementation of the shell script you posted.

Hm, does Anaconda write the bootloader config before or after executing %post scripts? Either the above could still work or not, I guess.

Now that I dove more into Anaconda code last night, there is an important detail: we need to pass the kernel arguments like root= to OSTree.  That's the "--karg" option to "ostree admin deploy".

(We could edit it after but that'd be ugly)