Skip to content

Commit 0bcf793

Browse files
committed
bootstrap-tarballs: comment explaining what it does
Added a comment to the top of the file explaining what the script does and how you can run it. Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 83a0329 commit 0bcf793

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

build-scripts/bootstrap-tarballs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
#!/bin/bash
22

3+
# This script is supposed generate tarballs from the core & masterfiles
4+
# repositories. We also use these tarballs later in the build process to make
5+
# sure that they actually work.
6+
#
7+
# Currently this script also fetches pull request info and installs PHP and
8+
# javascript dependencies. This core really does not belong here. Created a
9+
# ticket move it (see ENT-13064).
10+
#
11+
# You will first need to run the autogen script. E.g.:
12+
# PROJECT=community ./buildscripts/build-scripts/autogen
13+
# Then you can run it like this:
14+
# BUILD_TYPE=DEBUG ./buildscripts/build-scripts/bootstrap-tarballs
15+
#
16+
# The script expects the following repositories to be side by side:
17+
# .
18+
# ├── buildscripts
19+
# ├── core
20+
# ├── enterprise
21+
# ├── nova
22+
# ├── mission-portal
23+
# ├── libntech
24+
# └── masterfiles
25+
#
26+
327
_dir=$(readlink -e "$(dirname "$0")")
428
# refactored a few functions into single file scripts for easier development/debugging, see ENT-12741 and ENT-12595
529
# Easier to add a path to a script than source a file of functions.

0 commit comments

Comments
 (0)