make portage_confdir location dynamic
Don't hardcode /root/ or /release/ paths to the releng git checkout. Use the active git repo as the base path instead.
This commit is contained in:
parent
0f867a3dfd
commit
6a2361a8ea
27 changed files with 32 additions and 20 deletions
|
@ -203,6 +203,12 @@ for i in $(find -name '*.spec'); do
|
|||
sed -i "s|^${key}:.*\$|${key}: ${TMPDIR}/kconfig/${filename}|" ${i}
|
||||
done
|
||||
fi
|
||||
|
||||
# Expand vars that the spec expects us to.
|
||||
sed -i \
|
||||
-e "s:@DATESTAMP@:${DATESTAMP}:g" \
|
||||
-e "s:@GITDIR@:${GITDIR}:g" \
|
||||
"${i}"
|
||||
done
|
||||
|
||||
if [ "${testing}" -eq 1 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue