|
|
@ -62,6 +62,8 @@ if [ $packager = bize ] ; then |
|
|
|
fi |
|
|
|
|
|
|
|
disksdir="$root/ROCK/target-finish" |
|
|
|
# datadir is relative to $base. |
|
|
|
datadir="build/${ROCKCFG_ID}/ROCK/target-finish" |
|
|
|
|
|
|
|
mainfunction="second_stage_mainfunction" |
|
|
|
|
|
|
@ -271,4 +273,15 @@ done < <( find -type f | xargs md5sum | sort ) |
|
|
|
echo "Creating 2nd_stage_small.tar.gz archive." |
|
|
|
tar -cvf- * | gzip -9 > ../2nd_stage_small.tar.gz ; cd .. |
|
|
|
|
|
|
|
echo "Creating ISO filesystem description." |
|
|
|
rm -rf 2nd-stage-isofs; mkdir -p 2nd-stage-isofs |
|
|
|
|
|
|
|
echo "Creating isofs directory.." |
|
|
|
ln 2nd_stage.tar.gz 2nd_stage_small.tar.gz 2nd-stage-isofs/ |
|
|
|
|
|
|
|
echo "Creating isofs.txt file .." |
|
|
|
cat > $root/ROCK/isofs_2nd-stage.txt <<- EOT |
|
|
|
DISK1 $datadir/2nd-stage-isofs/ ${ROCKCFG_SHORTID}/ |
|
|
|
EOT |
|
|
|
|
|
|
|
} |