diff options
author | Mike Auty <ikelos@gentoo.org> | 2006-12-09 14:21:44 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2006-12-09 14:21:44 +0000 |
commit | c24d8df3b4d75ce103e5fdd394992021d31e8bf9 (patch) | |
tree | 4cb52ffeffd77cce2e48753a7382b81aba673af6 /eclass | |
parent | Fix minor regression. (diff) | |
download | vmware-c24d8df3b4d75ce103e5fdd394992021d31e8bf9.tar.gz vmware-c24d8df3b4d75ce103e5fdd394992021d31e8bf9.tar.bz2 vmware-c24d8df3b4d75ce103e5fdd394992021d31e8bf9.zip |
Proposed fix for pax issues with vmware-server/workstation/player.
svn path=/trunk/; revision=142
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vmware.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/vmware.eclass b/eclass/vmware.eclass index a4dceb9..7048f57 100644 --- a/eclass/vmware.eclass +++ b/eclass/vmware.eclass @@ -7,7 +7,7 @@ # Only one package per "product" is allowed to be installed at any given time. -inherit eutils +inherit pax-utils eutils EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_setup src_install src_unpack pkg_postrm @@ -141,6 +141,11 @@ vmware_src_unpack() { fi fi + # Remove PAX MPROTECT flag from all applicable files in /bin, /sbin for + # the vmware package only (since modules, tools and console should not + # need to generate code on the fly in memory). + [[ "${product}" == "vmware" ]] && pax-mark -m $(list-paxables ${S}/{bin,sbin}/{vmware-serverd,vmware-vmx}) + # Run through any patches that might need to be applied cd "${S}" if [[ -d "${FILESDIR}/${PV}" ]] |