Move preinst/postinst_bsdflags from bash to py
authorDavid James <davidjames@google.com>
Thu, 28 Apr 2011 21:22:15 +0000 (14:22 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 May 2011 19:37:16 +0000 (12:37 -0700)
commit9d8f999499bd0c6b11e016b99c32a997993275f3
tree236567b3218dd2e8e4adfb9348a1f13e433af176
parent329564d1ecaff96f894283200906c2c22a1ede7e
Move preinst/postinst_bsdflags from bash to py

Moving these commands from shell to Python helps avoid an unnecessary
call to misc-functions.sh for the postinst_bsdflags. This improves
performance.

BUG=none
TEST=Run emerge-x86-generic -eg --jobs=16 libchrome

Change-Id: I0c2af50b4d2f7644cabac84fde7fe4d682010c69

Review URL: http://codereview.chromium.org/6676107
bin/misc-functions.sh
pym/_emerge/EbuildPhase.py
pym/portage/package/ebuild/doebuild.py