- ### Thierry : there's no useradd in vdir at this stage - it was just cleaned up
- ### # Add site_admin account
- ### chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin
- ###
- # Disable /etc/cron.*/000-delay.cron. Used to splay crons. PL crons
- # already do this.
- echo > ${vdir}/etc/sysconfig/crontab
-
- echo "--------STARTING tar'ing PlanetLab-Bootstrap-${NAME}.tar.bz2: $(date)"
- tar -cpjf ${pldistro}-filesystems/PlanetLab-Bootstrap-${NAME}.tar.bz2 -C ${vdir} .
- echo "--------FINISHED tar'ing PlanetLab-Bootstrap-${NAME}.tar.bz2: $(date)"
- echo "--------DONE BUILDING PlanetLab-Bootstrap-${NAME}: $(date)"
+ echo -n "* tar $extension_name s=$(date +%H-%M-%S)"
+ tar -cpf ${pldistro}-filesystems/$extension_plain -C ${vdir} .
+ echo -n " m=$(date +%H-%M-%S) "
+ bzip2 --compress --stdout ${pldistro}-filesystems/$extension_plain > ${pldistro}-filesystems/$extension_name
+ echo " e=$(date +%H-%M-%S) "