Skip to content

Commit

Permalink
build: simplify package build progress
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 29, 2016
1 parent cd1d21f commit cf04bb9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -598,16 +598,8 @@ install_packages()
custom_packages()
{
chroot ${1} /bin/sh -es << EOF
# clear the internal staging area and package files
rm -rf /work
# run the package build process
make -C ${2} DESTDIR=/work ${3} FLAVOUR=${PRODUCT_FLAVOUR} metadata
make -C ${2} DESTDIR=/work ${3} FLAVOUR=${PRODUCT_FLAVOUR} install
echo -n ">>> Creating custom package for ${2}... "
pkg create -m /work -r /work -p /work/plist -o ${PACKAGESDIR}/All
echo "done"
make -C ${2} ${3} FLAVOUR=${PRODUCT_FLAVOUR} WRKDIR=/work \
PKGDIR=${PACKAGESDIR}/All package
EOF
}

Expand Down

0 comments on commit cf04bb9

Please sign in to comment.