- last commit for meta-tizen-ivi, before change to tizen 3.0 candidate.
authorRonan Le Martret <ronan@fridu.net>
Thu, 20 Jun 2013 07:26:37 +0000 (09:26 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 20 Jun 2013 07:27:13 +0000 (09:27 +0200)
18 files changed:
meta-tizen-ivi/conf/layer.conf
meta-tizen-ivi/recipes-packagegroups/packagegroups/packagegroup-tizen-commonwayland-core.bb
meta-tizen-ivi/recipes-tizen/dbus/dbus/dbus.spec.patch
meta-tizen-ivi/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk-extraconf.inc
meta-tizen-ivi/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk/default-fonts-fc-sdk.spec.patch [new file with mode: 0644]
meta-tizen-ivi/recipes-tizen/dlog/dlog/dlog.spec.patch
meta-tizen-ivi/recipes-tizen/libtcore/libtcore-extraconf.inc
meta-tizen-ivi/recipes-tizen/libtcore/libtcore/libtcore.spec.patch [new file with mode: 0644]
meta-tizen-ivi/recipes-tizen/module-init-tools/module-init-tools/module-init-tools.spec.patch
meta-tizen-ivi/recipes-tizen/pciutils/pciutils/pciutils.spec.patch
meta-tizen-ivi/recipes-tizen/python-base/python-base-extraconf.inc
meta-tizen-ivi/recipes-tizen/svi-data-sdk/svi-data-sdk-extraconf.inc
meta-tizen-ivi/recipes-tizen/svi-data-sdk/svi-data-sdk/svi-data-sdk.spec.patch [new file with mode: 0644]
meta-tizen-ivi/recipes-tizen/sys-assert/sys-assert-extraconf.inc
meta-tizen-ivi/recipes-tizen/sys-assert/sys-assert/sys-assert.spec.patch [new file with mode: 0644]
meta-tizen-ivi/recipes-tizen/util-linux-ng/util-linux-ng-extraconf.inc
meta-tizen-ivi/recipes-tizen/util-linux-ng/util-linux-ng/util-linux-ng.spec.patch [new file with mode: 0644]
meta-tizen-ivi/recipes-tizen/xdgmime/xdgmime/xdgmime.spec.patch

index 5e4b45c..40b73d2 100644 (file)
@@ -18,10 +18,10 @@ PREFERRED_PROVIDER_python-xml = "python-base"
 PREFERRED_PROVIDER_python-curses = "python"
 PREFERRED_PROVIDER_python = "python-base"
 PREFERRED_VERSION_python = "git"
+PREFERRED_PROVIDER_python-core = "python-base"
+PREFERRED_VERSION_python-base = "git"
 
-
-
-PREFERRED_PROVIDER_python-native  = "python-base-native-native"
+PREFERRED_PROVIDER_python-native  = "python-base-native"
 PREFERRED_PROVIDER_python-xml-native = "python-base-native"
 PREFERRED_PROVIDER_python-curses-native = "python-native"
 PREFERRED_VERSION_python-native = "git"
index 07acbac..0319fcb 100644 (file)
@@ -208,6 +208,9 @@ RDEPENDS_${PN} += "psmisc"
 RDEPENDS_${PN} += "readline"
 
 RDEPENDS_${PN} += "rpm"
+RDEPENDS_${PN} += "ncurses"
+RDEPENDS_${PN} += "ncurses-libs"
+
 #RDEPENDS_${PN} += "rpm-installer"
 RDEPENDS_${PN} += "rpm-libs"
 
index 675b04c..e2f377a 100644 (file)
@@ -1,8 +1,8 @@
 diff --git a/packaging/dbus.spec b/packaging/dbus.spec
-index ea31831..f4110ff 100644
+index ea31831..c8114bd 100644
 --- a/packaging/dbus.spec
 +++ b/packaging/dbus.spec
-@@ -61,21 +61,27 @@ make %{?jobs:-j%jobs}
+@@ -61,33 +61,39 @@ make %{?jobs:-j%jobs}
  %install
  rm -rf %{buildroot}
  %make_install
@@ -39,7 +39,11 @@ index ea31831..f4110ff 100644
  
  
  %post libs 
-@@ -86,8 +92,8 @@ mkdir -p /opt/var/lib/dbus
+-/sbin/ldconfig
++ldconfig -r ${D}
+ %postun libs -p /sbin/ldconfig
  
  
  %files
index e69de29..66fbcad 100644 (file)
@@ -0,0 +1,9 @@
+SRC_URI += "file://default-fonts-fc-sdk.spec.patch"
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/default-fonts-fc-sdk.spec.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
\ No newline at end of file
diff --git a/meta-tizen-ivi/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk/default-fonts-fc-sdk.spec.patch b/meta-tizen-ivi/recipes-tizen/default-fonts-fc-sdk/default-fonts-fc-sdk/default-fonts-fc-sdk.spec.patch
new file mode 100644 (file)
index 0000000..0b8b4c3
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
+index 6d8a635..d65e10c 100644
+--- a/packaging/default-fonts-fc-sdk.spec
++++ b/packaging/default-fonts-fc-sdk.spec
+@@ -27,8 +27,8 @@ cd %{buildroot}%{_prefix}/etc/fonts/conf.d/
+ ln -s ../../../../opt/etc/fonts/conf.avail/99-slp.conf %{buildroot}%{_prefix}/etc/fonts/conf.d/99-slp.conf
+ %post
+-chown :5000 /opt/etc/fonts/conf.avail/99-slp.conf
+-chmod 664 /opt/etc/fonts/conf.avail/99-slp.conf
++chown :5000 ${D}/opt/etc/fonts/conf.avail/99-slp.conf
++chmod 664 ${D}/opt/etc/fonts/conf.avail/99-slp.conf
+ %files
+ %manifest default-fonts-fc-sdk.manifest
index f730b6d..cbe3b15 100644 (file)
@@ -1,8 +1,8 @@
 diff --git a/packaging/dlog.spec b/packaging/dlog.spec
-index 0f9a51c..5bc25ae 100644
+index 0f9a51c..a1400bf 100644
 --- a/packaging/dlog.spec
 +++ b/packaging/dlog.spec
-@@ -52,20 +52,20 @@ make %{?jobs:-j%jobs}
+@@ -52,24 +52,24 @@ make %{?jobs:-j%jobs}
  rm -rf %{buildroot}
  %make_install
  mkdir -p %{buildroot}/opt/etc/
@@ -15,19 +15,25 @@ index 0f9a51c..5bc25ae 100644
 -rm -f /etc/rc.d/rc3.d/S47dlog /etc/rc.d/rc5.d/S05dlog
 -ln -s /etc/rc.d/init.d/dlog.sh /etc/rc.d/rc3.d/S47dlog
 -ln -s /etc/rc.d/init.d/dlog.sh /etc/rc.d/rc5.d/S05dlog
-+mkdir -p $D/etc/rc.d/rc5.d
-+rm -f $D/etc/rc.d/rc3.d/S47dlog $D/etc/rc.d/rc5.d/S05dlog
-+ln -s /etc/rc.d/init.d/dlog.sh $D/etc/rc.d/rc3.d/S47dlog
-+ln -s /etc/rc.d/init.d/dlog.sh $D/etc/rc.d/rc5.d/S05dlog
++mkdir -p ${D}/etc/rc.d/rc5.d
++rm -f ${D}/etc/rc.d/rc3.d/S47dlog ${D}/etc/rc.d/rc5.d/S05dlog
++ln -s /etc/rc.d/init.d/dlog.sh ${D}/etc/rc.d/rc3.d/S47dlog
++ln -s /etc/rc.d/init.d/dlog.sh ${D}/etc/rc.d/rc5.d/S05dlog
  
  
  %post -n libdlog
 -chmod +x /opt/etc/.debuglevel
 -rm -f /etc/profile.d/dlevel.sh
 -ln -s /opt/etc/.debuglevel /etc/profile.d/dlevel.sh
-+chmod +x $D/opt/etc/.debuglevel
-+rm -f $D/etc/profile.d/dlevel.sh
-+ln -s /opt/etc/.debuglevel $D/etc/profile.d/dlevel.sh
- /sbin/ldconfig
+-/sbin/ldconfig
++chmod +x ${D}/opt/etc/.debuglevel
++rm -f ${D}/etc/profile.d/dlevel.sh
++ln -s /opt/etc/.debuglevel ${D}/etc/profile.d/dlevel.sh
++ldconfig -r ${D}
  
  %postun -n libdlog
+-/sbin/ldconfig
++ldconfig -r ${D}
+ %files  -n dlogutil
+ %manifest dlogutil.manifest
index e69de29..6848b42 100644 (file)
@@ -0,0 +1,8 @@
+SRC_URI += "file://libtcore.spec.patch "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/libtcore.spec.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
diff --git a/meta-tizen-ivi/recipes-tizen/libtcore/libtcore/libtcore.spec.patch b/meta-tizen-ivi/recipes-tizen/libtcore/libtcore/libtcore.spec.patch
new file mode 100644 (file)
index 0000000..6d4a775
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/packaging/libtcore.spec b/packaging/libtcore.spec
+index 00af71e..2edce2f 100644
+--- a/packaging/libtcore.spec
++++ b/packaging/libtcore.spec
+@@ -59,7 +59,7 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DVERSION=%{version}
+ make %{?jobs:-j%jobs}
+ %post
+-/sbin/ldconfig
++ldconfig -r ${D}
+ %postun -p /sbin/ldconfig
index 0019079..4706702 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/packaging/module-init-tools.spec b/packaging/module-init-tools.spec
-index 4595ba3..4b83dbb 100644
+index 4595ba3..1ab5a18 100644
 --- a/packaging/module-init-tools.spec
 +++ b/packaging/module-init-tools.spec
 @@ -1,7 +1,7 @@
@@ -11,3 +11,23 @@ index 4595ba3..4b83dbb 100644
  Release:        2
  License:        GPLv2+
  Summary:        Kernel module management utilities
+@@ -62,8 +62,8 @@ rm -rf %{buildroot}
+ %post
+ create_etc_modules() {
+-    if [ ! -e /etc/modules ]; then
+-        cat <<EOT > /etc/modules
++    if [ ! -e ${D}/etc/modules ]; then
++        cat <<EOT > ${D}/etc/modules
+ # /etc/modules: kernel modules to load at boot time.
+ #   
+ # This file contains the names of kernel modules that should be loaded
+@@ -71,7 +71,7 @@ create_etc_modules() {
+ # Parameters can be specified after the module name.
+       
+ EOT
+-        chmod 644 /etc/modules
++        chmod 644 ${D}/etc/modules
+     fi
+ }
+ create_etc_modules
index 097ae6d..b970d69 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/packaging/pciutils.spec b/packaging/pciutils.spec
-index c153f2f..9bcd0bd 100644
+index c153f2f..6752935 100644
 --- a/packaging/pciutils.spec
 +++ b/packaging/pciutils.spec
 @@ -42,7 +42,10 @@ rm -rf $RPM_BUILD_ROOT
@@ -14,13 +14,15 @@ index c153f2f..9bcd0bd 100644
  
  # libpci-devel
  mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci
-@@ -61,21 +64,21 @@ ln -s libpci.so.3.0.0 $RPM_BUILD_ROOT%{_libdir}/libpci.so.3
+@@ -60,22 +63,22 @@ ln -s libpci.so.3.0.0 $RPM_BUILD_ROOT%{_libdir}/libpci.so.3
+ %remove_docs
  
  %post 
- /sbin/ldconfig
+-/sbin/ldconfig
 -rm -f %{_datadir}/misc/pci.ids.new
 -rm -f %{_datadir}/misc/pci.ids.neww
 -rm -f %{_datadir}/misc/pci.ids.old
++ldconfig -r ${D}
 +rm -f ${D}%{_datadir}/misc/pci.ids.new
 +rm -f ${D}%{_datadir}/misc/pci.ids.neww
 +rm -f ${D}%{_datadir}/misc/pci.ids.old
@@ -35,10 +37,11 @@ index c153f2f..9bcd0bd 100644
  
  
  %postun 
- /sbin/ldconfig
+-/sbin/ldconfig
 -rm -f %{_datadir}/misc/pci.ids.new
 -rm -f %{_datadir}/misc/pci.ids.neww
 -rm -f %{_datadir}/misc/pci.ids.old
++ldconfig -r ${D}
 +rm -f ${D}%{_datadir}/misc/pci.ids.new
 +rm -f ${D}%{_datadir}/misc/pci.ids.neww
 +rm -f ${D}%{_datadir}/misc/pci.ids.old
index e69de29..673ed4e 100644 (file)
@@ -0,0 +1,8 @@
+SRC_URI += "file://svi-data-sdk.spec.patch"
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/svi-data-sdk.spec.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
diff --git a/meta-tizen-ivi/recipes-tizen/svi-data-sdk/svi-data-sdk/svi-data-sdk.spec.patch b/meta-tizen-ivi/recipes-tizen/svi-data-sdk/svi-data-sdk/svi-data-sdk.spec.patch
new file mode 100644 (file)
index 0000000..283f2f3
--- /dev/null
@@ -0,0 +1,82 @@
+diff --git a/packaging/svi-data-sdk.spec b/packaging/svi-data-sdk.spec
+index 4bf5620..9ac2d38 100644
+--- a/packaging/svi-data-sdk.spec
++++ b/packaging/svi-data-sdk.spec
+@@ -25,43 +25,43 @@ rm -rf %{buildroot}
+ %make_install
+ %post
+-mkdir -p /opt/share/svi/sound/touch
+-ln -s %{_datadir}/svi/sound/touch/key0.wav            /opt/share/svi/sound/touch/key0.wav
+-ln -s %{_datadir}/svi/sound/touch/key1.wav            /opt/share/svi/sound/touch/key1.wav
+-ln -s %{_datadir}/svi/sound/touch/key2.wav            /opt/share/svi/sound/touch/key2.wav
+-ln -s %{_datadir}/svi/sound/touch/key3.wav            /opt/share/svi/sound/touch/key3.wav
+-ln -s %{_datadir}/svi/sound/touch/key4.wav            /opt/share/svi/sound/touch/key4.wav
+-ln -s %{_datadir}/svi/sound/touch/key5.wav            /opt/share/svi/sound/touch/key5.wav
+-ln -s %{_datadir}/svi/sound/touch/key6.wav            /opt/share/svi/sound/touch/key6.wav
+-ln -s %{_datadir}/svi/sound/touch/key7.wav            /opt/share/svi/sound/touch/key7.wav
+-ln -s %{_datadir}/svi/sound/touch/key8.wav            /opt/share/svi/sound/touch/key8.wav
+-ln -s %{_datadir}/svi/sound/touch/key9.wav            /opt/share/svi/sound/touch/key9.wav
+-ln -s %{_datadir}/svi/sound/touch/keyasterisk.wav     /opt/share/svi/sound/touch/keyasterisk.wav
+-ln -s %{_datadir}/svi/sound/touch/keysharp.wav        /opt/share/svi/sound/touch/keysharp.wav
+-ln -s %{_datadir}/svi/sound/touch/sip.wav             /opt/share/svi/sound/touch/sip.wav
+-ln -s %{_datadir}/svi/sound/touch/sip_backspace.wav   /opt/share/svi/sound/touch/sip_backspace.wav
+-ln -s %{_datadir}/svi/sound/touch/touch.wav           /opt/share/svi/sound/touch/touch.wav
++mkdir -p ${D}/opt/share/svi/sound/touch
++ln -s %{_datadir}/svi/sound/touch/key0.wav            ${D}/opt/share/svi/sound/touch/key0.wav
++ln -s %{_datadir}/svi/sound/touch/key1.wav            ${D}/opt/share/svi/sound/touch/key1.wav
++ln -s %{_datadir}/svi/sound/touch/key2.wav            ${D}/opt/share/svi/sound/touch/key2.wav
++ln -s %{_datadir}/svi/sound/touch/key3.wav            ${D}/opt/share/svi/sound/touch/key3.wav
++ln -s %{_datadir}/svi/sound/touch/key4.wav            ${D}/opt/share/svi/sound/touch/key4.wav
++ln -s %{_datadir}/svi/sound/touch/key5.wav            ${D}/opt/share/svi/sound/touch/key5.wav
++ln -s %{_datadir}/svi/sound/touch/key6.wav            ${D}/opt/share/svi/sound/touch/key6.wav
++ln -s %{_datadir}/svi/sound/touch/key7.wav            ${D}/opt/share/svi/sound/touch/key7.wav
++ln -s %{_datadir}/svi/sound/touch/key8.wav            ${D}/opt/share/svi/sound/touch/key8.wav
++ln -s %{_datadir}/svi/sound/touch/key9.wav            ${D}/opt/share/svi/sound/touch/key9.wav
++ln -s %{_datadir}/svi/sound/touch/keyasterisk.wav     ${D}/opt/share/svi/sound/touch/keyasterisk.wav
++ln -s %{_datadir}/svi/sound/touch/keysharp.wav        ${D}/opt/share/svi/sound/touch/keysharp.wav
++ln -s %{_datadir}/svi/sound/touch/sip.wav             ${D}/opt/share/svi/sound/touch/sip.wav
++ln -s %{_datadir}/svi/sound/touch/sip_backspace.wav   ${D}/opt/share/svi/sound/touch/sip_backspace.wav
++ln -s %{_datadir}/svi/sound/touch/touch.wav           ${D}/opt/share/svi/sound/touch/touch.wav
+-mkdir -p /opt/share/svi/sound/operation
+-ln -s %{_datadir}/svi/sound/operation/call_connect.wav         /opt/share/svi/sound/operation/call_connect.wav
+-ln -s %{_datadir}/svi/sound/operation/call_disconnect.wav      /opt/share/svi/sound/operation/call_disconnect.wav
+-ln -s %{_datadir}/svi/sound/operation/charger_connection.wav   /opt/share/svi/sound/operation/charger_connection.wav
+-ln -s %{_datadir}/svi/sound/operation/fully_charged.wav        /opt/share/svi/sound/operation/fully_charged.wav
+-ln -s %{_datadir}/svi/sound/operation/list_reorder.wav         /opt/share/svi/sound/operation/list_reorder.wav
+-ln -s %{_datadir}/svi/sound/operation/lock.wav                 /opt/share/svi/sound/operation/lock.wav
+-ln -s %{_datadir}/svi/sound/operation/low_battery.wav          /opt/share/svi/sound/operation/low_battery.wav
+-ln -s %{_datadir}/svi/sound/operation/minute_minder.wav        /opt/share/svi/sound/operation/minute_minder.wav
+-ln -s %{_datadir}/svi/sound/operation/power_on.wav             /opt/share/svi/sound/operation/power_on.wav
+-ln -s %{_datadir}/svi/sound/operation/shutter.wav              /opt/share/svi/sound/operation/shutter.wav
+-ln -s %{_datadir}/svi/sound/operation/slider_sweep.wav         /opt/share/svi/sound/operation/slider_sweep.wav
+-ln -s %{_datadir}/svi/sound/operation/unlock.wav               /opt/share/svi/sound/operation/unlock.wav
+-ln -s %{_datadir}/svi/sound/operation/volume_control.wav       /opt/share/svi/sound/operation/volume_control.wav
++mkdir -p ${D}/opt/share/svi/sound/operation
++ln -s %{_datadir}/svi/sound/operation/call_connect.wav         ${D}/opt/share/svi/sound/operation/call_connect.wav
++ln -s %{_datadir}/svi/sound/operation/call_disconnect.wav      ${D}/opt/share/svi/sound/operation/call_disconnect.wav
++ln -s %{_datadir}/svi/sound/operation/charger_connection.wav   ${D}/opt/share/svi/sound/operation/charger_connection.wav
++ln -s %{_datadir}/svi/sound/operation/fully_charged.wav        ${D}/opt/share/svi/sound/operation/fully_charged.wav
++ln -s %{_datadir}/svi/sound/operation/list_reorder.wav         ${D}/opt/share/svi/sound/operation/list_reorder.wav
++ln -s %{_datadir}/svi/sound/operation/lock.wav                 ${D}/opt/share/svi/sound/operation/lock.wav
++ln -s %{_datadir}/svi/sound/operation/low_battery.wav          ${D}/opt/share/svi/sound/operation/low_battery.wav
++ln -s %{_datadir}/svi/sound/operation/minute_minder.wav        ${D}/opt/share/svi/sound/operation/minute_minder.wav
++ln -s %{_datadir}/svi/sound/operation/power_on.wav             ${D}/opt/share/svi/sound/operation/power_on.wav
++ln -s %{_datadir}/svi/sound/operation/shutter.wav              ${D}/opt/share/svi/sound/operation/shutter.wav
++ln -s %{_datadir}/svi/sound/operation/slider_sweep.wav         ${D}/opt/share/svi/sound/operation/slider_sweep.wav
++ln -s %{_datadir}/svi/sound/operation/unlock.wav               ${D}/opt/share/svi/sound/operation/unlock.wav
++ln -s %{_datadir}/svi/sound/operation/volume_control.wav       ${D}/opt/share/svi/sound/operation/volume_control.wav
+-mkdir -p /opt/share/svi/haptic/default
+-ln -s %{_datadir}/svi/haptic/default/Basic_call.tht                   /opt/share/svi/haptic/default/Basic_call.tht
++mkdir -p ${D}/opt/share/svi/haptic/default
++ln -s %{_datadir}/svi/haptic/default/Basic_call.tht                   ${D}/opt/share/svi/haptic/default/Basic_call.tht
+-mkdir -p /opt/share/svi/haptic/touch
+-ln -s %{_datadir}/svi/haptic/touch/touch.tht                                  /opt/share/svi/haptic/touch/touch.tht
++mkdir -p ${D}/opt/share/svi/haptic/touch
++ln -s %{_datadir}/svi/haptic/touch/touch.tht                                  ${D}/opt/share/svi/haptic/touch/touch.tht
+ %files
+ %manifest svi-data-sdk.manifest
index e69de29..fe04470 100644 (file)
@@ -0,0 +1,8 @@
+SRC_URI += "file://sys-assert.spec.patch"
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/sys-assert.spec.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
diff --git a/meta-tizen-ivi/recipes-tizen/sys-assert/sys-assert/sys-assert.spec.patch b/meta-tizen-ivi/recipes-tizen/sys-assert/sys-assert/sys-assert.spec.patch
new file mode 100644 (file)
index 0000000..8bdc303
--- /dev/null
@@ -0,0 +1,39 @@
+diff --git a/packaging/sys-assert.spec b/packaging/sys-assert.spec
+index 238c712..ce7d10d 100644
+--- a/packaging/sys-assert.spec
++++ b/packaging/sys-assert.spec
+@@ -32,22 +32,22 @@ rm -rf %{buildroot}
+ mkdir -p %{buildroot}/usr/share/license
+ cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+ %post
+-/sbin/ldconfig
+-mkdir -p /opt/share/crash/info
+-chown root:crash /opt/share/crash/info
+-chmod 775 /opt/share/crash/info
++ldconfig -r ${D}
++mkdir -p ${D}/opt/share/crash/info
++chown root:crash ${D}/opt/share/crash/info
++chmod 775 ${D}/opt/share/crash/info
+-chown root:crash /opt/share/crash
+-chmod 775 /opt/share/crash
++chown root:crash ${D}/opt/share/crash
++chmod 775 ${D}/opt/share/crash
+-if [ -f %{_libdir}/rpm-plugins/msm.so ]; then
+-      find /opt/share/crash -print0 | xargs -0 chsmack -a 'sys-assert::core'
+-      find /opt/share/crash -type d -print0 | xargs -0 chsmack -t
++if [ -f ${D}%{_libdir}/rpm-plugins/msm.so ]; then
++      find ${D}/opt/share/crash -print0 | xargs -0 chsmack -a 'sys-assert::core'
++      find ${D}/opt/share/crash -type d -print0 | xargs -0 chsmack -t
+ fi
+-if [ ! -d /.build ]; then
+-      echo "/usr/lib/libsys-assert.so" >> /etc/ld.so.preload
+-      chmod 644 /etc/ld.so.preload
++if [ ! -d ${D}/.build ]; then
++      echo "/usr/lib/libsys-assert.so" >> ${D}/etc/ld.so.preload
++      chmod 644 ${D}/etc/ld.so.preload
+ fi
+ %files
index e69de29..1a4b1cc 100644 (file)
@@ -0,0 +1,8 @@
+SRC_URI += "file://util-linux-ng.spec.patch "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+ cat ${WORKDIR}/util-linux-ng.spec.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
diff --git a/meta-tizen-ivi/recipes-tizen/util-linux-ng/util-linux-ng/util-linux-ng.spec.patch b/meta-tizen-ivi/recipes-tizen/util-linux-ng/util-linux-ng/util-linux-ng.spec.patch
new file mode 100644 (file)
index 0000000..6587c06
--- /dev/null
@@ -0,0 +1,36 @@
+diff --git a/packaging/util-linux-ng.spec b/packaging/util-linux-ng.spec
+index 9ee13b2..62663af 100644
+--- a/packaging/util-linux-ng.spec
++++ b/packaging/util-linux-ng.spec
+@@ -157,21 +157,23 @@ rm -f $RPM_BUILD_ROOT/usr/share/info/dir
+ %post
+ # only for minimal buildroots without /var/log
+-[ -d /var/log ] || /bin/mkdir -p /var/log
+-/bin/touch /var/log/lastlog
+-/bin/chown root:root /var/log/lastlog
+-/bin/chmod 0644 /var/log/lastlog
++[ -d ${D}/var/log ] || /bin/mkdir -p ${D}/var/log
++/bin/touch ${D}/var/log/lastlog
++/bin/chown root:root ${D}/var/log/lastlog
++/bin/chmod 0644 ${D}/var/log/lastlog
+ %post -n libblkid
+-/sbin/ldconfig
+-[ -e /etc/blkid.tab ] && mv /etc/blkid.tab /etc/blkid/blkid.tab || :
+-[ -e /etc/blkid.tab.old ] && mv /etc/blkid.tab.old /etc/blkid/blkid.tab.old || :
++ldconfig -r ${D}
++[ -e ${D}/etc/blkid.tab ] && mv ${D}/etc/blkid.tab ${D}/etc/blkid/blkid.tab || :
++[ -e ${D}/etc/blkid.tab.old ] && mv ${D}/etc/blkid.tab.old ${D}/etc/blkid/blkid.tab.old || :
+  
+ %postun -n libblkid -p /sbin/ldconfig
+-%post -n libuuid -p /sbin/ldconfig
++%post -n libuuid 
++ldconfig -r ${D}
++
+ %postun -n libuuid -p /sbin/ldconfig
+ %pre -n uuidd
index 70046cf..8a4fc2c 100644 (file)
@@ -1,15 +1,17 @@
 diff --git a/packaging/xdgmime.spec b/packaging/xdgmime.spec
-index 1b74dab..4862821 100644
+index 1b74dab..d6d85ea 100644
 --- a/packaging/xdgmime.spec
 +++ b/packaging/xdgmime.spec
-@@ -33,8 +33,8 @@ rm -rf %{buildroot}
+@@ -33,9 +33,9 @@ rm -rf %{buildroot}
  %make_install
  
  %post
 -chown root:root /usr/lib/libxdgmime.so.1.1.0
 -chmod 644 /usr/lib/libxdgmime.so.1.1.0
+-/sbin/ldconfig
 +chown root:root ${D}/usr/lib/libxdgmime.so.1.1.0
 +chmod 644 ${D}/usr/lib/libxdgmime.so.1.1.0
- /sbin/ldconfig
++ldconfig -r ${D}
  
  %postun -p /sbin/ldconfig