catalyst-auto: move remaining configs from pre_build to update_symlinks
All the configs running symlink updates in pre_build can do it in the update_symlinks callback instead. Convert them over.
This commit is contained in:
parent
8f6370f8b3
commit
cb652173f6
17 changed files with 17 additions and 24 deletions
|
@ -22,8 +22,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -25,8 +25,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d
|
pushd $d
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -26,7 +26,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -27,8 +27,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -22,8 +22,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -24,7 +24,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -25,8 +25,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -22,8 +22,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -22,8 +22,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_symlinks() {
|
||||||
pre_build() {
|
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -23,7 +23,7 @@ give_latest_from_dates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/builds/{default,multilib} ; do
|
for d in ${BUILD_SRCDIR_BASE}/builds/{default,multilib} ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -37,7 +37,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do
|
for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
|
@ -37,7 +37,7 @@ give_latest_from_dates() {
|
||||||
tr '~' '-'
|
tr '~' '-'
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do
|
for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do
|
||||||
pushd $d >/dev/null
|
pushd $d >/dev/null
|
||||||
|
|
Loading…
Add table
Reference in a new issue