fix packages-update after autobuild

This commit is contained in:
Lance Vick 2023-06-18 02:41:10 -07:00
parent 489fcbabf3
commit e75a319f87
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 5 additions and 3 deletions

View File

@ -93,8 +93,7 @@ toolchain-update:
$(CONFIG_DIR)/apt-sources-x86_64.list \
$(CONFIG_DIR)/apt-hashes-x86_64.list \
$(FETCH_DIR)/apt
$(MAKE) $(CONFIG_DIR)/apt-hashes-x86_64.list \
$(MAKE) AUTOBUILD_TOOLCHAIN=false $(CONFIG_DIR)/apt-hashes-x86_64.list
$(CONFIG_DIR)/apt-base.list:
touch $(CONFIG_DIR)/apt-base.list

View File

@ -5,7 +5,10 @@ set -e
ARCH=$(uname -m)
cp -R /config/* /etc/apt/
cp /config/apt-sources-x86_64.list /etc/apt/sources.list
cp /config/apt-hashes-x86_64.list /etc/apt/
cp /config/apt-pins-x86_64.list /etc/apt/
rm /etc/apt/sources.list.d/*
apt update -o Acquire::Check-Valid-Until=false
until apt-get install \