Commit graph

4 commits

Author SHA1 Message Date
William Hesse
1d8c09ed71 Update linux distribution support to Debian Jesse
This is needed to compile C++11 code, completing the changes required by
the BoringSSL roll.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2250383002 .
2016-08-17 12:37:42 +02:00
William Hesse
634e5a1d02 Refs #25328 Use a portable shebang
BSD systems don't place bash in /bin and a lot of the dart tools
hardcode a #!/bin/bash shebang that fails the 'all' target build
(not able to execute dart2js since the interpreter is not found).

Solve the issue by using #!/usr/bin/env as the shebang. For scripts
that need to pass arguments to bash modify the script to use the set
command as the first executed line of shell.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1552313002 .
2016-01-05 16:26:28 +01:00
sgjesse@google.com
050a164b3c Update chroot creation script
* Java is no longer needed for building the SDK so don't install OpenJDK the chroot.

* Don't checkout the full repository if not checkout is specified

R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//577293003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40533 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 07:33:10 +00:00
sgjesse@google.com
843464d0ac Add script to create a Debian chroot environment
For building Debian wheezy compatable binary packages we need to set up a number
of Debian chroot environments. To avoid to many manual steps this script should
do the bulk of this work.

To create a chroot environment for building 64-bit stable:

$ tools/create_debian_chroot.sh amd64 stable /tmp/debian_amd64_stable

Then building the Debian image should be as easy as

$ sudo chroot /tmp/debian_amd_stable
$ cd /b/dart
$ tools/create_tarball.py
$ tools/build_debian_packages.py amd64

The build_debian_packages.py is still missing the architecture argument.

R=ricow@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//193723006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34162 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 10:54:55 +00:00