Don't install Recommended packages, only required ones.

But, we still explictly require bootchart-java, to create the pretty picture.

Without explicitly adding bootchart-java, it removes these packages:

  bootchart-java
  ca-certificates-java
  default-jre-headless
  gcj-4.4-base
  gcj-4.4-jre
  gcj-4.4-jre-headless
  gcj-4.4-jre-lib
  gcj-jre
  gcj-jre-headless
  icedtea-6-jre-cacao
  java-common
  libcommons-cli-java
  libcommons-compress-java
  libcommons-lang-java
  libgcj-common
  libgcj10
  libgcj10-awt
  libjline-java
  liblcms1
  openjdk-6-jre-headless
  openjdk-6-jre-lib
  python-central
  rhino
  tzdata-java

By explicitly adding bootchart-java it removes only these packages:

  gcj-4.4-jre-lib
  icedtea-6-jre-cacao

Either way, bootchart still collects the data so it is possible to generate
the pictures remotely.

Review URL: http://chromereview.prom.corp.google.com/1188035


git-svn-id: svn://chrome-svn/chromeos/trunk@225 06c00378-0e64-4dae-be16-12b19f9950a1
This commit is contained in:
wfrichar@google.com 2009-11-13 02:18:53 +00:00
parent 4c249eb20f
commit 8f72cbd775

View File

@ -87,7 +87,8 @@ apt-get --yes --force-yes install $COMPONENTS
if [ "$SUITE" = "jaunty" ]
then
# Additional driver modules needed for chromeos-wifi on jaunty.
apt-get --yes --force-yes install linux-backports-modules-jaunty
apt-get --yes --force-yes --no-install-recommends \
install linux-backports-modules-jaunty
fi
# Create kernel installation configuration to suppress warnings,
@ -104,7 +105,8 @@ warn_initrd = no
EOF
# NB: KERNEL_VERSION comes from customize_opts.sh
apt-get --yes --force-yes install "linux-image-${KERNEL_VERSION}"
apt-get --yes --force-yes --no-install-recommends \
install "linux-image-${KERNEL_VERSION}"
# Create custom initramfs
# TODO: Remove when we switch to dhendrix kernel for good.
@ -161,7 +163,9 @@ SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{type}=="1", KERNEL=="wlan*"
EOF
# Setup bootchart. Due to dependencies, this adds about 180MB!
apt-get --yes --force-yes install bootchart
apt-get --yes --force-yes --no-install-recommends install bootchart
# TODO: Replace this with pybootchartgui, or remove it entirely.
apt-get --yes --force-yes --no-install-recommends install bootchart-java
# Install additional packages from a second mirror, if necessary. This must
# be done after all packages from the first repository are installed; after
@ -174,7 +178,8 @@ then
echo "deb $SERVER2 $SUITE2 main restricted multiverse universe" \
>> /etc/apt/sources.list
apt-get update
apt-get --yes --force-yes install $COMPONENTS2
apt-get --yes --force-yes --no-install-recommends \
install $COMPONENTS2
fi
# List all packages installed so far, since these are what the local