Based on meta-mobile.
Change-Id: I43d3b679696cef92bd11468cbbe59b9bf9a7454d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
--- /dev/null
+# ex: set tabstop=4 noexpandtab:
+VERSION = $(shell cat VERSION)
+NAME=meta-tv
+TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
+DESTDIR=
+ARCH=i586
+
+ifeq ($(VERSION), $(TAGVER))
+ TAG = $(TAGVER)
+else
+ TAG = "HEAD"
+endif
+
+all:
+
+install:
+ install -d ${DESTDIR}/usr/share/image-configurations/tv/configs
+ install -d ${DESTDIR}/usr/share/image-configurations/tv/custom
+ install -d ${DESTDIR}/usr/share/image-configurations/tv/scripts
+ install -d ${DESTDIR}/usr/share/image-configurations/tv/partitions
+ install -d ${DESTDIR}/usr/share/package-groups/tv
+ install -m 644 tv.yaml ${DESTDIR}/usr/share/image-configurations/tv
+ install -m 644 tv-repos.yaml ${DESTDIR}/usr/share/image-configurations/tv
+ install -m 644 ks/*.yaml ${DESTDIR}/usr/share/image-configurations/tv/configs
+ install -D partitions/* ${DESTDIR}/usr/share/image-configurations/tv/partitions
+ install -D scripts/* ${DESTDIR}/usr/share/image-configurations/tv/scripts
+ install -m 644 patterns/*.yaml ${DESTDIR}/usr/share/package-groups/tv
+
+test:
+ merge-patterns -o output/ -p patterns -s
+ kickstarter -c tv.yaml -e ks -r tv-repos.yaml
+
+tag:
+ git tag -a $(VERSION) -m "$(VERSION)"
+ git push --tags
+
+changelog:
+ python ./scripts/gitlog2changelog.py
+
+
+dist-bz2:
+ git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \
+ bzip2 > $(NAME)-$(VERSION).tar.bz2
+
+dist-gz:
+ git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \
+ gzip > $(NAME)-$(VERSION).tar.gz
+
+dist: dist-bz2
+
+clean:
+ rm -rf patterns.xml INDEX.xml group.xml *.xml
--- /dev/null
+Name: Emulator
+Schedule: "*"
+Active: True
+Platform: Emulator
+FileName: emulator
+Architecture: ia32
+Groups:
+ - Mobile Enlightenment
+ - Mobile Applications
+ - Mobile Framework
+ - Graphics and UI Framework X
+ - Mobile Osp
+ExtraPackages:
+ - sdbd
+PostScripts:
+ - Tizen-common-cleanup
+NoChrootScripts:
--- /dev/null
+Name: ODROID-u3
+Schedule: "*"
+Active: True
+Platform: ODROID-u3
+FileName: ODROID-u3
+Architecture: armv7l
+Groups:
+ - Mobile Enlightenment
+ - Mobile Applications
+ - Mobile Framework
+ - Mobile Osp
+ - RD PQ Adaptation
+ - Graphics and UI Framework X
+ExtraPackages:
+ - sdbd
+ - setup-mobile
+InstallerFrameworkPlugins:
+ - fstab
+PostScripts:
+ - Tizen-common-cleanup
+ - tv-odroid-u3
+ - setup-fstab-mobile
+NoChrootScripts:
--- /dev/null
+Summary: Tizen TV Package Groups and Image Configurations
+Name: meta-tv
+Version: 001
+Release: 1
+License: GPL-2.0
+Group: System/Base
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Tizen TV Package Groups and Image Configurations
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+%attr(644,-,-) %{_datadir}/package-groups/tv/*.yaml
+/usr/share/image-configurations/tv/*.yaml
+/usr/share/image-configurations/tv/configs/*.yaml
+/usr/share/image-configurations/tv/scripts
+/usr/share/image-configurations/tv/partitions
--- /dev/null
+part / --size 1800 --ondisk sda --fstype=ext3 --label platform
--- /dev/null
+# ROOT fs partition
+part / --size=3000 --fstype=ext4 --label=platform --uuid=4f5fff4c-4d1e-11e3-b3c5-180373d78786 --fsoptions=defaults,noatime
+# DATA partition
+part /opt/ --size=3000 --fstype=ext4 --label=data --uuid=4f602120-4d1e-11e3-a223-180373d78786 --fsoptions=defaults,noatime
+# UMS partition
+part /opt/usr/ --size=3000 --fstype=ext4 --label=ums --uuid=4f603fca-4d1e-11e3-8f51-180373d78786 --fsoptions=defaults,noatime
--- /dev/null
+Description: Boot system
+Name: boot-system
+Packages:
+- linux-kernel
+- u-boot
+Summary: Boot system
--- /dev/null
+Description: Clovertrail Adaptation
+Name: clovertrail-adaptation
+Packages:
+- device-configs-clovertrail
+- kernel-clovertrail
+- linux-firmware-clovertrail
+- system-plugin-ia-generic
+- system-plugin-ia-generic-clovertrail
+- device-manager-plugin-clovertrail
+#- psb-video-clovertrail
+- charging-animation-clovertrail
+- sensor-plugins-clovertrail-geek
+- sound-plugin-hal-clovertrail
+- model-config-clovertrail
+- mmfw-sysconf-clovertrail
+- tel-plugin-vpc
+- tel-plugin-clovertrail-geek
+- pvr-bin-clovertrail
+Summary: Clovertrail Adaptation
--- /dev/null
+Description: Medfield Blackbay Adaptation
+Name: medfield-blackbay-adaptation
+Packages:
+- kernel-mfld-blackbay
+- linux-firmware-mfld
+- xorg-server-configs-mfld-blackbay
+- device-manager-plugin-mfld-blackbay
+- psb-video-mfld
+- alsa-scenario-scn-data-0-mfld
+- tel-plugin-mfld-blackbay
+- device-config-touch-mxt224
+Summary: Medfield Blackbay Adaptation
--- /dev/null
+Description: Mobile Applications Lite
+Name: mobile-applications-lite
+Packages:
+##TODO: Reenable after all packages build
+#- org.tizen.app-selector
+#- org.tizen.bt-syspopup
+##- org.tizen.browser
+- org.tizen.calculator
+#- org.tizen.calendar
+#- org.tizen.calendar-viewer
+#- org.tizen.call
+#- org.tizen.camera-app
+#- org.tizen.clock
+#- org.tizen.contacts
+#- org.tizen.contacts-viewer
+#- org.tizen.email
+#- org.tizen.gallery
+#- org.tizen.image-viewer
+- org.tizen.indicator
+#- org.tizen.lockscreen
+#- org.tizen.lowbat-syspopup
+#- org.tizen.lowmem-syspopup
+#- org.tizen.memo
+- org.tizen.menu-screen
+#- org.tizen.message
+#- org.tizen.music-player
+#- org.tizen.myfile
+#- org.tizen.net-popup
+#- org.tizen.phone
+#- org.tizen.poweroff-syspopup
+#- org.tizen.pwlock
+#- org.tizen.quickpanel
+#- org.tizen.setting
+#- org.tizen.smartsearch
+#- org.tizen.taskmgr
+#- org.tizen.usb-syspopup
+#- org.tizen.video-player
+#- org.tizen.volume
+#- org.tizen.wifi-direct-popup
+#- org.tizen.wifi-direct-ugapp
+Summary: Mobile Applications Lite
--- /dev/null
+Description: Mobile Applications
+Name: mobile-applications
+Packages:
+#TODO: Reenable after all packages build
+- org.tizen.app-selector
+- org.tizen.bt-syspopup
+#- org.tizen.browser
+- org.tizen.calculator
+- org.tizen.calendar
+- org.tizen.calendar-viewer
+- org.tizen.call
+- org.tizen.camera-app
+- org.tizen.clock
+- org.tizen.contacts
+- org.tizen.contacts-viewer
+- org.tizen.email
+- org.tizen.gallery
+- org.tizen.image-viewer
+- org.tizen.indicator
+- org.tizen.lockscreen
+- org.tizen.lowbat-syspopup
+- org.tizen.lowmem-syspopup
+- org.tizen.memo
+- org.tizen.menu-screen
+- org.tizen.message
+- org.tizen.music-player
+- org.tizen.myfile
+- org.tizen.net-popup
+- org.tizen.phone
+- org.tizen.poweroff-syspopup
+- org.tizen.pwlock
+- org.tizen.quickpanel
+- org.tizen.setting
+- org.tizen.smartsearch
+- org.tizen.taskmgr
+- org.tizen.usb-syspopup
+- org.tizen.video-player
+- org.tizen.volume
+#- org.tizen.wifi-direct-popup
+#- org.tizen.wifi-direct-ugapp
+Summary: Mobile Applications
--- /dev/null
+Description: Mobile Enlightenment Lite
+Name: mobile-enlightenment-lite
+Packages:
+#- e17
+#- e17-data
+#- e17-extra-config-modules
+#- e17-extra-modules
+#- e17-misc
+- ecore
+- edbus
+- edje
+- edje-tools
+- eet
+- eet-tools
+- efl-theme-tizen-hd
+- efreet
+- eina
+- elementary
+- elementary-tools
+- elm-misc
+- embryo
+#- emotion
+#- emotion-gstreamer
+#- enchant
+- ethumb
+- evas
+- ecore-imf-wayland
+Summary: Mobile Enlightenment Lite
--- /dev/null
+Description: Mobile Enlightenment
+Name: mobile-enlightenment
+Packages:
+- e17
+- e17-data
+- e17-extra-config-modules
+- e17-extra-modules
+- e17-misc
+- ecore
+- edbus
+- edje
+- edje-tools
+- eet
+- eet-tools
+- efl-theme-tizen-hd
+- efreet
+- eina
+- elementary
+- elementary-tools
+- elm-misc
+- embryo
+- emotion
+- emotion-gstreamer
+- enchant
+- ethumb
+- evas
+Summary: Mobile Enlightenment
--- /dev/null
+Description: Mobile Framework Lite
+Name: mobile-framework-lite
+Packages:
+- app-checker-server
+- avahi-data
+- boot-animation
+#- bluetooth-agent
+#- bluetooth-frwk-core
+#- bluetooth-frwk-service
+- busybox
+- cairo-tools
+- capi-media-video-util
+#- call-setting
+#- data-provider-master
+- data-router
+- default-fonts-fc-sdk
+- default-fonts-sdk
+- dlogutil
+#- dm-private-plugins
+#- dm-public-plugins
+#- download-provider
+- freealut
+- fsync
+- gconf-dbus-utils
+#- gps-manager
+- haptic-module-tizen
+#TODO: Reenable after all packages build
+#- ise-default
+#- ise-engine-anthy
+#- ise-engine-sunpinyin
+- libiri
+- libprivilege-control-conf
+#- location-gps-manager
+- media-data-sdk
+#- media-server
+#- media-thumbnail-server
+#- mms-plugin
+#- msg-service
+#- msg-service-tools
+#- nfc-common-lib
+#- nfc-manager
+#- notification
+#- oma-dm-agent
+#- oma-ds-agent
+- opencore-amr
+- pam-modules-extra
+- pciutils
+#- pkgmgr-client
+#- pkgmgr-info-parser
+#- pkgmgr-installer
+#- pkgmgr-server
+#- power-manager
+#- privacy-popup
+- pulseaudio-module-bluetooth
+- pulseaudio-utils
+#- push-bin
+#- push-tool
+- qpdf
+- ragel
+- rpm-installer
+- security-server
+- sensor-framework
+#- smartcard-plugin-nfc
+#- smartcard-plugin-uicc
+#- smartcard-service
+#- smartcard-service-common
+#- smartcard-service-server
+#- sms-plugin
+- ss-server
+- starter
+- stt
+- svi-data-sdk
+- sys-assert
+#- syspopup-caller
+- sys-string
+- systemd-analyze
+- system-popup
+- system-server
+- telephony-daemon
+- tel-plugin-database
+- tel-plugin-dbus_tapi
+- tel-plugin-indicator
+- tel-plugin-imc
+- tel-plugin-packetservice
+- tel-plugin-vconf
+- tizen-mobile-session
+#- ug-gallery-efl
+#- ug-image-viewer-efl
+#- ug-isfsetting-efl
+#- ug-memo-efl
+#- ug-music-player-efl
+#- ug-myfile-efl
+#- ug-nfc-efl
+#- ug-setting-gallery-efl
+#- ug-setting-homescreen-efl
+#- ug-setting-location-efl
+#- ug-setting-manage-applications-efl
+#- ug-share-nfc-efl
+- user-session-units
+- usb-server
+#- wifi-direct-manager
+#- wifi-direct-plugin-wpasupplicant
+Summary: Mobile Framework Lite
--- /dev/null
+Description: Mobile Framework
+Name: mobile-framework
+Packages:
+- app-checker-server
+- avahi-data
+- boot-animation
+- bluez
+- bluetooth-agent
+- bluetooth-frwk-core
+- bluetooth-frwk-service
+- cairo-tools
+- capi-media-video-util
+- call-setting
+- data-provider-master
+- data-router
+- debug-launchpad
+- default-fonts-fc-sdk
+- default-fonts-sdk
+- dlogutil
+- dm-private-plugins
+- dm-public-plugins
+- download-provider
+- freealut
+- fsync
+- gconf-dbus-utils
+- gps-manager
+- haptic-module-tizen
+#TODO: Reenable after all packages build
+#- ise-default
+#- ise-engine-anthy
+#- ise-engine-sunpinyin
+- libiri
+- libprivilege-control-conf
+- location-gps-manager
+- media-data-sdk
+- media-server
+- media-thumbnail-server
+- mms-plugin
+- msg-service
+- msg-service-tools
+#- nfc-common-lib
+#- nfc-manager
+- notification
+- oma-dm-agent
+- oma-ds-agent
+- opencore-amr
+- pam-modules-extra
+- pciutils
+- pkgmgr-client
+- pkgmgr-info-parser
+- pkgmgr-installer
+- pkgmgr-server
+- power-manager
+- privacy-popup
+- pulseaudio-module-bluetooth
+- pulseaudio-utils
+#- push-bin
+#- push-tool
+- qpdf
+- ragel
+- rpm-installer
+- security-server
+- sensor-framework
+#- smartcard-plugin-nfc
+- smartcard-plugin-uicc
+- smartcard-service
+- smartcard-service-common
+- smartcard-service-server
+- sms-plugin
+- ss-server
+- starter
+- stt
+- svi-data-sdk
+- sys-assert
+- syspopup-caller
+- sys-string
+- systemd-analyze
+- system-popup
+- system-server
+- telephony-daemon
+- tel-plugin-database
+- tel-plugin-dbus_tapi
+- tel-plugin-indicator
+- tel-plugin-imc
+- tel-plugin-packetservice
+- tel-plugin-vconf
+- tizen-mobile-session
+- ug-gallery-efl
+- ug-image-viewer-efl
+- ug-isfsetting-efl
+- ug-memo-efl
+#- ug-music-player-efl
+- ug-myfile-efl
+#- ug-nfc-efl
+- ug-setting-gallery-efl
+- ug-setting-homescreen-efl
+- ug-setting-location-efl
+- ug-setting-manage-applications-efl
+#- ug-share-nfc-efl
+- user-session-units
+- usb-server
+- wifi-direct-manager
+- wifi-direct-plugin-wpasupplicant
+Summary: Mobile Framework
--- /dev/null
+Description: Mobile Osp
+Name: mobile-osp
+Packages:
+- chromium
+#- osp-app-controls
+- osp-app-service
+- osp-appfw
+#- osp-appwidget-service
+- osp-bluetooth
+- osp-channel-service
+#- osp-common-service
+- osp-compat
+- osp-connectivity-service
+- osp-content
+- osp-env-config
+#- osp-face
+- osp-image
+- osp-image-core
+- osp-ime
+- osp-installer
+- osp-json
+- osp-loader
+- osp-locations
+- osp-media
+- osp-messaging
+- osp-net
+- osp-nfc
+- osp-secure-element
+- osp-security-service
+- osp-shell
+- osp-social
+- osp-speech
+- osp-sys-config-ref
+- osp-telephony
+- osp-uifw
+- osp-uix
+#- osp-web
+#- osp-vision
+Summary: Mobile Osp
--- /dev/null
+Description: RD PQ Adaptation
+Name: rd-pq-adaptation
+Packages:
+#- alsa-scenario-scn-data-0-wm1811
+#- bluetooth-firmware-bcm-e4412
+- charging-animation
+- device-manager-plugin-exynos
+#- gst-plugins-e4x12
+#- gst-plugins-fimcconvert
+#- libomxil-e4x12
+- libtbm-exynos4412
+#- mfc-firmware-e4412
+#- mmfw-sysconf-cleansdk-e4x12
+#- model-config-rd-pq
+- my-account
+#- nfc-plugin-65nxp
+#- nfc-plugin-nxp
+- opengl-es-virtual-drv
+#- org.tizen.mobileprint
+- powertop
+- print-service
+- print-driver-data
+- pygobject
+- rfkill
+#- sensor-plugins
+#- system-plugin-slp
+- system-plugin-mount
+#- systemd-console-ttySAC2
+- tel-plugin-imcmodem
+#- xorg-x11-drv-exynos
+#- xorg-x11-misc-exynos
+- xf86-video-fbdev
+Summary: RD PQ Adaptation
--- /dev/null
+# Bug: https://bugs.tizen.org/jira/browse/TDIST-266
+pkg_initdb
+
+# Bug: https://bugs.tizen.org/jira/browse/TDIST-260
+INITDB=1 ail_initdb
+
+# Bug: https://bugs.tizen.org/jira/browse/PTREL-137
+echo "DISPLAY=:0" >> /etc/sysconfig/preload
--- /dev/null
+setup-fstab-mobile
--- /dev/null
+# Make sdb work.
+set_usb_debug.sh --set
+
+# Set environment for launchpad daemon. Fix TDIST-264
+cat > /etc/sysconfig/launchpad <<EOF
+DISPLAY=:0
+EOF
+
+# Since applications runs with the "User" label, the app
+# home dir must have the same label
+chsmack -a User /opt/home/app
+
+# vconf should have 'User' label.
+find /opt/var/kdb | xargs chsmack -a 'User'
--- /dev/null
+Repositories:
+ - Name: tv
+ Url: http://download.tizen.org/snapshots/tizen/tv/@BUILD_ID@/repos/tv/@ARCH@/packages/
+ Options: --save --ssl_verify=no
+ - Name: tv-debug
+ Url: http://download.tizen.org/snapshots/tizen/tv/@BUILD_ID@/repos/tv/@ARCH@/debug/
+ Options: --save --ssl_verify=no
--- /dev/null
+Default:
+ Baseline: tizen-3.0
+ Active: True
+ Language: en_US.UTF-8
+ Keyboard: us
+ SaveRepos: True
+ Timezone: America/Los_Angeles
+ RootPass: tizen
+ DefaultUser: tizen
+ DefaultUserPass: tizen
+ BootloaderOptions: ""
+
+ODROID-u3:
+ Bootloader: True
+ BootloaderAppend: "rootdelay=5"
+ BootloaderTimeout: 0
+ SaveRepos: True
+ Desktop: None
+ DefaultUser: root
+ DefaultUserPass: ""
+ Architecture: armv7l
+ Mic2Options: -f loop --pack-to=@NAME@.tar.gz
+ Part: ODROID-u3
+ Groups:
+ - Base System
+ - Console Tools
+ Repos:
+ - tv
+
+Emulator:
+ Bootloader: True
+ BootloaderAppend: "rootdelay=5"
+ BootloaderTimeout: 0
+ SaveRepos: True
+ Desktop: None
+ DefaultUser: root
+ DefaultUserPass: ""
+ Mic2Options: -f loop --pack-to=@NAME@.tar.gz
+ Part: Emulator
+ Groups:
+ - Base System
+ - Console Tools
+ Repos:
+ - tv