Lines Matching refs:UNPACKED_ROOT
559 UNPACKED_ROOT="$2"
569 cd "$UNPACKED_ROOT"
578 UNPACKED_ROOT="$2"
583 unarchive_X "$MEDIA" "$UNPACKED_ROOT"
588 cd "$UNPACKED_ROOT"
625 find . -print | cpio -pdum "$UNPACKED_ROOT" 2> /dev/null
746 grep -v "set root_is_ramdisk=" "$UNPACKED_ROOT"/etc/system | \
748 cat /tmp/system.$$ > "$UNPACKED_ROOT"/etc/system
751 echo set root_is_ramdisk=1 >> "$UNPACKED_ROOT"/etc/system
752 echo set ramdisk_size=$1 >> "$UNPACKED_ROOT"/etc/system
758 [ -d "$UNPACKED_ROOT" ] || usage
767 # Note, we can't use du here in case $UNPACKED_ROOT is on a filesystem,
781 size=$(find "$UNPACKED_ROOT" -ls | nawk '
802 if [ -d "$UNPACKED_ROOT/kernel/drv/sparcv9" ] ; then
807 cd "$UNPACKED_ROOT"
818 if [ -d "$UNPACKED_ROOT/kernel/drv/sparcv9" ] ; then
819 "$UNPACKED_ROOT/usr/sbin/installboot" \
820 "$UNPACKED_ROOT/platform/sun4u/lib/fs/ufs/bootblk" \
829 if [ -d "$UNPACKED_ROOT/kernel/drv/sparcv9" ] ; then
841 find "$UNPACKED_ROOT" -name amd64 -type directory | xargs rm -rf
869 UNPACKED_ROOT="$3"
877 [ "$UNPACKED_ROOT" != "/" ] || usage
882 if [ "`dirname $UNPACKED_ROOT`" = . ] ; then
883 UNPACKED_ROOT="$BASE/$UNPACKED_ROOT"
894 rm -rf "$UNPACKED_ROOT"
895 mkdir -p "$UNPACKED_ROOT"
898 [ -d "$UNPACKED_ROOT" ] || usage
902 packmedia "$MEDIA" "$UNPACKED_ROOT"
903 if [ -d "$UNPACKED_ROOT/kernel/drv/sparcv9" ] ; then
917 unpackmedia "$MEDIA" "$UNPACKED_ROOT"