build: Add gnupg and x11-utils to prod package list.

apt-get can't verify signatures without GPG, which
leads to devserver scripts breaking.  xwininfo and
xprop are useful for debugging X issues.

Review URL: http://codereview.chromium.org/542079
This commit is contained in:
Daniel Erat 2010-01-15 10:09:11 -08:00
parent 4ff32f64b9
commit af9c8deafe
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ sudo cp /etc/hosts "${ROOT_FS_DIR}/etc"
trap cleanup_rootfs_mounts EXIT
# Install prod packages
COMPONENTS=`cat $FLAGS_package_list | grep -v ' *#' | grep -v '^ *$' | sed '/$/{N;s/\n/ /;}'`
COMPONENTS=`cat $FLAGS_package_list | sed -e 's/#.*//' | grep -v '^ *$' | sed '/$/{N;s/\n/ /;}'`
sudo APT_CONFIG="$APT_CONFIG" DEBIAN_FRONTEND=noninteractive \
apt-get --force-yes install $COMPONENTS

View File

@ -45,7 +45,7 @@ eval set -- "${FLAGS_ARGV}"
# TODO: replace shflags with something less error-prone, or contribute a fix.
set -e
COMPONENTS=`cat $FLAGS_pkglist | grep -v ' *#' | grep -v '^ *$' | tr '\n' ' '`
COMPONENTS=`cat $FLAGS_pkglist | sed -e 's/#.*//' | grep -v '^ *$' | tr '\n' ' '`
FULLNAME="Chrome OS dev user"
DEFGROUPS="eng,admin,adm,dialout,cdrom,floppy,audio,dip,video"
PASSWORD=chronos