This commit is contained in:
Igor Pecovnik 2016-03-22 21:10:04 +01:00
commit e85a7a9c38
2 changed files with 5 additions and 3 deletions

View File

@ -220,7 +220,7 @@ install_kernel (){
# install uboot
display_alert "Install u-boot" "$CHOSEN_UBOOT" "info"
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -i /tmp/${CHOSEN_UBOOT}_${REVISION}_armhf.deb > /dev/null"
chroot $CACHEDIR/sdcard /bin/bash -c "DEVICE=/dev/null dpkg -i /tmp/${CHOSEN_UBOOT}_${REVISION}_armhf.deb > /dev/null"
# install headers
display_alert "Install headers" "$HEADERS_TMP" "info"

View File

@ -73,7 +73,9 @@ fi
#--------------------------------------------------------------------------------------------------------------------------------
# Get updates of the main build libraries
#--------------------------------------------------------------------------------------------------------------------------------
apt-get -qq -y --no-install-recommends install git
[[ $(dpkg-query -W -f='${db:Status-Abbrev}\n' git 2>/dev/null) != *ii* ]] && \
apt-get -qq -y --no-install-recommends install git
if [[ ! -d $SRC/lib ]]; then
git clone https://github.com/igorpecovnik/lib
fi
@ -101,4 +103,4 @@ fi
# If you are committing new version of this file, increment VERSION
# Only integers are supported
# VERSION=14
# VERSION=15