mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Allow python to find gtk module. (originally nsanders CL)
BUG=4464 TEST=manually edit file so far Review URL: http://codereview.chromium.org/2850045
This commit is contained in:
parent
85d49fc1d9
commit
cfc0c64823
@ -420,6 +420,14 @@ update_dev_packages() {
|
|||||||
sudo ln -sf vim "${ROOT_FS_DIR}/usr/local/bin/vi"
|
sudo ln -sf vim "${ROOT_FS_DIR}/usr/local/bin/vi"
|
||||||
fi
|
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 "\
|
||||||
|
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
|
# 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
|
# building a factory install image, as the INSTALL_MASK for it will
|
||||||
# make test_image fail.
|
# make test_image fail.
|
||||||
|
Loading…
Reference in New Issue
Block a user