fix packages-update after autobuild
This commit is contained in:
parent
489fcbabf3
commit
e75a319f87
3
Makefile
3
Makefile
|
@ -93,8 +93,7 @@ toolchain-update:
|
||||||
$(CONFIG_DIR)/apt-sources-x86_64.list \
|
$(CONFIG_DIR)/apt-sources-x86_64.list \
|
||||||
$(CONFIG_DIR)/apt-hashes-x86_64.list \
|
$(CONFIG_DIR)/apt-hashes-x86_64.list \
|
||||||
$(FETCH_DIR)/apt
|
$(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:
|
$(CONFIG_DIR)/apt-base.list:
|
||||||
touch $(CONFIG_DIR)/apt-base.list
|
touch $(CONFIG_DIR)/apt-base.list
|
||||||
|
|
|
@ -5,7 +5,10 @@ set -e
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
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
|
apt update -o Acquire::Check-Valid-Until=false
|
||||||
|
|
||||||
until apt-get install \
|
until apt-get install \
|
||||||
|
|
Loading…
Reference in New Issue