Fix bug 127535 sources lists cause installing failed
This commit is contained in:
parent
9f254ceffd
commit
3e75663ba3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue