Mercurial > hg > aboriginal
diff 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 |
line wrap: on
line diff
--- a/simple-root-filesystem.sh Fri Jul 02 12:46:35 2010 -0500 +++ b/simple-root-filesystem.sh Fri Jul 02 12:58:41 2010 -0500 @@ -43,6 +43,15 @@ cp -r "${SOURCES}/native-root/." "$STAGE_DIR/" && cp "$SRCDIR"/MANIFEST "$STAGE_DIR/src" || dienow +# If user specified different files to put in the root filesystem, add them. +# (This overwrites existing files.) + +if [ ! -z "$SIMPLE_ROOT_OVERLAY" ] +then + cd "$TOP" + cp -r "$SIMPLE_ROOT_OVERLAY/." "$STAGE_DIR/" || dienow +fi + # Build busybox and toybox build_section busybox