summaryrefslogtreecommitdiff
path: root/recipes/images/gpephone-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/gpephone-image.bb')
-rw-r--r--recipes/images/gpephone-image.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/images/gpephone-image.bb b/recipes/images/gpephone-image.bb
new file mode 100644
index 0000000000..bfe9238e3e
--- /dev/null
+++ b/recipes/images/gpephone-image.bb
@@ -0,0 +1,37 @@
+GPE_EXTRA_THEMES = ""
+
+GPE_EXTRA_INSTALL_none = ""
+GPE_EXTRA_INSTALL_x86 = "grub"
+GPE_EXTRA_INSTALL_bigscreen = "${GPE_EXTRA_THEMES}"
+GPE_EXTRA_INSTALL_smallscreen = "${GPE_EXTRA_THEMES}"
+
+GUI_MACHINE_CLASS ?= "none"
+GPE_EXTRA_INSTALL += "${GPE_EXTRA_INSTALL_${GUI_MACHINE_CLASS}}"
+
+#ship more stuff with devices with >16MB of flash
+GPE_BIGFLASH_INSTALL := '${@base_conditional("ROOT_FLASH_SIZE", "16", "", "\
+",d)}'
+
+GPE_EXTRA_INSTALL += "${GPE_BIGFLASH_INSTALL}"
+
+XSERVER ?= "xserver-kdrive-fbdev"
+
+DEPENDS = "${MACHINE_TASK_PROVIDER} task-gpephone virtual/xserver"
+
+IMAGE_INSTALL = "\
+ ${MACHINE_TASK_PROVIDER} \
+ gpephone-task-base \
+ gpephone-task-pim \
+ gpephone-task-settings \
+ gpephone-task-development \
+ gpephone-task-apps \
+ gpephone-task-connectivity \
+ ${XSERVER} \
+ ${GPE_EXTRA_INSTALL}"
+
+
+inherit image
+
+ROOTFS_POSTPROCESS_COMMAND += "set_image_autologin; "
+
+LICENSE = "MIT"