summaryrefslogtreecommitdiff
path: root/packages/images/sugar-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/images/sugar-image.bb')
-rw-r--r--packages/images/sugar-image.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/images/sugar-image.bb b/packages/images/sugar-image.bb
new file mode 100644
index 0000000000..af64e3d062
--- /dev/null
+++ b/packages/images/sugar-image.bb
@@ -0,0 +1,23 @@
+ANGSTROM_EXTRA_INSTALL += " \
+ ${@base_contains("MACHINE_FEATURES", "phone", "openmoko-dialer2", "",d)} \
+ "
+XSERVER ?= "xserver-kdrive-fbdev"
+
+export IMAGE_BASENAME = "x11-image"
+
+DEPENDS = "task-base"
+IMAGE_INSTALL = "\
+ ${XSERVER} \
+ task-base-extended \
+ angstrom-x11-base-depends \
+ angstrom-gpe-task-base \
+ angstrom-gpe-task-settings \
+ sugar-sucrose \
+ ${ANGSTROM_EXTRA_INSTALL}"
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+#zap root password for release images
+ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
+
+inherit image