Browse Source

comment out new ideas

android-5
Stephen 8 years ago
committed by Fredrik Fornwall
parent
commit
dd50463e22
  1. 14
      build-package.sh

14
build-package.sh

@ -311,15 +311,15 @@ termux_step_start_build() {
# TODO use apt and dpkg to install instead of building
# Add apt repository and key, update
# TODO move this install to Dockerfile
sudo apt-get update && sudo apt-get install -y software-properties-common
sudo add-apt-repository "deb [arch=all,$TERMUX_ARCH] http://termux.net stable main"
cat $TERMUX_SCRIPTDIR/packages/apt/trusted.gpg | sudo apt-key add -
sudo apt-get update && sudo dpkg --add-architecture $TERMUX_ARCH
#sudo apt-get update && sudo apt-get install -y software-properties-common
#sudo add-apt-repository "deb [arch=all,$TERMUX_ARCH] http://termux.net stable main"
#cat $TERMUX_SCRIPTDIR/packages/apt/trusted.gpg | sudo apt-key add -
#sudo apt-get update && sudo dpkg --add-architecture $TERMUX_ARCH
#sudo apt-get -d install ${p}:${TERMUX_ARCH}
# TODO delete debug info
echo "DEBUG"
ls -lah /var/cache/apt/archives
echo "DEBUG"
#echo "DEBUG"
#ls -lah /var/cache/apt/archives
#echo "DEBUG"
# TODO figure out what the root is?
#sudo dpkg --root $TERMUX_PREFIX --configure -a
#sudo dpkg --root $TERMUX_PREFIX -i /var/cache/apt/archives/${p}_*_${TERMUX_ARCH}.deb

Loading…
Cancel
Save