更新 'common.sh'

This commit is contained in:
2024-10-21 11:56:09 +08:00
parent d1752dd9d8
commit d23459926b

View File

@@ -200,7 +200,7 @@ function set_sources_update(){
chroot $mount_dir /bin/bash -c "echo 'deb $MIRRORS $DISTRIBUTION-backports main restricted universe multiverse' >> /etc/apt/sources.list"
chroot $mount_dir /usr/bin/apt-get -q update
chroot $mount_dir /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confnew dist-upgrade
chroot $mount_dir /usr/bin/apt-get -q -y install wget apt-transport-https
chroot $mount_dir /usr/bin/apt-get -q -y install wget apt-transport-https gnupg2
# ubports repo
chroot $mount_dir wget http://repo.ubports.com/keyring.gpg