# HG changeset patch # User Rob Landley # Date 1282541107 18000 # Node ID 6a4968ae5ac858fc97ae83300ccadb3639d2bcf5 # Parent e20d4f39809e0a1f42bc82648e138052cab89e5f Add new "/src/host-info" file to target, with CROSS_TARGET and KARCH values. diff -r e20d4f39809e -r 6a4968ae5ac8 simple-root-filesystem.sh --- a/simple-root-filesystem.sh Mon Aug 23 00:22:38 2010 -0500 +++ b/simple-root-filesystem.sh Mon Aug 23 00:25:07 2010 -0500 @@ -40,7 +40,9 @@ # Copy qemu setup script and so on. -cp -r "${SOURCES}/root-filesystem/." "$STAGE_DIR/" && +cp -r "$SOURCES/root-filesystem/." "$STAGE_DIR/" && +echo -e "CROSS_TARGET=$CROSS_TARGET\nKARCH=$KARCH" > \ + "$STAGE_DIR/src/host-info" && cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow # If user specified different files to put in the root filesystem, add them.