On Fri, Mar 7, 2014 at 4:42 AM, Sandro red Mathys &lt;red@fedoraproject.org&gt; wrote:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">
Sorry, missing something here. What would I need that code for? I was
actually thinking about writing something like:</div></blockquote><div><br></div><div>Yep, that code is just the JS implementation of the shell script you posted.</div><div><br></div><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hm, does Anaconda write the bootloader config before or after
executing %post scripts? Either the above could still work or not, I
guess.</div></blockquote><br><div>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. &nbsp;That's the "--karg" option to "ostree admin deploy".</div><div><br></div><div>(We could edit it after but that'd be ugly)</div><div><br></div>