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

Side by Side Diff: chrome/installer/linux/debian/build.sh

Issue 779413002: Linux: Switch the .deb package from lzma to xz compression. Set max compression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change another lzma reference Created 6 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 | « no previous file | chrome/installer/linux/debian/control.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium 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 # TODO(mmoss) This currently only works with official builds, since non-official 7 # TODO(mmoss) This currently only works with official builds, since non-official
8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging. 8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging.
9 9
10 set -e 10 set -e
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 DEPENDS="${COMMON_DEPS}" 103 DEPENDS="${COMMON_DEPS}"
104 REPLACES="" 104 REPLACES=""
105 CONFLICTS="" 105 CONFLICTS=""
106 PROVIDES="www-browser" 106 PROVIDES="www-browser"
107 gen_changelog 107 gen_changelog
108 process_template "${SCRIPTDIR}/control.template" "${DEB_CONTROL}" 108 process_template "${SCRIPTDIR}/control.template" "${DEB_CONTROL}"
109 export DEB_HOST_ARCH="${ARCHITECTURE}" 109 export DEB_HOST_ARCH="${ARCHITECTURE}"
110 if [ -f "${DEB_CONTROL}" ]; then 110 if [ -f "${DEB_CONTROL}" ]; then
111 gen_control 111 gen_control
112 fi 112 fi
113 fakeroot dpkg-deb -Zlzma -b "${STAGEDIR}" . 113 fakeroot dpkg-deb -Zxz -z9 -b "${STAGEDIR}" .
114 } 114 }
115 115
116 # Remove temporary files and unwanted packaging output. 116 # Remove temporary files and unwanted packaging output.
117 cleanup() { 117 cleanup() {
118 echo "Cleaning..." 118 echo "Cleaning..."
119 rm -rf "${STAGEDIR}" 119 rm -rf "${STAGEDIR}"
120 rm -rf "${TMPFILEDIR}" 120 rm -rf "${TMPFILEDIR}"
121 } 121 }
122 122
123 usage() { 123 usage() {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 ;; 317 ;;
318 * ) 318 * )
319 echo 319 echo
320 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'." 320 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'."
321 echo 321 echo
322 exit 1 322 exit 1
323 ;; 323 ;;
324 esac 324 esac
325 325
326 do_package 326 do_package
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/linux/debian/control.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698