PREFERRED_VERSION_linux-yocto = "3.14.4+git%"
WESTONSTARTUP ??= "weston-common"
+IMAGECONFIG ??= "config-tizen-common"
INHERIT += "metatizen"
-FILESYSTEM_PERMS_TABLES = "tizen-fs-perms.txt"
\ No newline at end of file
+FILESYSTEM_PERMS_TABLES = "tizen-fs-perms.txt"
LICENSE = "MIT"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+RDEPENDS_${PN} += "weston"
+
do_install() {
mkdir -p ${D}${sysconfdir}
echo "Tizen on Yocto" > ${D}${sysconfdir}/tizen
--- /dev/null
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+
+GROUPADD_PARAM_${PN} = "-g 191 display;-g 100 users;-g 1004 input;-g 190 systemd-journal;-g 54 lock"
+
+USERADD_PARAM_${PN} = " -d /run/display -m -u 115 -g display -G users,input,tty,display -s /bin/sh display; "
+USERADD_PARAM_${PN} += " -d /home/alice -m -u 5001 -g users -G users,display -r -s /bin/sh alice; "
+USERADD_PARAM_${PN} += " -d /home/bob -m -u 5002 -g users -G users,display -r -s /bin/sh bob; "
+USERADD_PARAM_${PN} += " -d /home/carol -m -u 5003 -g users -G users,display -r -s /bin/sh carol; "
+USERADD_PARAM_${PN} += " -d /home/guest -m -u 9999 -g users -G users,display -r -s /bin/sh guest; "
+USERADD_PARAM_${PN} += " -d /home/app -m -u 5000 -g users -G users,display -r -s /bin/sh app "
+
+do_install() {
+ install -d ${D}/etc/config-tizen-common
+}
+
+FILES_${PN} += "/etc/config-tizen-common"
--- /dev/null
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+
+GROUPADD_PARAM_${PN} = "-g 100 users; -g 5000 app; -g 192 weston-launch"
+
+USERADD_PARAM_${PN} += " -u 5000 -d /home/app -m -g users -G users,weston-launch -r -s /bin/sh app "
+
+do_install() {
+ install -d ${D}/etc/config-tizen-ivi
+}
+
+FILES_${PN} += "/etc/config-tizen-ivi"
CORE_IMAGE_BASE_INSTALL += "connman"
CORE_IMAGE_BASE_INSTALL += "${WESTONSTARTUP}"
+# Profile specific configuration - default is Tizen common
+CORE_IMAGE_BASE_INSTALL += "${IMAGECONFIG}"
+
CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
CORE_IMAGE_BASE_INSTALL += "libegl-gallium"
CORE_IMAGE_BASE_INSTALL += "libegl-mesa"
DESCRIPTION = "A Tizen ivi image base on Tizen common ."
-WESTONSTARTUP="weston-ivi"
+WESTONSTARTUP = "weston-ivi"
+IMAGECONFIG = "config-tizen-ivi"
CORE_IMAGE_EXTRA_INSTALL += "Modello_AMBSimulator"
CORE_IMAGE_EXTRA_INSTALL += "Modello_Appmanager"
CORE_IMAGE_EXTRA_INSTALL += "weston-ivi-shell"
# Crosswalk
-CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
+#CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
# Time zone
CORE_IMAGE_EXTRA_INSTALL += "tzdata"
-inherit useradd
-
FILESEXTRAPATHS_append := "${THISDIR}/weston-common"
SRC_URI += "file://0001-Yocto-correct-paths-to-ln-and-chmod.patch"
SRC_URI += "file://0003-Automatically-restart-display-manager.patch"
SRC_URI += "file://0004-Modifications-for-yocto-build.patch"
-USERADD_PACKAGES = "${PN}"
-
-GROUPADD_PARAM_${PN} = "-g 191 display;-g 100 users;-g 1004 input;-g 190 systemd-journal;-g 54 lock"
-
-USERADD_PARAM_${PN} = " -d /run/display -m -u 115 -g display -G users,input,tty,display -s /bin/sh display; "
-USERADD_PARAM_${PN} += " -d /home/alice -m -u 5001 -g users -G users,display -r -s /bin/sh alice; "
-USERADD_PARAM_${PN} += " -d /home/bob -m -u 5002 -g users -G users,display -r -s /bin/sh bob; "
-USERADD_PARAM_${PN} += " -d /home/carol -m -u 5003 -g users -G users,display -r -s /bin/sh carol; "
-USERADD_PARAM_${PN} += " -d /home/guest -m -u 9999 -g users -G users,display -r -s /bin/sh guest; "
-USERADD_PARAM_${PN} += " -d /home/app -m -u 5000 -g users -G users,display -r -s /bin/sh app "
do_install_append() {
install -m 755 uid.sh ${D}/etc/profile.d
-inherit useradd
-
-GROUPADD_PARAM_${PN} = "-g 100 users; -g 5000 app; -g 192 weston-launch;-g 1004 input;-g 190 systemd-journal;-g 54 lock"
-
-USERADD_PARAM_${PN} += " -u 5000 -d /home/app -m -g users -G users,weston-launch -r -s /bin/sh app "
-#USERADD_PARAM_${PN} += " -u 9999 -d /home/guest -m -g users -G users,weston-launch -r -s /bin/sh guest "
-
-USERADD_PACKAGES = "${PN}"
+DEPENDS += "config-tizen-ivi"
+RDEPENDS_${PN} += "config-tizen-ivi"
do_configure_prepend() {
# pkg-config check for wayland scanner even though it is present and wayland-scanner.pc seems ok.