mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
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:
parent
4f3c95b241
commit
2cfa925e59
@ -148,7 +148,7 @@ sudo rm -rf "$TMP_STATIC"
|
||||
# Fix issue where alsa-base (dependency of alsa-utils) is messing up our sound
|
||||
# drivers. The stock modprobe settings worked fine.
|
||||
# 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.
|
||||
sudo rm -rf "${ROOT_FS_DIR}/usr/share/fonts/X11"
|
||||
|
@ -93,7 +93,8 @@ apt-config -c="$APT_CONFIG" dump > "${ROOT_FS_DIR}/../apt.conf.dump"
|
||||
# Install prod packages
|
||||
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" --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,
|
||||
# install the kernel in /boot, and manage symlinks.
|
||||
|
Loading…
Reference in New Issue
Block a user