From 7021d7f78249c0aa844002e337e43a083d1019c6 Mon Sep 17 00:00:00 2001 From: Baptiste DURAND Date: Thu, 19 Sep 2013 14:39:13 +0200 Subject: [PATCH] [SYS-ASSERT] : tmp remove post LUA script (unsupported by rpmbuild) --- .../specfile-patch/sys-assert-yocto.spec.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 proto-meta-Tizen_ivi_3.0/specfile-patch/sys-assert-yocto.spec.patch diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/sys-assert-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/sys-assert-yocto.spec.patch new file mode 100644 index 0000000..da2abee --- /dev/null +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/sys-assert-yocto.spec.patch @@ -0,0 +1,22 @@ +diff --git a/packaging/sys-assert.spec b/packaging/sys-assert.spec +index e976084..2d2c350 100644 +--- a/packaging/sys-assert.spec ++++ b/packaging/sys-assert.spec +@@ -29,17 +29,6 @@ make %{?_smp_mflags} + %make_install + mkdir -p %{buildroot}/opt/share/crash/info + +-%post -p +---Do not run this script inside the build environemt, it will cause issues. +-if posix.stat("/.build") == nil then +- if arg[2] == 1 then +- local f = assert(io.open("%{_sysconfdir}/ld.so.preload", "a")) +- local t = f:write("%{_libdir}/libsys-assert.so") +- f:close() +- posix.chmod("%{_sysconfdir}/ld.so.preload", 644) +- end +-end +- + + %postun + # TBD: we need to remove the above, otherwise we will fail on everything -- 2.7.4