Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: src/scripts/build_image

Issue 2163004: Adds symlink for aterm in /usr/local for xterm. (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Update Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/init/windowmanager.conf ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_image
diff --git a/src/scripts/build_image b/src/scripts/build_image
index fbad19a4d39cfc1455b83fc10cd97d1c84b8f9d2..7bd52cf2d002618a5f7e63371142cef6fe85cd87 100755
--- a/src/scripts/build_image
+++ b/src/scripts/build_image
@@ -221,9 +221,16 @@ create_developer_image() {
# The ldd tool is a useful shell script but lives in glibc; just copy it.
sudo cp -a "$(which ldd)" "${root_dev_dir}/usr/bin"
+ # TODO: Temporarily create fake xterm symlink until we do proper xinitrc
+ local aterm="$root_fs_dir/usr/local/bin/aterm"
+ if [[ -f "${aterm}" ]]; then
+ sudo chmod 0755 "$aterm"
+ sudo ln -s aterm "${root_fs_dir}/usr/local/bin/xterm"
+ fi
+
# If vim is installed, then a vi symlink would probably help.
- if [[ -x "${ROOT_FS_DIR}/usr/local/bin/vim" ]]; then
- sudo ln -sf vim "${ROOT_FS_DIR}/usr/local/bin/vi"
+ if [[ -x "${root_fs_dir}/usr/local/bin/vim" ]]; then
+ sudo ln -sf vim "${root_fs_dir}/usr/local/bin/vi"
fi
# Check that the image has been correctly created. Only do it if not
« no previous file with comments | « src/platform/init/windowmanager.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698