- bump version to 0.2: rebuilt with latest 2.6.8 planetlab kernel
- make sure the script exits if the ramdisk creation fails
INITRD_MOUNT=`pwd`/rd
# size of the ram disk in MB
-RAMDISK_SIZE=48
+RAMDISK_SIZE=64
# the bytes per inode ratio (the -i value in mkfs.ext2) for the ramdisk
INITRD_BYTES_PER_INODE=1024
mount -o loop,rw $INITRD $INITRD_MOUNT
echo "copy all files except usr to ramdisk"
- (cd $CD_ROOT && find . -path ./usr -prune -o -print | \
- cpio -p -d -u $INITRD_MOUNT)
+ pushd .
+ cd $CD_ROOT
+ find . -path ./usr -prune -o -print | cpio -p -d -u $INITRD_MOUNT
+ popd
umount $INITRD_MOUNT
rmdir $INITRD_MOUNT