-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48d4b23
commit 6cc3665
Showing
7 changed files
with
114 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/bin/bash | ||
# shellcheck disable=SC2155,SC2034 | ||
|
||
readonly HOME_VINAIGRETTE=$(dirname $(dirname $(realpath ${BASH_SOURCE[0]}))) | ||
readonly HOME_VINAIGRETTE=$(dirname "$(dirname "$(realpath "${BASH_SOURCE[0]}")")") | ||
|
||
readonly GIT_REPOS="$HOME_VINAIGRETTE/gitrepos/" | ||
readonly BUILD_DEB="$HOME_VINAIGRETTE/scripts/build_deb" | ||
|
||
readonly REPO_URL="forge.yunohost.org" | ||
readonly REPO_DIR="$HOME_VINAIGRETTE/../www/debian" | ||
readonly REPO_CONFIG=$HOME_VINAIGRETTE/config/distributions | ||
readonly REPO_ARCHS="$(grep "Architectures" $REPO_CONFIG | head -n 1 | awk -F: '{print $2}' | sed 's/source//g')" | ||
readonly REPO_DISTS="$(grep "^Codename" $REPO_CONFIG | awk '{print $2}')" | ||
readonly REPO_ARCHS="$(grep "Architectures" "$REPO_CONFIG" | head -n 1 | awk -F: '{print $2}' | sed 's/source//g')" | ||
readonly REPO_DISTS="$(grep "^Codename" "$REPO_CONFIG" | awk '{print $2}')" | ||
|
||
readonly LAST_BUILDS_CACHE="$HOME_VINAIGRETTE/.last_builds/" | ||
readonly CHROOTS="$HOME_VINAIGRETTE/.chroots/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# shellcheck source=config/config | ||
source ../config/config | ||
|
||
DIST=$1 | ||
PREINSTALL="eatmydata,ccache,build-essential,perl-openssl-defaults,debhelper,cmake,wget,devscripts,git,aptitude,debhelper,dh-python,python3-all,python3-yaml,python3-jinja2,python3-setuptools,python3-psutil,lua5.1,liblua5.1-0-dev,libidn11-dev,libssl-dev,txt2man,quilt" | ||
|
||
mkdir -p $CHROOTS | ||
mkdir -p "$CHROOTS" | ||
|
||
sbuild-createchroot --include=$PREINSTALL $DIST $CHROOTS/$DIST-all | ||
sbuild-createchroot --include=$PREINSTALL "$DIST" "$CHROOTS/$DIST-all" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.