tizen-platform-config: Fix embedded script indentation (IVI) 09/54609/2
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>
Sun, 3 Jan 2016 02:05:34 +0000 (03:05 +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
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
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"