mirror of
https://github.com/pygos/build.git
synced 2024-11-24 12:00: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
|
for pkg in tc-pkgtool; do
|
||||||
include_pkg "$pkg"
|
include_pkg "$pkg"
|
||||||
fetch_package
|
|
||||||
build_package
|
build_package
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -87,13 +86,6 @@ pkg buildstrategy -p "$PROVIDESLIST" -d "$DEPENDSLIST" "$RELEASEPKG" \
|
||||||
> "$PACKAGELIST"
|
> "$PACKAGELIST"
|
||||||
cat "$PACKAGELIST"
|
cat "$PACKAGELIST"
|
||||||
|
|
||||||
echo "--- downloading package files ---"
|
|
||||||
|
|
||||||
while read pkg; do
|
|
||||||
include_pkg "$pkg"
|
|
||||||
fetch_package
|
|
||||||
done < "$PACKAGELIST"
|
|
||||||
|
|
||||||
echo "--- building packages ---"
|
echo "--- building packages ---"
|
||||||
|
|
||||||
while read pkg; do
|
while read pkg; do
|
||||||
|
|
|
@ -16,6 +16,8 @@ build_package() {
|
||||||
rm -f "$REPODIR/${f}.pkg"
|
rm -f "$REPODIR/${f}.pkg"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fetch_package
|
||||||
|
|
||||||
rm -rf "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
rm -rf "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
||||||
mkdir -p "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
mkdir -p "$TCDIR/$TARGET" "$PKGBUILDDIR" "$PKGDEPLOYDIR"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue