--- /dev/null
+# ex: set tabstop=4 noexpandtab:
+VERSION = $(shell cat VERSION)
+NAME=meta-wearable
+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/wearable/configs
+ install -d ${DESTDIR}/usr/share/image-configurations/wearable/custom
+ install -d ${DESTDIR}/usr/share/image-configurations/wearable/scripts
+ install -d ${DESTDIR}/usr/share/image-configurations/wearable/partitions
+ install -d ${DESTDIR}/usr/share/package-groups/wearable
+ install -m 644 wearable.yaml ${DESTDIR}/usr/share/image-configurations/wearable
+ install -m 644 wearable-repos.yaml ${DESTDIR}/usr/share/image-configurations/wearable
+ install -m 644 wearable-targets.yaml ${DESTDIR}/usr/share/image-configurations/wearable
+ install -m 644 ks/*.yaml ${DESTDIR}/usr/share/image-configurations/wearable/configs
+ install -D partitions/* ${DESTDIR}/usr/share/image-configurations/wearable/partitions
+ install -D scripts/* ${DESTDIR}/usr/share/image-configurations/wearable/scripts
+ install -m 644 patterns/*.yaml ${DESTDIR}/usr/share/package-groups/wearable
+
+test:
+ merge-patterns -o output/ -p patterns -s
+ kickstarter -c wearable.yaml -e ks -r wearable-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: common-boot-armv7l-odroidu3
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: Boot-Odroidu3
+Part: common-mbr-boot
+Mic2Options: -f loop --pack-to=@NAME@.tar.gz
+FileName: common-boot-armv7l-odroidu3
+Group: Common Boot Odroid U3
+Attachment:
+ - /var/tmp/u-boot/u-boot-mmc.bin
+ - /var/tmp/u-boot/params.bin
+Repos:
+ - common-x11_armv7l
--- /dev/null
+Name: common-x11-2parts-armv7l
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: X11
+Part: common-mbr-2parts
+Mic2Options: -f loop --pack-to=@NAME@.tar.gz --copy-kernel
+FileName: common-x11-2parts-armv7l
+Kernel: kernel-profile-common
+Repos:
+ - common-x11_armv7l
--- /dev/null
+Name: common-x11-3parts-armv7l-odroidu3
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: X11
+Part: common-mbr-3parts
+Mic2Options: -f loop --pack-to=@NAME@.tar.gz
+FileName: common-x11-3parts-armv7l-odroidu3
+Repos:
+ - common-x11_armv7l
--- /dev/null
+Name: common-x11-mbr-i586
+Architecture: ia32
+Schedule: "*"
+Active: True
+Platform: X11
+Part: common-mbr
+FileName: common-x11-mbr-i586
+Kernel: kernel-profile-common
+Repos:
+ - common-x11_i586
+Groups:
+ - Generic X11 Intel
+ - Generic Multimedia Intel
+PostScripts:
+ - generic-x11-intel
+ - generic-multimedia-intel
--- /dev/null
+%define profile wearable
+
+Summary: Tizen Wearable Package Groups and Image Configurations
+Name: meta-wearable
+Version: 003
+Release: 1
+License: GPL-2.0
+Group: System/Base
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.bz2
+
+%description
+Tizen Wearable Package Groups and Image Configurations
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+%make_install
+
+
+%files
+%{_datadir}/package-groups/wearable/*.yaml
+%{_datadir}/image-configurations/wearable/*.yaml
+%{_datadir}/image-configurations/wearable/configs/*.yaml
+%{_datadir}/image-configurations/wearable/scripts
+%{_datadir}/image-configurations/wearable/partitions
--- /dev/null
+part / --size 1800 --ondisk sda --fstype=ext3 --label platform
--- /dev/null
+part / --fstype="ext4" --size=3584 --ondisk=sda --active --label tizen-common --fsoptions=defaults,noatime
--- /dev/null
+part /boot --fstype="vfat" --size=64 --ondisk=sda --active --label TZBOOT --fsoptions=defaults,noatime
+part / --fstype="ext4" --size=3500 --ondisk=sda --label tizen-common --fsoptions=defaults,noatime
--- /dev/null
+part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
+part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
+part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
--- /dev/null
+part /boot --fstype="vfat" --size=64 --ondisk=mmcblk0 --active --label boot --fsoptions=defaults,noatime
+part /lib/modules --fstype="ext4" --size=20 --ondisk=mmcblk0 --active --label modules --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
+Summary: Common Adaptation
+Description: Common Adaptation
+Name: common-adaptation
+Packages:
+- meta-generic-adaptation
--- /dev/null
+Summary: Common Base
+Description: Common Base
+Name: common-base
+Packages: []
+
--- /dev/null
+Summary: Common Boot Odroid U3
+Description: Common Boot Odroid U3
+Name: common-boot-odroid-u3
+Packages:
+- arm-odroidu3-linux-kernel
+- arm-odroidu3-linux-kernel-modules
+- u-boot
--- /dev/null
+Summary: Common Crosswalk
+Description: Common Crosswalk
+Name: common-crosswalk
+Packages:
+- wrt-widgets
+
--- /dev/null
+Summary: Common Desktop Applications
+Description: Common Desktop Applications
+Name: common-desktop-applications
+Packages:
+- org.tizen.calculator
+- elementary-tools
+- evas-examples
+- emotion-examples
--- /dev/null
+Summary: Common Middleware
+Description: Common Middleware
+Name: common-middleware
+Packages:
+- model-config-generic
+- ofono
+- neard
+- neardal
+- usb-server
--- /dev/null
+Summary: Common Packaging
+Description: Common Packaging
+Name: common-packaging
+Packages: []
+
--- /dev/null
+Summary: Common QA Tools
+Description: Common QA Tools
+Name: common-qa
+Packages:
+- neard-test
+- ofono-test
--- /dev/null
+Summary: Common Qt5
+Description: Common Qt5
+Name: common-qt5
+Packages:
+- qt-tizen-demo
--- /dev/null
+Summary: Common Wayland
+Description: Common Wayland
+Name: common-wayland
+Packages:
+- weston-common
+- weston-common-config
+- weston-clients
+- weston-common-tz-launcher
+- desktop-skin
--- /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
+# 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
+# buildname.nochroot
+if [ -n "$IMG_NAME" ]; then
+ echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/tizen-release
+ echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/os-release
+fi
--- /dev/null
+#!/bin/sh
+echo "############### common-adaptation.post ################"
+
--- /dev/null
+#!/bin/sh
+echo "############### common-base.post ################"
+
+######### multiuser mode: create additional users and fix their homedirs
+tizen_crypted_pass=$(perl -e 'print crypt("tizen", "aa")')
+uid=5001
+
+for user in alice bob carol guest; do
+ if ! generic_base_user_exists $user; then
+ useradd -u $uid -d /home/$user -g users -G audio,video,users,display -m --password "$tizen_crypted_pass" $user
+ uid=$(( $uid + 1 ))
+ fi
+
+ generic_base_fix_user_homedir $user
+done
+
+
+
--- /dev/null
+#!/bin/sh
+echo "############### common-crosswalk.post ################"
+
+# start wrt widgets preinstall
+prepare_widgets.sh
+
--- /dev/null
+#!/bin/sh
+echo "############### common-desktop-applications.post ################"
+
+# call function defined in meta-generic
+for user in alice bob carol guest developer; do
+ generic_desktop_applications_fix_userhome $user
+done
+
+
--- /dev/null
+#!/bin/sh
+echo "############### common-middleware.post ################"
+
--- /dev/null
+#!/bin/sh
+echo "############### common-packaging.post ################"
+
+# generate repo files for zypper
+function genrepo() {
+ local url=$1
+ local reponame=$2
+ local filename=${3:-$2}
+ local enabled=${4:-0}
+
+ local prefix=${TZ_BUILD_VENDOR}-${TZ_BUILD_PROFILE}-${TZ_BUILD_REPO}
+
+ # remove double slashes if any
+ url=$(sed -e 's|/\+|/|g' -e 's|:/|://|' <<<$url)
+
+ cat >> /etc/zypp/repos.d/$prefix-${filename}.repo << EOF
+[$prefix-${reponame}]
+name=$prefix-${reponame}
+enabled=$enabled
+autorefresh=0
+baseurl=${url}?ssl_verify=no
+type=rpm-md
+gpgcheck=0
+
+EOF
+}
+
+# source /etc/tizen-build.conf to get more infos about project, repos etc.
+. /etc/tizen-build.conf
+
+# adjust build_id if this scripts executes before the replacement in /etc/tizen-build.conf
+TZ_BUILD_ID=$(echo $TZ_BUILD_ID | sed 's|@BUILD_ID[@]|@BUILD_ID@|')
+
+# snapshot repo
+genrepo ${TZ_BUILD_SNAPSHOT_URL}/${TZ_BUILD_ID}/repos/${TZ_BUILD_REPO}/packages snapshot snapshot 1
+genrepo ${TZ_BUILD_SNAPSHOT_URL}/${TZ_BUILD_ID}/repos/${TZ_BUILD_REPO}/debug snapshot-debug snapshot 1
+
+# latest repo
+genrepo ${TZ_BUILD_SNAPSHOT_URL}/latest/repos/${TZ_BUILD_REPO}/packages update update 0
+genrepo ${TZ_BUILD_SNAPSHOT_URL}/latest/repos/${TZ_BUILD_REPO}/debug update-debug update 0
+
+# daily repo
+genrepo ${TZ_BUILD_DAILY_URL}/latest/repos/${TZ_BUILD_REPO}/packages daily daily 0
+genrepo ${TZ_BUILD_DAILY_URL}/latest/repos/${TZ_BUILD_REPO}/debug daily-debug daily 0
+
+# weekly repo
+genrepo ${TZ_BUILD_WEEKLY_URL}/latest/repos/${TZ_BUILD_REPO}/packages weekly weekly 0
+genrepo ${TZ_BUILD_WEEKLY_URL}/latest/repos/${TZ_BUILD_REPO}/debug weekly-debug weekly 0
+
--- /dev/null
+#!/bin/sh
+echo "############### common-qt5.post ################"
+
+list='
+qt5-qtdeclarative-examples
+qt5-cinematic-experience
+'
+
+dst="/usr/share/applications/tizen/launcher.conf"
+
+if [ -w "$dst" ] ; then
+ for app in $list ; do
+ src="/usr/share/applications/$app.desktop"
+
+ grep "$src" "$dst" \
+ || { [ ! -r "$src" ] || echo "$src" >> "$dst" ; }
+
+ done
+fi
--- /dev/null
+#!/bin/sh
+echo "#################### generic-adaptation.post ####################"
+
+# fix TIVI-2291
+sed -ri "s/(^blacklist i8042.*$)/#fix from base-general.post \1/" /etc/modprobe.d/blacklist.conf
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-applications.post ####################"
+
--- /dev/null
+################ generic-base.post ##################
+
+# was base-general-minimal.post - not used actually
+#rm /usr/lib/systemd/system/default.target
+#ln -sf multi-user.target /usr/lib/systemd/system/default.target
+
+# Run prelink to speed up dynamic binary/library loading
+/usr/sbin/prelink --all
+
+ln -sf /proc/self/mounts /etc/mtab
+
+# fix TIVI-2291
+sed -ri "s/(^blacklist i8042.*$)/#fix from base-general.post \1/" /etc/modprobe.d/blacklist.conf
+
+# sdx: fix smack labels on /var/log
+chsmack -a '*' /var/log
+
+# Temporary work around for bug in filesystem package resulting in the 'app' user home
+# directory being only readable by root
+chown -R app:app /opt/home/app
+
+# Since weston-launch runs with the "User" label, the app
+# home dir must have the same label
+chsmack -a User /opt/home/app
+
+# bug workaround on MIC (DEVT-160)
+if [ -e /etc/sysconfig/i18n -a ! -e /etc/locale.conf ]; then
+ unset LANG
+ unset LC_CTYPE
+ unset LC_NUMERIC
+ unset LC_TIME
+ unset LC_COLLATE
+ unset LC_MONETARY
+ unset LC_MESSAGES
+ unset LC_PAPER
+ unset LC_NAME
+ unset LC_ADDRESS
+ unset LC_TELEPHONE
+ unset LC_MEASUREMENT
+ unset LC_IDENTIFICATION
+ . /etc/sysconfig/i18n
+ rm -f /etc/sysconfig/i18n
+ [ -n "$LANG" ] && echo LANG=$LANG > /etc/locale.conf
+ [ -n "$LC_CTYPE" ] && echo LC_CTYPE=$LC_CTYPE >> /etc/locale.conf
+ [ -n "$LC_NUMERIC" ] && echo LC_NUMERIC=$LC_NUMERIC >> /etc/locale.conf
+ [ -n "$LC_TIME" ] && echo LC_TIME=$LC_TIME >> /etc/locale.conf
+ [ -n "$LC_COLLATE" ] && echo LC_COLLATE=$LC_COLLATE >> /etc/locale.conf
+ [ -n "$LC_MONETARY" ] && echo LC_MONETARY=$LC_MONETARY >> /etc/locale.conf
+ [ -n "$LC_MESSAGES" ] && echo LC_MESSAGES=$LC_MESSAGES >> /etc/locale.conf
+ [ -n "$LC_PAPER" ] && echo LC_PAPER=$LC_PAPER >> /etc/locale.conf
+ [ -n "$LC_NAME" ] && echo LC_NAME=$LC_NAME >> /etc/locale.conf
+ [ -n "$LC_ADDRESS" ] && echo LC_ADDRESS=$LC_ADDRESS >> /etc/locale.conf
+ [ -n "$LC_TELEPHONE" ] && echo LC_TELEPHONE=$LC_TELEPHONE >> /etc/locale.conf
+ [ -n "$LC_MEASUREMENT" ] && echo LC_MEASUREMENT=$LC_MEASUREMENT >> /etc/locale.conf
+ [ -n "$LC_IDENTIFICATION" ] && echo LC_IDENTIFICATION=$LC_IDENTIFICATION >> /etc/locale.conf
+fi
+
+# workaround for bug PTREL-763
+patch -p1 -d/ <<'EOF'
+diff -urN bad/etc/pam.d/systemd-user good/etc/pam.d/systemd-user
+--- bad/etc/pam.d/systemd-user 2014-03-20 10:01:36.657843073 +0100
++++ good/etc/pam.d/systemd-user 2014-03-20 10:06:51.586121696 +0100
+@@ -4,5 +4,6 @@
+
+ account include system-auth
+ session include system-auth
++session required pam_systemd.so
+ auth required pam_deny.so
+ password required pam_deny.so
+EOF
--- /dev/null
+#!/bin/sh
+echo "#################### generic-bluetooth.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-console-tools.post ####################"
+
+# customize bash prompt
+cat >/etc/profile.d/bash_prompt_custom.sh <<'EOF'
+if [ "$PS1" ]; then
+
+ function proml {
+ # set a fancy prompt (overwrite the one in /etc/profile)
+ local default="\[\e[0m\]"
+ local usercol='\[\e[1;34m\]' # blue
+ local hostcol='\[\e[1;32m\]' # green
+ local pathcol='\[\e[1;33m\]' # yellow
+ local gitcol='\[\e[1;31m\]' # light red
+ local termcmd=''
+ local _p="$";
+
+ if [ "`id -u`" -eq 0 ]; then
+ usercol='\[\e[1;31m\]'
+ _p="#"
+ fi
+
+ PS1="${usercol}\u${default}@${hostcol}\h${default}:${pathcol}\w${default}${gitcol}${default}${_p} ${termcmd}"
+ }
+
+ proml
+
+ function rcd () {
+ [ "${1:0:1}" == "/" ] && { cd $1; } || { cd $(pwd -P)/$1; }
+ }
+
+ alias ll="ls -lZ"
+ alias lr="ls -ltrZ"
+ alias la="ls -alZ"
+
+ function get_manifest () {
+ rpm -qa --queryformat="%{name} %{Version} %{Release} %{VCS}\n" | sort
+ }
+fi
+EOF
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-crosswalk.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-desktop-applications.post ####################"
+
+# temp workaround to fill each user app_info database with global db infos
+. /etc/tizen-platform.conf
+ail_initdb
+pkg_initdb
+
+# depends on generic-base functions
+function generic_desktop_applications_fix_userhome() {
+ user=$1
+
+ generic_base_user_exists $user || return 1
+ homedir=$(generic_base_user_home $user)
+
+ echo "Fix app_info.db of $user"
+ chown -R $user:users $homedir/.applications/dbspace/
+}
+
+# fix TC-320 for SDK
+. /etc/tizen-build.conf
+[ "${TZ_BUILD_WITH_EMULATOR}" == "1" ] && generic_desktop_applications_fix_userhome developer
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-middleware.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-multimedia-intel.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-multimedia.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-packaging.post ####################"
+
+rm -rf /root/.zypp
+
+# was: rpm.post
+rm -f /var/lib/rpm/__db*
+rpmdb --rebuilddb
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-qt5.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-x11-intel.post ####################"
+
--- /dev/null
+#!/bin/sh
+echo "#################### generic-x11.post ####################"
+
+# enable X11 forwarding on ssh
+if [ -f /etc/ssh/sshd_config ]; then
+ echo "X11Forwarding yes" >>/etc/ssh/sshd_config
+ echo "AddressFamily inet" >>/etc/ssh/sshd_config
+fi
+
--- /dev/null
+# Make sdb work.
+#vconftool set -t int memory/setting/usb_sel_mode 0 -f
+set_usb_debug.sh --set
+
+# Set environment for launchpad daemon. Fix TDIST-264
+cat > /etc/sysconfig/launchpad <<EOF
+DISPLAY=:0
+EOF
+
+# Work around PTREL-566.
+chsmack -a "*" /home/app/
+find /home/app/.e -exec chsmack -a "*" {} \;
--- /dev/null
+# Make sdb work.
+#vconftool set -t int memory/setting/usb_sel_mode 0 -f
+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
+setup-fstab-mobile
--- /dev/null
+Repositories:
+ - Name: wearable
+ Url: http://download.tizen.org/snapshots/tizen/wearable/@BUILD_ID@/repos/wearable/@ARCH@/packages/
+ Options: --save --ssl_verify=no
+
+ - Name: wearable-debug
+ Url: http://download.tizen.org/snapshots/tizen/wearable/@BUILD_ID@/repos/wearable/@ARCH@/debug/
+ Options: --save --ssl_verify=no
+
+ - Name: common-x11_armv7l
+ Url: http://download.tizen.org/snapshots/tizen/wearable/@BUILD_ID@/repos/arm-x11/packages/
+ Options: --ssl_verify=no
--- /dev/null
+---
+Targets:
+ - Name: arm-x11
+ Images:
+ - common-boot-armv7l-odroidu3.yaml
+ - common-x11-2parts-armv7l.yaml
+ - common-x11-3parts-armv7l-odroidu3.yaml
+
+# - Name: ia32-x11
+# Images:
+#- common-x11-mbr-i586.yaml
--- /dev/null
+Default:
+ Baseline: tizen-3.0
+ Active: True
+ Mic2Options: -f raw --fstab=uuid --copy-kernel --compress-disk-image=bz2 --generate-bmap
+ Part: common-mbr
+ Language: en_US.UTF-8
+ Keyboard: us
+ Timezone: America/Los_Angeles
+ RootPass: tizen
+ DefaultUser: guest
+ DefaultUserPass: tizen
+ BootLoader: True
+ BootloaderAppend: "rw vga=current splash rootwait rootfstype=ext4 plymouth.enable=0"
+ BootloaderTimeout: 3
+ BootloaderOptions: '--ptable=gpt --menus="install:Wipe and Install:systemd.unit=system-installer.service:test"'
+ StartX: False
+ Desktop: None
+ SaveRepos: False
+ UserGroups: "audio,video"
+ Groups:
+ - Generic Base
+ - Common Base
+ - Generic Console Tools
+ - Generic Packaging
+ - Common Packaging
+ - Generic Adaptation
+ - Common Adaptation
+ PostScripts:
+ - generic-base
+ - common-base
+ - generic-console-tools
+ - generic-packaging
+ - common-packaging
+ - generic-adaptation
+ - common-adaptation
+ NoChrootScripts:
+ - buildname
+
+Boot-Odroidu3:
+ Part: common-mbr-boot
+ Desktop: None
+ SaveRepos: False
+ UserGroups: "audio,video"
+ Groups:
+ - Common Boot Odroid U3
+ Repos: []
+
+X11:
+ Part: common-mbr
+ UserGroups: "audio,video"
+ Groups:
+ - Generic X11
+ - Generic Middleware
+ - Common Middleware
+ - Generic Applications
+ - Generic Bluetooth
+ - Generic Multimedia
+ - Generic Desktop Applications
+ - Common Desktop Applications
+ - Generic Crosswalk
+ - Common Crosswalk
+ - Generic Qt5
+ - Common Qt5
+ PostScripts:
+ - generic-x11
+ - generic-middleware
+ - common-middleware
+ - generic-applications
+ - generic-bluetooth
+ - generic-multimedia
+ - generic-desktop-applications
+ - common-desktop-applications
+ - generic-crosswalk
+ - common-crosswalk
+ - generic-qt5
+ - common-qt5
+ Repos: []