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

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

Issue 1068323002: Add support for SSL-based DEB repo. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: add missing replacement Created 5 years, 8 months 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 | « chrome/installer/linux/common/variables.include ('k') | chrome/installer/linux/rpm/build.sh » ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 if [ "$CHROMIUM_BUILD" = "_google_chrome" ]; then 227 if [ "$CHROMIUM_BUILD" = "_google_chrome" ]; then
228 source "${BUILDDIR}/installer/common/google-chrome.info" 228 source "${BUILDDIR}/installer/common/google-chrome.info"
229 else 229 else
230 source "${BUILDDIR}/installer/common/chromium-browser.info" 230 source "${BUILDDIR}/installer/common/chromium-browser.info"
231 fi 231 fi
232 eval $(sed -e "s/^\([^=]\+\)=\(.*\)$/export \1='\2'/" \ 232 eval $(sed -e "s/^\([^=]\+\)=\(.*\)$/export \1='\2'/" \
233 "${BUILDDIR}/installer/theme/BRANDING") 233 "${BUILDDIR}/installer/theme/BRANDING")
234 234
235 REPOCONFIG="deb http://dl.google.com/linux/chrome/deb/ stable main" 235 REPOCONFIG="deb http://dl.google.com/linux/chrome/deb/ stable main"
236 SSLREPOCONFIG="deb https://dl.google.com/linux/chrome/deb/ stable main"
236 verify_channel 237 verify_channel
237 238
238 # Some Debian packaging tools want these set. 239 # Some Debian packaging tools want these set.
239 export DEBFULLNAME="${MAINTNAME}" 240 export DEBFULLNAME="${MAINTNAME}"
240 export DEBEMAIL="${MAINTMAIL}" 241 export DEBEMAIL="${MAINTMAIL}"
241 242
242 # We'd like to eliminate more of these deps by relying on the 'lsb' package, but 243 # We'd like to eliminate more of these deps by relying on the 'lsb' package, but
243 # that brings in tons of unnecessary stuff, like an mta and rpm. Until that full 244 # that brings in tons of unnecessary stuff, like an mta and rpm. Until that full
244 # 'lsb' package is installed by default on DEB distros, we'll have to stick with 245 # 'lsb' package is installed by default on DEB distros, we'll have to stick with
245 # the LSB sub-packages, to avoid pulling in all that stuff that's not installed 246 # the LSB sub-packages, to avoid pulling in all that stuff that's not installed
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 ;; 318 ;;
318 * ) 319 * )
319 echo 320 echo
320 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'." 321 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'."
321 echo 322 echo
322 exit 1 323 exit 1
323 ;; 324 ;;
324 esac 325 esac
325 326
326 do_package 327 do_package
OLDNEW
« no previous file with comments | « chrome/installer/linux/common/variables.include ('k') | chrome/installer/linux/rpm/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698