aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-01-15 20:42:19 -0500
committerMike Frysinger <vapier@gentoo.org>2018-01-15 20:42:19 -0500
commit8f6370f8b309fbc8f958557f25f9c090c6345644 (patch)
tree5cf3c9f3b6190a22202144abab50d492eb7d6782
parentcatalyst-auto: move git update into main script (diff)
downloadreleng-8f6370f8b309fbc8f958557f25f9c090c6345644.tar.gz
releng-8f6370f8b309fbc8f958557f25f9c090c6345644.tar.bz2
releng-8f6370f8b309fbc8f958557f25f9c090c6345644.zip
catalyst-auto: run update_symlinks by default in pre_build
All configs defining update_symlinks run it in pre_build, and all the other configs will want to do the same. So make it the default in the pre_build phase.
-rwxr-xr-xtools/catalyst-auto2
-rw-r--r--tools/catalyst-auto-amd64-experimental.conf4
-rw-r--r--tools/catalyst-auto-amd64.conf4
3 files changed, 1 insertions, 9 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index cd23d159..750e7047 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -94,7 +94,7 @@ update_symlinks() {
pre_build() {
# This is a skeleton function that you can override from the config file.
# It will be executed before the build is started.
- :
+ update_symlinks
}
post_build() {
diff --git a/tools/catalyst-auto-amd64-experimental.conf b/tools/catalyst-auto-amd64-experimental.conf
index e4766949..70963a0a 100644
--- a/tools/catalyst-auto-amd64-experimental.conf
+++ b/tools/catalyst-auto-amd64-experimental.conf
@@ -71,10 +71,6 @@ update_symlinks() {
done
}
-pre_build() {
- update_symlinks
-}
-
post_build() {
cmd=(
rsync
diff --git a/tools/catalyst-auto-amd64.conf b/tools/catalyst-auto-amd64.conf
index a2a0abdc..e469a487 100644
--- a/tools/catalyst-auto-amd64.conf
+++ b/tools/catalyst-auto-amd64.conf
@@ -75,10 +75,6 @@ update_symlinks() {
done
}
-pre_build() {
- update_symlinks
-}
-
post_build() {
cmd=(
rsync