#!/bin/sh # # Put a new squashfs on the disk image # . ../config if [ ! -d ${DISK_IMAGE}/casper ] ; then echo "Cannot find ${DISK_IMAGE}/casper directory -- possibly not detarred" exit 1 fi echo "Removing old squashfs" rm -f ${DISK_IMAGE}/casper/filesystem.squashfs ${DISK_IMAGE}/casper/filesystem.manifest rm -f ${DISK_IMAGE}/casper/filesystem.manifest-desktop echo "Copying new squashfs" cp filesystem.manifest ${DISK_IMAGE}/casper/ cp filesystem.manifest ${DISK_IMAGE}/casper/filesystem.manifest-desktop cp filesystem.squashfs ${DISK_IMAGE}/casper/ sync