Add --no-install-recommends when we install most of our components.

Given this we need to explicitly install xterm and lsof, but
otherwise it is a net reduction of about 45 packages, which is nice.

Review URL: http://codereview.chromium.org/515009
This commit is contained in:
tedbo 2009-12-22 21:44:28 -08:00
parent 4f3c95b241
commit 2cfa925e59
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@ sudo rm -rf "$TMP_STATIC"
# Fix issue where alsa-base (dependency of alsa-utils) is messing up our sound # Fix issue where alsa-base (dependency of alsa-utils) is messing up our sound
# drivers. The stock modprobe settings worked fine. # drivers. The stock modprobe settings worked fine.
# TODO: Revisit when we have decided on how sound will work on chromeos. # TODO: Revisit when we have decided on how sound will work on chromeos.
sudo rm "${ROOT_FS_DIR}/etc/modprobe.d/alsa-base.conf" ! sudo rm "${ROOT_FS_DIR}/etc/modprobe.d/alsa-base.conf"
# Remove unneeded fonts. # Remove unneeded fonts.
sudo rm -rf "${ROOT_FS_DIR}/usr/share/fonts/X11" sudo rm -rf "${ROOT_FS_DIR}/usr/share/fonts/X11"

View File

@ -93,7 +93,8 @@ apt-config -c="$APT_CONFIG" dump > "${ROOT_FS_DIR}/../apt.conf.dump"
# Install prod packages # Install prod packages
COMPONENTS=`cat $FLAGS_package_list | grep -v ' *#' | grep -v '^ *$' | sed '/$/{N;s/\n/ /;}'` COMPONENTS=`cat $FLAGS_package_list | grep -v ' *#' | grep -v '^ *$' | sed '/$/{N;s/\n/ /;}'`
sudo apt-get -c="$APT_CONFIG" update sudo apt-get -c="$APT_CONFIG" update
sudo apt-get -c="$APT_CONFIG" --yes --force-yes install $COMPONENTS sudo apt-get -c="$APT_CONFIG" --yes --force-yes --no-install-recommends \
install $COMPONENTS
# Create kernel installation configuration to suppress warnings, # Create kernel installation configuration to suppress warnings,
# install the kernel in /boot, and manage symlinks. # install the kernel in /boot, and manage symlinks.