# HG changeset patch # User Rob Landley # Date 1423943753 21600 # Node ID 4921adb23771bde7fb5943a50f44834eadcd2882 # Parent 156eb9b36245ee98fd00e0248a9ae50825e86948 Have chroot-splice.sh copy in native-compiler as well. diff -r 156eb9b36245 -r 4921adb23771 more/chroot-splice.sh --- a/more/chroot-splice.sh Sat Feb 14 13:53:19 2015 -0600 +++ b/more/chroot-splice.sh Sat Feb 14 13:55:53 2015 -0600 @@ -11,7 +11,7 @@ # Make sure prerequisites exist -for i in "build/root-filesystem-$1" "$2" +for i in build/{root-filesystem,native-compiler}-"$1" "$2" do if [ ! -e "$i" ] then @@ -35,9 +35,11 @@ more/zapchroot.sh "$CHROOT" || exit 1 fi -# Copy root filesystem and splice in control image +# Copy root filesystem and native compiler cp -lan "build/root-filesystem-$1/." "$CHROOT" || exit 1 +cp -lan "build/native-compiler-$1/." "$CHROOT" || exit 1 +# splice in control image if [ -d "$2" ] then mount -o bind "$2" "$CHROOT/mnt" &&