annotate more/dev-environment-from-build.sh @ 1839:c8293b3ab81f draft default tip

Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author Rob Landley <rob@landley.net>
date Sun, 17 Jan 2016 21:18:52 -0600
parents 6173bb6f3b2c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1193
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/bash
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
2
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
3 # Run development environment out of build directory, using host-tools.sh if
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
4 # available.
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
5
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
6 cd build/system-image-"$1" &&
6173bb6f3b2c Three convenience scripts to bounce off build/system-image-$ARCH and run stuff
Rob Landley <rob@landley.net>
parents:
diff changeset
7 PATH="$(pwd)/build/host:$PATH" ./dev-environment.sh