meta-tizen: tizen-platform-config: Fix embedded script indentation (IVI) 54/56654/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 16 Dec 2015 08:59:08 +0000 (08:59 +0000)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 11 Jan 2016 19:33:48 +0000 (20:33 +0100)
Then delimiter will be used, and source file written correctly.

Without, bitbake did not fail but raise a warning like this:
  warning: here-document at line 11 delimited by end-of-file (wanted `ENDOFCAT')

Change-Id: I30aa0ddfb6b48807e193bc07960a961d71b5bdbf
(From meta-tizen rev: 17c92602c96a6b8472156980d2f428e8d223765d)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc

index de3a62e..29b3d71 100644 (file)
@@ -118,23 +118,23 @@ pkg_postinst_${PN}() {
     HOME="$D${sysconfdir}/skel"
     . "$D${sysconfdir}/tizen-platform.conf"
     cat << ENDOFCAT |
-    $TZ_USER_HOME        User::Home           true
-    $TZ_USER_CONTENT     User::Home           true
-    $TZ_USER_CAMERA      User::App::Shared    true
-    $TZ_USER_DOCUMENTS   User::App::Shared    true
-    $TZ_USER_DOWNLOADS   User::App::Shared    true
-    $TZ_USER_GAMES       User::App::Shared    true
-    $TZ_USER_IMAGES      User::App::Shared    true
-    $TZ_USER_OTHERS      User::App::Shared    true
-    $TZ_USER_SOUNDS      User::App::Shared    true
-    $TZ_USER_VIDEOS      User::App::Shared    true
-    $TZ_USER_SHARE       User::App::Shared    true
-    $TZ_USER_APP         User                 false
-    $TZ_USER_DB          User                 false
-    $TZ_USER_DESKTOP     User                 false
-    $TZ_USER_ICONS       User::Home           true
-    $TZ_USER_PACKAGES    User                 false
-    ENDOFCAT
+$TZ_USER_HOME        User::Home           true
+$TZ_USER_CONTENT     User::Home           true
+$TZ_USER_CAMERA      User::App::Shared    true
+$TZ_USER_DOCUMENTS   User::App::Shared    true
+$TZ_USER_DOWNLOADS   User::App::Shared    true
+$TZ_USER_GAMES       User::App::Shared    true
+$TZ_USER_IMAGES      User::App::Shared    true
+$TZ_USER_OTHERS      User::App::Shared    true
+$TZ_USER_SOUNDS      User::App::Shared    true
+$TZ_USER_VIDEOS      User::App::Shared    true
+$TZ_USER_SHARE       User::App::Shared    true
+$TZ_USER_APP         User                 false
+$TZ_USER_DB          User                 false
+$TZ_USER_DESKTOP     User                 false
+$TZ_USER_ICONS       User::Home           true
+$TZ_USER_PACKAGES    User                 false
+ENDOFCAT
     LANG= sort | while read skelname context transmute; do
        mkdir -p "$skelname"
        chsmack -a "$context" "$skelname"