From 3f252c390f075339b39b858395fa883a50efc4e7 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Fri, 9 Jun 2023 23:38:18 +0900 Subject: [PATCH] Update alpineInit.sh --- Linux_reinstall/Alpine/alpineInit.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Linux_reinstall/Alpine/alpineInit.sh b/Linux_reinstall/Alpine/alpineInit.sh index d407127..d40c468 100644 --- a/Linux_reinstall/Alpine/alpineInit.sh +++ b/Linux_reinstall/Alpine/alpineInit.sh @@ -36,6 +36,11 @@ acpid | default crond | default seedrng | boot +# Reset configurations of repositories +true >/etc/apk/repositories +setup-apkrepos -1 +setup-apkcache /var/cache/apk + # Synchronize time from hardware hwclock -s