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

Side by Side Diff: chrome/installer/linux/rpm/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/debian/build.sh ('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/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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 if [ "$CHROMIUM_BUILD" = "_google_chrome" ]; then 275 if [ "$CHROMIUM_BUILD" = "_google_chrome" ]; then
276 source "${BUILDDIR}/installer/common/google-chrome.info" 276 source "${BUILDDIR}/installer/common/google-chrome.info"
277 else 277 else
278 source "${BUILDDIR}/installer/common/chromium-browser.info" 278 source "${BUILDDIR}/installer/common/chromium-browser.info"
279 fi 279 fi
280 eval $(sed -e "s/^\([^=]\+\)=\(.*\)$/export \1='\2'/" \ 280 eval $(sed -e "s/^\([^=]\+\)=\(.*\)$/export \1='\2'/" \
281 "${BUILDDIR}/installer/theme/BRANDING") 281 "${BUILDDIR}/installer/theme/BRANDING")
282 282
283 REPOCONFIG="http://dl.google.com/linux/${PACKAGE#google-}/rpm/stable" 283 REPOCONFIG="http://dl.google.com/linux/${PACKAGE#google-}/rpm/stable"
284 SSLREPOCONFIG="https://dl.google.com/linux/${PACKAGE#google-}/rpm/stable"
284 verify_channel 285 verify_channel
285 export USR_BIN_SYMLINK_NAME="${PACKAGE}-${CHANNEL}" 286 export USR_BIN_SYMLINK_NAME="${PACKAGE}-${CHANNEL}"
286 287
287 # Make everything happen in the OUTPUTDIR. 288 # Make everything happen in the OUTPUTDIR.
288 cd "${OUTPUTDIR}" 289 cd "${OUTPUTDIR}"
289 290
290 case "$TARGETARCH" in 291 case "$TARGETARCH" in
291 ia32 ) 292 ia32 )
292 export ARCHITECTURE="i386" 293 export ARCHITECTURE="i386"
293 stage_install_rpm 294 stage_install_rpm
294 ;; 295 ;;
295 x64 ) 296 x64 )
296 export ARCHITECTURE="x86_64" 297 export ARCHITECTURE="x86_64"
297 stage_install_rpm 298 stage_install_rpm
298 ;; 299 ;;
299 * ) 300 * )
300 echo 301 echo
301 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'." 302 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'."
302 echo 303 echo
303 exit 1 304 exit 1
304 ;; 305 ;;
305 esac 306 esac
306 307
307 do_package 308 do_package
OLDNEW
« no previous file with comments | « chrome/installer/linux/debian/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698