Update build-package.sh
This commit is contained in:
parent
553805e932
commit
66763880af
@ -456,7 +456,7 @@ termux_step_start_build() {
|
|||||||
unzip ${TERMUX_COMMON_CACHEDIR}/bootstrap-${TERMUX_ARCH}.zip -d $TERMUX_PREFIX
|
unzip ${TERMUX_COMMON_CACHEDIR}/bootstrap-${TERMUX_ARCH}.zip -d $TERMUX_PREFIX
|
||||||
|
|
||||||
# TODO move this install to Dockerfile
|
# TODO move this install to Dockerfile
|
||||||
sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get install -y libcap2-bin gawk tree strace
|
sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get install -y libcap2-bin gawk tree strace devscripts
|
||||||
# set capabilities on dpkg
|
# set capabilities on dpkg
|
||||||
# Some packages built by uid 1001 (builder is 1000)
|
# Some packages built by uid 1001 (builder is 1000)
|
||||||
# Need capabilities for dpkg to set non-builder uid
|
# Need capabilities for dpkg to set non-builder uid
|
||||||
@ -1387,6 +1387,12 @@ termux_step_reverse_depends() {
|
|||||||
if [ ! -z ${TERMUX_INSTALL_DEPS+x} ]; then
|
if [ ! -z ${TERMUX_INSTALL_DEPS+x} ]; then
|
||||||
# TODO build reverse depends with packages
|
# TODO build reverse depends with packages
|
||||||
apt-cache $TERMUX_APT rdepends $TERMUX_PKG_NAME
|
apt-cache $TERMUX_APT rdepends $TERMUX_PKG_NAME
|
||||||
|
|
||||||
|
# TODO compare package with existing
|
||||||
|
echo "COMPARING PACKAGES"
|
||||||
|
apt $TERMUX_APT download $TERMUX_PKG_NAME
|
||||||
|
debdiff ${TERMUX_PKG_NAME}*.deb ${TERMUX_PKG_DEBFILE}
|
||||||
|
echo "DONE COMPARE PACKAGES"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user