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

Side by Side Diff: src/scripts/install_packages.sh

Issue 509010: Remove pybootchartgui since it messes up our repo. (Closed)
Patch Set: Created 11 years 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 unified diff | Download patch
« no previous file with comments | « src/package_repo/repo_list_image.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Sets up the chromium-based os from inside a chroot of the root fs. 7 # Sets up the chromium-based os from inside a chroot of the root fs.
8 # NOTE: This script should be called by build_image.sh. Do not run this 8 # NOTE: This script should be called by build_image.sh. Do not run this
9 # on your own unless you know what you are doing. 9 # on your own unless you know what you are doing.
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 EOF 43 EOF
44 44
45 # NB: KERNEL_VERSION comes from customize_opts.sh 45 # NB: KERNEL_VERSION comes from customize_opts.sh
46 apt-get --yes --force-yes --no-install-recommends \ 46 apt-get --yes --force-yes --no-install-recommends \
47 install "linux-image-${KERNEL_VERSION}" 47 install "linux-image-${KERNEL_VERSION}"
48 48
49 # Setup bootchart. 49 # Setup bootchart.
50 # TODO: Move this and other developer oriented "components" into an optional 50 # TODO: Move this and other developer oriented "components" into an optional
51 # package-list-prod-dev.txt (ideally with a better name). 51 # package-list-prod-dev.txt (ideally with a better name).
52 apt-get --yes --force-yes --no-install-recommends install bootchart 52 apt-get --yes --force-yes --no-install-recommends install bootchart
53 apt-get --yes --force-yes --no-install-recommends install pybootchartgui
54 53
55 # Install additional packages from a second mirror, if necessary. This must 54 # Install additional packages from a second mirror, if necessary. This must
56 # be done after all packages from the first repository are installed; after 55 # be done after all packages from the first repository are installed; after
57 # the apt-get update, apt-get and debootstrap will prefer the newest package 56 # the apt-get update, apt-get and debootstrap will prefer the newest package
58 # versions (which are probably on this second mirror). 57 # versions (which are probably on this second mirror).
59 if [ -f "$PACKAGE_LIST_FILE2" ] 58 if [ -f "$PACKAGE_LIST_FILE2" ]
60 then 59 then
61 COMPONENTS2=`cat $PACKAGE_LIST_FILE2 | grep -v ' *#' | grep -v '^ *$' | sed '/ $/{N;s/\n/ /;}'` 60 COMPONENTS2=`cat $PACKAGE_LIST_FILE2 | grep -v ' *#' | grep -v '^ *$' | sed '/ $/{N;s/\n/ /;}'`
62 61
63 echo "deb $SERVER2 $SUITE2 main restricted multiverse universe" \ 62 echo "deb $SERVER2 $SUITE2 main restricted multiverse universe" \
(...skipping 10 matching lines...) Expand all
74 # $SETUP_DIR (which is under /tmp). 73 # $SETUP_DIR (which is under /tmp).
75 sudo sh -c "/trunk/src/scripts/list_installed_packages.sh \ 74 sudo sh -c "/trunk/src/scripts/list_installed_packages.sh \
76 > /etc/package_list_installed.txt" 75 > /etc/package_list_installed.txt"
77 76
78 # Clean up other useless stuff created as part of the install process. 77 # Clean up other useless stuff created as part of the install process.
79 rm -f /var/cache/apt/archives/*.deb 78 rm -f /var/cache/apt/archives/*.deb
80 79
81 # List all packages still installed post-pruning 80 # List all packages still installed post-pruning
82 sudo sh -c "/trunk/src/scripts/list_installed_packages.sh \ 81 sudo sh -c "/trunk/src/scripts/list_installed_packages.sh \
83 > /etc/package_list_pruned.txt" 82 > /etc/package_list_pruned.txt"
OLDNEW
« no previous file with comments | « src/package_repo/repo_list_image.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698