summaryrefslogtreecommitdiff
path: root/recipes/images/corecdp-minimal-image.bb
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-04-30 10:51:50 -0500
committerJesse Gilles <jgilles@multitech.com>2010-04-30 10:51:50 -0500
commit8f11a9df72dde5dbcc9cd419ce815dc9756be793 (patch)
treebfd5cf5bc0846eb3da0c6d2ed79fccaf9789fef9 /recipes/images/corecdp-minimal-image.bb
parent0431f878edd38a1af264e5727e1e4d604f1a95fd (diff)
add CoreCDP images
Diffstat (limited to 'recipes/images/corecdp-minimal-image.bb')
-rw-r--r--recipes/images/corecdp-minimal-image.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes/images/corecdp-minimal-image.bb b/recipes/images/corecdp-minimal-image.bb
new file mode 100644
index 0000000000..21bbbb890c
--- /dev/null
+++ b/recipes/images/corecdp-minimal-image.bb
@@ -0,0 +1,42 @@
+inherit image
+
+DISTRO_SSH_DAEMON ?= "dropbear"
+
+# remove kernel package from rootfs to save space
+# uImage is flashed to a different partition, so it isn't needed
+PACKAGE_REMOVE = "kernel-image-*"
+ROOTFS_POSTPROCESS_COMMAND += "opkg-cl ${IPKG_ARGS} -force-depends \
+ remove ${PACKAGE_REMOVE};"
+
+CORE_FEATURES = "mtd-utils u-boot usbutils usb-gadget-mode \
+ sysfsutils module-init-tools kernel-modules \
+ bash \
+ "
+
+NETWORKING_FEATURES = "ppp \
+ atftp netkit-ftp lftp curl \
+ iptables iptables-utils \
+ "
+
+MULTITECH_FEATURES = "mts-io \
+ config \
+ "
+
+UPGRADE_FEATURES = "upgrade-reboot mtd-utils-static"
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+IMAGE_INSTALL = "task-boot \
+ util-linux-ng-mount util-linux-ng-umount \
+ ${DISTRO_SSH_DAEMON} \
+ ${CORE_FEATURES} \
+ ${NETWORKING_FEATURES} \
+ ${MULTITECH_FEATURES} \
+ ${UPGRADE_FEATURES} \
+ "
+
+export IMAGE_BASENAME = "corecdp-minimal-image"
+IMAGE_LINGUAS = ""
+
+require corecdp-tftpboot.inc
+