#!/bin/sh
#
+if [ ! -d initrd ] ; then
+ echo "Cannot find initrd directory."
+ exit 1
+fi
cd initrd
echo "Packing initrd to initrd.gz ..."
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
+++ /dev/null
-#!/bin/sh
-#
-# Update the disk image with a new squashfs
-#
-. ./config
-
-rm -f $DISK_IMAGE/casper/filesystem.squashfs
-rm -f $DISK_IMAGE/casper/filesystem.mainfest
-rm -f $DISK_IMAGE/casper/filesystem.mainfest-desktop
-cp filesystem.squashfs $DISK_IMAGE/casper/filesystem.squashfs
-cp filesystem.mainfest $DISK_IMAGE/casper/filesystem.mainfest
-cp filesystem.mainfest $DISK_IMAGE/casper/filesystem.mainfest-desktop