mirror of
https://github.com/pygos/build.git
synced 2024-11-24 03:50:42 +01:00
cleanup: merge package download/build phases
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
b2c4934145
commit
afd023802f
2 changed files with 2 additions and 8 deletions
8
mk.sh
8
mk.sh
|
@ -64,7 +64,6 @@ echo "--- boot strap phase ---"
|
|||
|
||||
for pkg in tc-pkgtool; do
|
||||
include_pkg "$pkg"
|
||||
fetch_package
|
||||
build_package
|
||||
done
|
||||
|
||||
|
@ -87,13 +86,6 @@ pkg buildstrategy -p "$PROVIDESLIST" -d "$DEPENDSLIST" "$RELEASEPKG" \
|
|||
> "$PACKAGELIST"
|
||||
cat "$PACKAGELIST"
|
||||
|
||||
echo "--- downloading package files ---"
|
||||
|
||||
while read pkg; do
|
||||
include_pkg "$pkg"
|
||||
fetch_package
|
||||
done < "$PACKAGELIST"
|
||||
|
||||
echo "--- building packages ---"
|
||||
|
||||
while read pkg; do
|
||||
|
|
|
@ -16,6 +16,8 @@ build_package() {
|
|||
rm -f "$REPODIR/${f}.pkg"
|
||||
done
|
||||
|
||||
fetch_package
|
||||
|
||||
rm -rf "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
||||
mkdir -p "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
||||
|
||||
|
|
Loading…
Reference in a new issue