# this doesn't mean anything to you.
CONF_VERSION = "2"
-INITRAMFS_IMAGE = "core-image-tiny-initramfs"
+INITRAMFS_IMAGE = "core-image-minimal"
INITRAMFS_FSTYPES = "cpio cpio.gz cpio.lzma"
IMAGE_FSTYPES = "ext2 ext2.gz ext2.lzma cpio cpio.gz cpio.lzma"
--- /dev/null
+IMAGE_ROOTFS_SIZE = "16384"
+IMAGE_NAME = "${PN}-baikal"
+
+RDEPENDS:append = " kernel-modules"
+IMAGE_INSTALL:append = " kernel-modules"
+IMAGE_INSTALL:append = " dropbear"
+IMAGE_INSTALL:append = " e2fsprogs"
+IMAGE_INSTALL:append = " strace"
+IMAGE_INSTALL:append = " kexec-tools"
+EXTRA_IMAGE_FEATURES += "debug-tweaks"
+
+baikal_deploy () {
+ if [ ! -d ${BAIKAL_IMAGES} ]; then
+ mkdir -p ${BAIKAL_IMAGES}
+ fi
+ cp -f ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ext2.gz ${BAIKAL_IMAGES}/initrd.gz
+ cp -f ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ext2.lzma ${BAIKAL_IMAGES}/initrd.lzma
+ cp -f ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz ${BAIKAL_IMAGES}/initramfs.gz
+ cp -f ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.lzma ${BAIKAL_IMAGES}/initramfs.lzma
+}
+
+IMAGE_POSTPROCESS_COMMAND += "baikal_deploy;"
+++ /dev/null
-VIRTUAL-RUNTIME_dev_manager = "udev"
-
-PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} ${VIRTUAL-RUNTIME_dev_manager} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
-
-IMAGE_NAME = "initramfs-bfk3"
-
-PACKAGE_INSTALL:append = " kernel-modules"
-
-COMPATIBLE_HOST += '|(mips.*)'