# Calculate os_install_scratch==on append=after comment=#

# for synchronize ROOTDEV/workspace/boot with ROOTDEV/boot
if [[ -e /boot ]] && [[ -e /mnt/scratch/boot ]]
then
	ebegin "Synchronize /boot for scratch mode"
	rsync -a -x --delete /boot/ /mnt/scratch/boot/ && eend 0 || eend 1
fi
