mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Host dependencies fix. Aptly from (any) distribution is too old. Adding author repository and update from there.
This commit is contained in:
@@ -527,6 +527,15 @@ prepare_host()
|
||||
if ! grep -q -x -e "$packet" <<< "$installed"; then deps+=("$packet"); fi
|
||||
done
|
||||
|
||||
# distribution packages are buggy, download from author
|
||||
if [[ ! -f /etc/apt/sources.list.d/aptly.list ]]; then
|
||||
display_alert "Updating from external repository" "aptly" "info"
|
||||
wget -qO - https://www.aptly.info/pubkey.txt | sudo apt-key add - >/dev/null 2>&1
|
||||
echo "deb http://repo.aptly.info/ squeeze main" > /etc/apt/sources.list.d/aptly.list
|
||||
apt-get -qq update
|
||||
apt-get install aptly
|
||||
fi
|
||||
|
||||
# sync clock
|
||||
if [[ $SYNC_CLOCK != no ]]; then
|
||||
display_alert "Syncing clock" "host" "info"
|
||||
|
||||
Reference in New Issue
Block a user