OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 3 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 # Script to build a Debian packages from a Fletch tarball. | 8 # Script to build a Debian packages from a Fletch tarball. |
9 # | 9 # |
10 # Right now this script only supports building the installation for a ARM Linux | 10 # Right now this script only supports building the installation for a ARM Linux |
11 # target running the Fletch agent | 11 # target running the Fletch agent |
12 # | 12 # |
13 # The script will build a source package and a ARM binary packages. | 13 # The script will build a source package and a ARM binary packages. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 if not tar_filename: | 120 if not tar_filename: |
121 tar_filename = join(FLETCH_DIR, | 121 tar_filename = join(FLETCH_DIR, |
122 utils.GetBuildDir(HOST_OS), | 122 utils.GetBuildDir(HOST_OS), |
123 'fletch-%s.tar.gz' % utils.GetVersion()) | 123 'fletch-%s.tar.gz' % utils.GetVersion()) |
124 | 124 |
125 BuildDebianPackage(tar_filename, out_dir, arch, options.toolchain) | 125 BuildDebianPackage(tar_filename, out_dir, arch, options.toolchain) |
126 | 126 |
127 if __name__ == '__main__': | 127 if __name__ == '__main__': |
128 sys.exit(Main()) | 128 sys.exit(Main()) |
OLD | NEW |