Index: build_image |
diff --git a/build_image b/build_image |
index 977e2ca885875a5b43c6b769cf5e0c778d31b126..23dcf5b477538ee3155d54e3e9e6c7bb0d386784 100755 |
--- a/build_image |
+++ b/build_image |
@@ -420,6 +420,14 @@ update_dev_packages() { |
sudo ln -sf vim "${ROOT_FS_DIR}/usr/local/bin/vi" |
fi |
+ # If pygtk is installed in stateful-dev, then install a path. |
+ if [[ -d \ |
+ "${ROOT_FS_DIR}/usr/local/lib/python2.6/site-packages/gtk-2.0" ]]; then |
+ sudo bash -c "\ |
Tom Wai-Hong Tam
2010/07/07 02:46:00
Why don't you just "sudo echo gtk-2.0 > ..."?
Tammo Spalink
2010/07/07 02:52:31
Does that work with the redirect -- I can never re
Tom Wai-Hong Tam
2010/07/07 03:14:45
You are right. Not work with redirect. Keep the or
|
+ echo gtk-2.0 > \ |
+ ${ROOT_FS_DIR}/usr/local/lib/python2.6/site-packages/pygtk.pth" |
+ fi |
+ |
# Check that the image has been correctly created. Only do it if not |
# building a factory install image, as the INSTALL_MASK for it will |
# make test_image fail. |