tizen-platform-config: Fix embedded script indentation (Common) 08/54608/2
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 16 Dec 2015 08:59:07 +0000 (08:59 +0000)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Sun, 3 Jan 2016 02:05:12 +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: I951e01b714c33041f4b0a3c88ad1924a561bbc1d
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc

index 347c9cc..cfcc603 100644 (file)
@@ -119,24 +119,24 @@ pkg_postinst_${PN}() {
     HOME="$D${sysconfdir}/skel"
     . "$D${sysconfdir}/tizen-platform.conf"
     cat << ENDOFCAT |
-    $TZ_USER_HOME        User::Home           true
-    $TZ_USER_APPROOT     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_APPROOT     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"