summaryrefslogtreecommitdiff
path: root/packages/images/gpephone-image-vm.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/images/gpephone-image-vm.bb')
-rw-r--r--packages/images/gpephone-image-vm.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/images/gpephone-image-vm.bb b/packages/images/gpephone-image-vm.bb
new file mode 100644
index 0000000000..a058361f27
--- /dev/null
+++ b/packages/images/gpephone-image-vm.bb
@@ -0,0 +1,42 @@
+PR = "r0"
+
+export IMAGE_BASENAME = "gpephone-image-vm"
+
+GPE_EXTRA_THEMES = ""
+
+GPE_EXTRA_INSTALL_none = ""
+GPE_EXTRA_INSTALL_x86 = "grub xserver-kdrive-xephyr xoo-vm xoo-theme-gpephone"
+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"
+RDEPENDS = "${PACKAGE_INSTALL}"
+
+export PACKAGE_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"