comparison simple-root-filesystem.sh @ 1151:b55c80be32b6

Add SIMPLE_ROOT_OVERLAY.
author Rob Landley <rob@landley.net>
date Fri, 02 Jul 2010 12:58:41 -0500
parents 73e5bcfa9f63
children 80693b1a8038
comparison
equal deleted inserted replaced
1150:5ce47f84a1d1 1151:b55c80be32b6
40 40
41 # Copy qemu setup script and so on. 41 # Copy qemu setup script and so on.
42 42
43 cp -r "${SOURCES}/native-root/." "$STAGE_DIR/" && 43 cp -r "${SOURCES}/native-root/." "$STAGE_DIR/" &&
44 cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow 44 cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow
45
46 # If user specified different files to put in the root filesystem, add them.
47 # (This overwrites existing files.)
48
49 if [ ! -z "$SIMPLE_ROOT_OVERLAY" ]
50 then
51 cd "$TOP"
52 cp -r "$SIMPLE_ROOT_OVERLAY/." "$STAGE_DIR/" || dienow
53 fi
45 54
46 # Build busybox and toybox 55 # Build busybox and toybox
47 56
48 build_section busybox 57 build_section busybox
49 cp "$WORK"/config-busybox "$STAGE_DIR"/src || dienow 58 cp "$WORK"/config-busybox "$STAGE_DIR"/src || dienow