1 #initramfs image which mounts the rootfilesystem and kexecs a kernel from there
4 ONLINE_PACKAGE_MANAGEMENT = "none"
5 IMAGE_FSTYPES = "cpio.gz"
7 export IMAGE_BASENAME = "initramfs-preboot-image"
9 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
11 # avoid circular dependencies
12 EXTRA_IMAGEDEPENDS = ""
16 util-linux-ng-mount util-linux-ng-umount \
40 preboot_palmpre_rootfs_postprocess() {
41 # copy all our files to the rootfs
42 dirs=`find ${FILESDIR} -type d -printf "%P\n" | grep -v "^.$" | grep -v ".git"`
44 mkdir -p ${IMAGE_ROOTFS}/$dir
46 files=`find ${FILESDIR} -type f -printf "%P\n" | grep -v ".git"`
47 for file in $files; do
48 cp -f ${FILESDIR}/$file ${IMAGE_ROOTFS}/$file
54 # install our usbnet initscript
55 chmod +x etc/init.d/usbnet
56 # ln -sf ../init.d/usbnet ${IMAGE_ROOTFS}/etc/rcS.d/S15usbnet
58 # miniboot sequence (just for debugging)
59 rm ${IMAGE_ROOTFS}/sbin/init
60 chmod +x ${IMAGE_ROOTFS}/etc/miniboot.sh
61 ln -sf /etc/miniboot.sh ${IMAGE_ROOTFS}/init
62 ln -sf ../etc/miniboot.sh ${IMAGE_ROOTFS}/sbin/init
67 ROOTFS_POSTPROCESS_COMMAND_palmpre += " preboot_palmpre_rootfs_postprocess"