<div dir="ltr">I see this is in 1.4.0 now, right? I'd still like the root fs to be read-only so I can be sure I'm only installing into /home when building heddle. Can I remount / as read-only? I guess I could always go back to the old way and append the root fs into the hda sqf.<div>Thanks for Aboriginal, it's really cool. I managed to build right up to Docker and Capstan and do some stuff around atomic updates using kexec. <a href="https://github.com/davedoesdev/heddle">https://github.com/davedoesdev/heddle</a> - was about to start writing docs but then saw 1.4.0 so that will keep me busy for a while.</div><div>Maybe you'll be interested too that I made a project to get Aboriginal building on Travis CI: <a href="https://github.com/davedoesdev/build-aboriginal-travis">https://github.com/davedoesdev/build-aboriginal-travis</a></div><div>I also used CircleCI to get public builds of heddle using Aboriginal - artifacts here: <a href="http://githubraw.herokuapp.com/davedoesdev/heddle/master/.circle-ci/builds.html">http://githubraw.herokuapp.com/davedoesdev/heddle/master/.circle-ci/builds.html</a> and build logs here: <a href="https://circleci.com/gh/davedoesdev/heddle">https://circleci.com/gh/davedoesdev/heddle</a></div><div>Probably not of interest but I thought I'd point you to it anway :-)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 February 2015 at 19:41, Rob Landley <span dir="ltr"><<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Largeish change I've been working on for months just went into the repo,<br>
it's been blocking everything else until it was done.<br>
<br>
What we _were_ doing was combining simple-root-filesystem.sh output with<br>
nativecompiler.sh output at build time, via the "root-filesystem.sh<br>
script" that basically did cp -a of the second over the first with some<br>
minor fixups.<br>
<br>
Now the simple-root-filesystem.sh gets packaged into a cpio.gz archive<br>
and fed to qemu via -initrd, and the native-compiler.sh is the /dev/hda<br>
and the two are spliced together at runtime by sbin/init.sh doing a<br>
"cp -rs /usr/hda/. /" (I.E. put symlinks in the initramfs pointing into<br>
the toolchain filesystem).<br>
<br>
In the new setup, the new runtime "run-emulator.sh" script doesn't feed<br>
in /dev/hda so you _just_ get the initramfs with simple-root-filesystem.<br>
Then dev-environment.sh feeds in both /dev/hda with the toolchain and<br>
/dev/hdb to mount on /home.<br>
<br>
This means there's no more NO_NATIVE_COMPILER control knob: if you want<br>
a filesystem without the native compiler run root-filesystem.sh instead<br>
of dev-environment.sh. I also took away ROOT_NODIRS which was a thing<br>
for linux from scratch chapter 5 that lfs-bootstrap.hdc never actually<br>
used. (It basically made aboriginal's file layout look like the /tools<br>
directory of linux from scratch's intermediate stage. More confusing<br>
than useful; now the behavior's consistent.)<br>
<br>
There's still some debris and breakage (the cp -s is saying a couple<br>
files conflict, both have a /bin/sh for example), and lfs-bootstrap<br>
build is breaking because something can't find gmp.h (no idea what's up<br>
with that, have to track it down). But the basics are working again.<br>
<br>
Sorry for the radio silence, that wasn't something I could do halfway<br>
and stop without needing to start over when I tried again...<br>
<br>
Rob<br>
_______________________________________________<br>
Aboriginal mailing list<br>
<a href="mailto:Aboriginal@lists.landley.net">Aboriginal@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/aboriginal-landley.net" target="_blank">http://lists.landley.net/listinfo.cgi/aboriginal-landley.net</a><br>
</blockquote></div><br></div>