comparison simple-root-filesystem.sh @ 1221:6a4968ae5ac8

Add new "/src/host-info" file to target, with CROSS_TARGET and KARCH values.
author Rob Landley <rob@landley.net>
date Mon, 23 Aug 2010 00:25:07 -0500
parents 99c49806ea6d
children 313c702a0984
comparison
equal deleted inserted replaced
1220:e20d4f39809e 1221:6a4968ae5ac8
38 mkdir -p "$STAGE_DIR/bin" || dienow 38 mkdir -p "$STAGE_DIR/bin" || dienow
39 fi 39 fi
40 40
41 # Copy qemu setup script and so on. 41 # Copy qemu setup script and so on.
42 42
43 cp -r "${SOURCES}/root-filesystem/." "$STAGE_DIR/" && 43 cp -r "$SOURCES/root-filesystem/." "$STAGE_DIR/" &&
44 echo -e "CROSS_TARGET=$CROSS_TARGET\nKARCH=$KARCH" > \
45 "$STAGE_DIR/src/host-info" &&
44 cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow 46 cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow
45 47
46 # If user specified different files to put in the root filesystem, add them. 48 # If user specified different files to put in the root filesystem, add them.
47 # (This overwrites existing files.) 49 # (This overwrites existing files.)
48 50