comparison root-filesystem.sh @ 1816:fb05f99ffcce draft

Collate site-local variables under "MY_XXX" prefix: MY_PATCH_DIR, MY_ROOT_OVERLAY, MY_CROSS_PATH and MY_CROSS_PREFIX.
author Rob Landley <rob@landley.net>
date Sat, 21 Nov 2015 16:44:39 -0600
parents acaa88463c0c
children 297a5d07c73b
comparison
equal deleted inserted replaced
1815:191dfad915ba 1816:fb05f99ffcce
37 cp "$SRCDIR"/MANIFEST "$STAGE_USR/src" || dienow 37 cp "$SRCDIR"/MANIFEST "$STAGE_USR/src" || dienow
38 38
39 # If user specified different files to put in the root filesystem, add them. 39 # If user specified different files to put in the root filesystem, add them.
40 # (This overwrites existing files.) 40 # (This overwrites existing files.)
41 41
42 if [ ! -z "$ROOT_OVERLAY" ] 42 if [ ! -z "$MY_ROOT_OVERLAY" ]
43 then 43 then
44 cd "$TOP" 44 cd "$TOP"
45 tar -c -C "$ROOT_OVERLAY" . | tar -x -C "$STAGE_DIR" || dienow 45 tar -c -C "$MY_ROOT_OVERLAY" . | tar -x -C "$STAGE_DIR" || dienow
46 fi 46 fi
47 47
48 # Build toybox 48 # Build toybox
49 49
50 STAGE_DIR="$STAGE_USR" build_section busybox 50 STAGE_DIR="$STAGE_USR" build_section busybox