diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 21:35:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 21:35:22 +0000 |
commit | dc607cfb60bf614a52f1ae29acd013befef83191 (patch) | |
tree | 27ac4bdc64775aacb0f1a7af2edbace6ee257d21 | |
parent | f8eb8a381767f7b7c64c7f190890d874538b7272 (diff) | |
download | openembedded-core-dc607cfb60bf614a52f1ae29acd013befef83191.tar.gz openembedded-core-dc607cfb60bf614a52f1ae29acd013befef83191.tar.bz2 openembedded-core-dc607cfb60bf614a52f1ae29acd013befef83191.tar.xz openembedded-core-dc607cfb60bf614a52f1ae29acd013befef83191.zip |
qemugl: This package is usually installed as an alternative so no need to use the package postinstall. Remove staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/mesa/qemugl_git.bb | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb index 138f59d1c..b69103c7a 100644 --- a/meta/packages/mesa/qemugl_git.bb +++ b/meta/packages/mesa/qemugl_git.bb @@ -16,21 +16,12 @@ PR = "r5" DEFAULT_PREFERENCE = "-1" +NATIVE_INSTALL_WORKS = "1" do_install () { install -d ${D}${libdir}/ - install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2 -} - -do_stage () { - install -d ${STAGING_LIBDIR}/ - install -m 0755 ${S}/libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1.2 - ln -s libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1 - ln -s libGL.so.1 ${STAGING_LIBDIR}/libGL.so -} - -pkg_postinst_${PN} () { - rm -f $D${libdir}/libGL.so.1.2 - ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2 + install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2 + ln -s libGL.so.1.2 ${D}${libdir}/libGL.so.1 + ln -s libGL.so.1 ${D}${libdir}/libGL.so } BBCLASSEXTEND = "nativesdk" |