Fix bug 127535 sources lists cause installing failed

This commit is contained in:
liu-yi92 2022-07-16 15:52:20 +08:00
parent 9f254ceffd
commit 3e75663ba3
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
kylin-os-installer (0.2.1-0k5) yangtze; urgency=medium
* BUG号 127535
-- liuyi <liuyi@kylinos.cn> Sat, 16 Jul 2022 15:49:45 +0800
kylin-os-installer (0.2.1-0k4) yangtze; urgency=medium
* BUG 130097

View File

@ -17,7 +17,7 @@ fi
CODENAME=$(ls -l /cdrom/dists | awk '/^d/{print $NF}')
mv /target/etc/apt/sources.list{,.bak}
echo "deb file:/cdrom ${CODENAME} main restricted" >>/target/etc/apt/sources.list
echo "deb file:/cdrom ${CODENAME} main" >>/target/etc/apt/sources.list
# todo, set timeout
chroot /target apt-get update --allow-insecure-repositories -y