Przeglądaj źródła

ip变更:172.29.158.30 -> 172.29.157.20

杨振 3 lat temu
rodzic
commit
51710b0c9f

+ 1 - 1
bin/mount-data.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SMB_SERVER_IP=172.29.158.30
+SMB_SERVER_IP=172.29.157.20
 MOUNT_POINT=/media/data
 if [ ! -d "${MOUNT_POINT}" ]; then
     sudo mkdir -p "${MOUNT_POINT}"

+ 1 - 1
config-ip.sh

@@ -51,7 +51,7 @@ if [ ! -f ${CONFIG_FILE}.bak ]; then
 fi
 
 if [ "$1" == "work" ]; then
-  IPADDR=172.29.158.30
+  IPADDR=172.29.157.20
   GATEWAY=172.29.221.254
   DNS1=114.114.114.114
   DNS2=172.20.191.2

+ 3 - 3
config-nmcli.sh

@@ -9,7 +9,7 @@ function usage() {
     $(basename $0) pxe      # pxe IP
     $(basename $0) work1    # 工作 IP 1
     $(basename $0) work2    # 工作 IP 2
-    $(basename $0) work3    # 黄河大厦 172.29.158.30
+    $(basename $0) work3    # 黄河大厦 172.29.157.20
     "
 
   exit 1
@@ -41,8 +41,8 @@ elif [ "$1" == "work2" ]; then
   DNS1=114.114.114.114
   DNS2=172.20.191.2
 elif [ "$1" == "work3" ]; then
-  IPADDR=172.29.158.30
-  GATEWAY=172.29.159.254
+  IPADDR=172.29.157.20
+  GATEWAY=172.29.157.254
   DNS1=114.114.114.114
   DNS2=172.20.191.2
 elif [ "$1" == "pxe" ]; then

+ 3 - 3
debootstrap/README.md

@@ -21,6 +21,6 @@ KYLINALL/
 
 | 源地址                             | 说明                                                      |
 | ---------------------------------- | --------------------------------------------------------- |
-| http://172.29.158.30/my_mirror/kylin | 本地自建源 ,apt download 全部桌面系统包列表,改了 bash 包 |
-| http://172.29.158.30/launchpad    | 同步 launchpad 源                                         |
-| http://172.29.158.30/kylin        | 同步桌面版源                                              |
+| http://172.29.157.20/my_mirror/kylin | 本地自建源 ,apt download 全部桌面系统包列表,改了 bash 包 |
+| http://172.29.157.20/launchpad    | 同步 launchpad 源                                         |
+| http://172.29.157.20/kylin        | 同步桌面版源                                              |

+ 5 - 5
debootstrap/apt_list/my_debootstrap2.sh

@@ -76,8 +76,8 @@ function get_deps() {
     ## 去除 | 后面的包
     # tr ',' '\n' | sed 's/|.*//' | sed 's#(.*)##g' | xargs | tr ' ' '\n' | sort | uniq
 
-    analysis.sh --repo "${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists" --prio required | awk '{print $1}' |
-        xargs -i analysis.sh --repo "${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists" --pkg {} |
+    analysis.sh --repo "${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists" --prio required | awk '{print $1}' |
+        xargs -i analysis.sh --repo "${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists" --pkg {} |
         grep -E "^Depends:|^Pre-Depends" | sed 's/^.*Depends://' |
         tr ',' '\n' | sed 's/|.*//' | sed 's#(.*)##g' | xargs | tr ' ' '\n' | sort | uniq |
         >/var/tmp/newpkgs.txt1
@@ -98,7 +98,7 @@ function get_pkg_deps() {
 ########## functions ##########
 
 function config_kylin() {
-    MIRRORS="http://172.29.158.30/launchpad/kylin http://172.29.158.30/launchpad/kylin-desktop"
+    MIRRORS="http://172.29.157.20/launchpad/kylin http://172.29.157.20/launchpad/kylin-desktop"
     SUITES="v101"
     COMPONENTS="main restricted universe multiverse"
     ARCH="amd64"
@@ -112,7 +112,7 @@ function config_ubuntu() {
 }
 
 function config_my() {
-    MIRRORS="http://172.29.158.30/my_mirror/kylin"
+    MIRRORS="http://172.29.157.20/my_mirror/kylin"
     SUITES="v101"
     COMPONENTS="main"
     ARCH="amd64"
@@ -235,7 +235,7 @@ function download_debs() {
                     sed -n "/^${match}$/,/^$/p" "$(url_to_path ${p})"
                 fi | grep '^Filename: ' | awk '{print $2}'
             )
-            # filename="${MIRROR}/$(analysis.sh --repo ${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists --pkg $i | grep '^Filename: ' | awk '{print $2}')"
+            # filename="${MIRROR}/$(analysis.sh --repo ${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists --pkg $i | grep '^Filename: ' | awk '{print $2}')"
             echo "$i $filename"
             wgetfile ${MIRROR}/$filename
         done

+ 8 - 8
debootstrap/cmd_debootstrap.sh

@@ -38,7 +38,7 @@ function kylin_10.1() {
 
     ROOTFS_DIR=KYLIN-ALL-rootfs
     # MIRROR_URL="http://archive.kylinos.cn/kylin/KYLIN-ALL"
-    # MIRROR_URL="http://172.29.158.30/mirror/juniper"
+    # MIRROR_URL="http://172.29.157.20/mirror/juniper"
     MIRROR_URL="http://172.29.220.247:8000/" # 左侧大台式机上同步的v10版本的源
 
     sudo debootstrap --no-check-gpg --print-debs --keep-debootstrap-dir --components=main,restricted,universe,multiverse 10.0 ${ROOTFS_DIR} "${MIRROR_URL}"
@@ -54,7 +54,7 @@ function kylin_10.0() {
 
     ROOTFS_DIR=KYLIN-ALL-rootfs
     # MIRROR_URL="http://archive.kylinos.cn/kylin/KYLIN-ALL"
-    MIRROR_URL="http://172.29.158.30/kylin/KYLIN-ALL"
+    MIRROR_URL="http://172.29.157.20/kylin/KYLIN-ALL"
 
     sudo debootstrap --no-check-gpg --print-debs --keep-debootstrap-dir --components=main,restricted,universe,multiverse 10.1 ${ROOTFS_DIR} "${MIRROR_URL}"
     sudo debootstrap --no-check-gpg --components=main,restricted,universe,multiverse 10.1 ${ROOTFS_DIR} "${MIRROR_URL}"
@@ -78,13 +78,13 @@ function kylin_launchpad() {
     # MIRROR_URL="http://archive.launchpad.dev/kylin-desktop/"
 
     # 本地launchpad
-    # MIRROR_URL="http://172.29.158.30/launchpad/kylin"
-    # MIRROR_URL="http://172.29.158.30/launchpad/kylin-desktop"
-    # MIRROR_URL="http://172.29.158.30/launchpad/kylin http://172.29.158.30/launchpad/kylin-desktop"
-    # MIRROR_URL="http://172.29.158.30/launchpad/kylin-desktop http://172.29.158.30/launchpad/kylin"
+    # MIRROR_URL="http://172.29.157.20/launchpad/kylin"
+    # MIRROR_URL="http://172.29.157.20/launchpad/kylin-desktop"
+    # MIRROR_URL="http://172.29.157.20/launchpad/kylin http://172.29.157.20/launchpad/kylin-desktop"
+    # MIRROR_URL="http://172.29.157.20/launchpad/kylin-desktop http://172.29.157.20/launchpad/kylin"
 
     # 麒麟桌面源下载deb包,自建源,改了bash,添加gpg文件
-    MIRROR_URL="http://172.29.158.30/my_mirror/kylin"
+    MIRROR_URL="http://172.29.157.20/my_mirror/kylin"
 
     [ -d ${ROOTFS_DIR} ] && sudo rm -rf ${ROOTFS_DIR}
 
@@ -122,7 +122,7 @@ function kylin_launchpad() {
 # 使用长城笔记本制作 arm64 版本rootfs
 function changcheng_arm64() {
     ROOTFS_DIR="rootfs-kylin-arm64"
-    MIRROR_URL="http://172.29.158.30/my_mirror/kylin"
+    MIRROR_URL="http://172.29.157.20/my_mirror/kylin"
 
     ## 包含 resize-assistant, 来自 rock3a
     DEBS_RESIZE="resize-assistant"

+ 1 - 1
debootstrap/fakechroot/rootfs.sh

@@ -1,6 +1,6 @@
 # 使用 fakeroot 制作rootfs
 ROOTFS_DIR=rootfs-fakeroot
-MIRROR_URL="http://172.29.158.30/my_mirror/kylin"
+MIRROR_URL="http://172.29.157.20/my_mirror/kylin"
 fakechroot fakeroot debootstrap --no-check-gpg --variant=fakechroot --components=main,restricted,universe,multiverse v101 ${ROOTFS_DIR} ${MIRROR_URL} gutsy
 
 # 无需root权限执行chroot

+ 6 - 6
debootstrap/kylinos/config-default.sh

@@ -4,7 +4,7 @@ set -e
 # ========== 源地址 ==========
 function apt_my_mirror() {
     cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/my_mirror/kylin v101 main
+deb http://172.29.157.20/my_mirror/kylin v101 main
 EOF
 }
 
@@ -16,7 +16,7 @@ EOF
 
 function apt_local_KYLIN_ALL() {
     cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
 EOF
 }
 
@@ -32,11 +32,11 @@ EOF
 
 function apt_local_launchpad() {
     cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/launchpad/kylin v101 main multiverse restricted universe
-deb http://172.29.158.30/launchpad/kylin-desktop v101 main multiverse restricted universe
+deb http://172.29.157.20/launchpad/kylin v101 main multiverse restricted universe
+deb http://172.29.157.20/launchpad/kylin-desktop v101 main multiverse restricted universe
 
-deb-src http://172.29.158.30/launchpad/kylin v101 main multiverse restricted universe
-deb-src http://172.29.158.30/launchpad/kylin-desktop v101 main multiverse restricted universe
+deb-src http://172.29.157.20/launchpad/kylin v101 main multiverse restricted universe
+deb-src http://172.29.157.20/launchpad/kylin-desktop v101 main multiverse restricted universe
 EOF
 }
 # ========== 源地址 ==========

+ 3 - 3
debootstrap/kylinos/config-iso-kv.sh

@@ -5,7 +5,7 @@ export HOME=/root
 export LC_ALL=C
 
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/my_mirror/kylin v101 main
+deb http://172.29.157.20/my_mirror/kylin v101 main
 EOF
 
 apt update
@@ -16,8 +16,8 @@ apt install -y simple-wallpaper
 # ==================== create system ====================
 # 制作过程中使用的源
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
-deb http://172.29.158.30/mirror/kvisor v101-0621 main
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+deb http://172.29.157.20/mirror/kvisor v101-0621 main
 EOF
 
 apt update

+ 2 - 2
debootstrap/kylinos/config-iso.sh

@@ -5,7 +5,7 @@ export HOME=/root
 export LC_ALL=C
 
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/my_mirror/kylin v101 main
+deb http://172.29.157.20/my_mirror/kylin v101 main
 EOF
 
 apt update
@@ -16,7 +16,7 @@ apt install -y simple-wallpaper
 # ==================== create system ====================
 # 制作过程中使用的源
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
 EOF
 
 apt update

+ 1 - 1
debootstrap/kylinos/config-openbox.sh

@@ -14,7 +14,7 @@ apt install -y simple-wallpaper
 # ==================== create system ====================
 # 制作过程中使用的源
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
 EOF
 
 apt update

+ 1 - 1
debootstrap/kylinos/config-ukui-10.1.sh

@@ -12,7 +12,7 @@ apt install -y resize-assistant
 # ==================== create system ====================
 # 制作过程中使用的源
 cat >/etc/apt/sources.list <<EOF
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
 EOF
 
 apt update

+ 2 - 2
debootstrap/kylinos/rootfs.sh

@@ -34,7 +34,7 @@ EXAMPLE:
     $(basename $0) --arch arm64 --name openbox  --conf config-openbox.sh --tasks 'rootfs,config,config_openbox,tar'
 
 制作ukui:
-    $(basename $0) --arch arm64 --name ukui --mirror http://172.29.158.30/mirror/juniper --suite v100 --conf config-ukui-10.0.sh --tasks 'rootfs,config,config_linbo,tar,ext4'
+    $(basename $0) --arch arm64 --name ukui --mirror http://172.29.157.20/mirror/juniper --suite v100 --conf config-ukui-10.0.sh --tasks 'rootfs,config,config_linbo,tar,ext4'
     $(basename $0) --arch arm64 --name ukui --conf config-ukui-10.1.sh --tasks 'rootfs,config,config_linbo,tar,ext4'
 
 制作iso:
@@ -328,7 +328,7 @@ fi
 
 ROOTFS_DIR="${NAME:-rootfs}_${ARCH}-${timestamp}"
 ROOTFS_ENV_FILE="${ROOTFS_DIR}.env"
-MIRROR="${MIRROR:-http://172.29.158.30/my_mirror/kylin}"
+MIRROR="${MIRROR:-http://172.29.157.20/my_mirror/kylin}"
 SUITE=${SUITE:-v101}
 
 # 保存变量,供其他步骤使用

+ 6 - 6
debootstrap/my_debootstrap.sh

@@ -121,7 +121,7 @@ first_stage_setup() {
 
     setup_devices_simple
 
-    echo "deb http://172.29.158.30/kylin v101 main restricted universe multiverse" >"$TARGET/etc/apt/sources.list"
+    echo "deb http://172.29.157.20/kylin v101 main restricted universe multiverse" >"$TARGET/etc/apt/sources.list"
 }
 
 ########## functions for second stage ##########
@@ -411,8 +411,8 @@ get_debs() {
             for c in $COMPONENTS; do
                 path="dists/$s/$c/binary-$ARCH/Packages"
                 # pkgdest="$TARGET/$($DLDEST pkg "$s" "$c" "$ARCH" "$m1" "$path")"
-                # pkgdest="/data/git/gogs/kylin/172.29.158.30/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
-                pkgdest="${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
+                # pkgdest="/data/git/gogs/kylin/172.29.157.20/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
+                pkgdest="${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
                 echo "$(pkgdetails_perl FIELD "$field" "$m1" "$pkgdest" "$@" | sed 's/ .*//')"
             done
         done
@@ -440,7 +440,7 @@ resolve_deps() {
             for c in ${COMPONENTS:-$(echo ${USE_COMPONENTS} | tr '|' ' ')}; do
                 local path="dists/$s/$c/binary-$ARCH/Packages"
                 # local pkgdest="$TARGET/$($DLDEST pkg "$s" "$c" "$ARCH" "$m1" "$path")"
-                local pkgdest="${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
+                local pkgdest="${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
                 NEWPKGS="$NEWPKGS $(pkgdetails_perl GETDEPS "$pkgdest" $PKGS)"
             done
         done
@@ -451,7 +451,7 @@ resolve_deps() {
             for c in ${COMPONENTS:-$(echo ${USE_COMPONENTS} | tr '|' ' ')}; do
                 local path="dists/$s/$c/binary-$ARCH/Packages"
                 # local pkgdest="$TARGET/$($DLDEST pkg "$s" "$c" "$ARCH" "$m1" "$path")"
-                local pkgdest="${TARGET_DIR}/172.29.158.30/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
+                local pkgdest="${TARGET_DIR}/172.29.157.20/my_mirror/kylin/dists/v101/main/binary-amd64/Packages"
                 REALPKGS="$REALPKGS $(pkgdetails_perl PKGS REAL "$pkgdest" $PKGS | sed -n 's/ .*REAL.*$//p')"
             done
         done
@@ -464,7 +464,7 @@ resolve_deps() {
     echo "$ALLPKGS"
 }
 
-MIRRORS='http://172.29.158.30/my_mirror/kylin'
+MIRRORS='http://172.29.157.20/my_mirror/kylin'
 SUITE='v101'
 COMPONENTS='main'
 ARCH='amd64'

+ 2 - 2
debootstrap/reprepro.sh

@@ -143,9 +143,9 @@ function repo_use() {
     python3 -m http.server -d ${MIRROR_PREFIX} 9000
 
     # 配置source list
-    echo "deb http://172.29.158.30:9000/kylin v101 main" | sudo tee /etc/apt/sources.list.d/v101.list
+    echo "deb http://172.29.157.20:9000/kylin v101 main" | sudo tee /etc/apt/sources.list.d/v101.list
     # 添加公钥
-    wget -O - http://172.29.158.30:9000/kylin/public.key | sudo apt-key add -
+    wget -O - http://172.29.157.20:9000/kylin/public.key | sudo apt-key add -
     # 更新软件源
     sudo apt update
 }

+ 1 - 1
debootstrap/test.sh

@@ -4,7 +4,7 @@ function test() {
     OPTIONS="--no-check-gpg --components=main,restricted,universe,multiverse"
     SUITE="v101"
     TARGET="/data/temp/kylin-rootfs"
-    MIRROR="http://172.29.158.30/kylin/"
+    MIRROR="http://172.29.157.20/kylin/"
     sudo debootstrap ${OPTIONS} ${SUITE} ${TARGET} ${MIRROR}
 }
 

+ 2 - 2
etc/apt/v10sp1/local.KYLIN-ALL.list

@@ -1,2 +1,2 @@
-deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
-# deb http://172.29.158.30/kylin/partner 10.1 main
+deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
+# deb http://172.29.157.20/kylin/partner 10.1 main

+ 10 - 10
etc/apt/v10sp1/local.launchpad.list

@@ -1,15 +1,15 @@
 # 包
-deb http://172.29.158.30/launchpad/kylin v101 main multiverse restricted universe
-deb http://172.29.158.30/launchpad/kylin-desktop v101 main multiverse restricted universe
+deb http://172.29.157.20/launchpad/kylin v101 main multiverse restricted universe
+deb http://172.29.157.20/launchpad/kylin-desktop v101 main multiverse restricted universe
 
 # 源码
-deb-src http://172.29.158.30/launchpad/kylin v101 main multiverse restricted universe
-deb-src http://172.29.158.30/launchpad/kylin-desktop v101 main multiverse restricted universe
+deb-src http://172.29.157.20/launchpad/kylin v101 main multiverse restricted universe
+deb-src http://172.29.157.20/launchpad/kylin-desktop v101 main multiverse restricted universe
 
 # 可选
-# deb http://172.29.158.30/launchpad/kylin v101-security main multiverse restricted universe
-# deb http://172.29.158.30/launchpad/kylin-desktop v101-updates main multiverse restricted universe
-# deb http://172.29.158.30/launchpad/kylin-desktop v101-proposed main multiverse restricted universe
-# deb-src http://172.29.158.30/launchpad/kylin v101-security main multiverse restricted universe
-# deb-src http://172.29.158.30/launchpad/kylin-desktop v101-updates main multiverse restricted universe
-# deb-src http://172.29.158.30/launchpad/kylin-desktop v101-proposed main multiverse restricted universe
+# deb http://172.29.157.20/launchpad/kylin v101-security main multiverse restricted universe
+# deb http://172.29.157.20/launchpad/kylin-desktop v101-updates main multiverse restricted universe
+# deb http://172.29.157.20/launchpad/kylin-desktop v101-proposed main multiverse restricted universe
+# deb-src http://172.29.157.20/launchpad/kylin v101-security main multiverse restricted universe
+# deb-src http://172.29.157.20/launchpad/kylin-desktop v101-updates main multiverse restricted universe
+# deb-src http://172.29.157.20/launchpad/kylin-desktop v101-proposed main multiverse restricted universe

+ 2 - 2
kylin-os-installer/调试.sh

@@ -1,7 +1,7 @@
 # 将本机开发环境的代码挂载到运行kylin-os-install的环境里
 [ -d /zhen ] || mkdir /zhen
-# mount -t cifs //172.29.158.30/root_dir/data/source/kylin-os-installer/kylin-os-installer-0.1.211 /zhen -o username=zhen,password=zhen,uid=$USER,gid=$USER
-mount -t cifs //172.29.158.30/root_dir/data/source/kylin-os-installer/kylin-os-installer-0.1.211 /zhen -o username=zhen,password=zhen
+# mount -t cifs //172.29.157.20/root_dir/data/source/kylin-os-installer/kylin-os-installer-0.1.211 /zhen -o username=zhen,password=zhen,uid=$USER,gid=$USER
+mount -t cifs //172.29.157.20/root_dir/data/source/kylin-os-installer/kylin-os-installer-0.1.211 /zhen -o username=zhen,password=zhen
 mv /usr/share/kylin-os-installer/scripts /usr/share/kylin-os-installer/scripts-bak
 ln -sf /zhen/scripts /usr/share/kylin-os-installer/scripts
 

+ 11 - 11
www/html/index.html

@@ -37,22 +37,22 @@
 
 <body>
     <h1>本地软件源(V10 SP1 Desktop)</h1>
-    <div>目录:<a href="http://172.29.158.30/kylin/KYLIN-ALL/dists/">dists/</a></div>
-    <div>目录:<a href="http://172.29.158.30/kylin/KYLIN-ALL/pool/">pool/</a></div>
+    <div>目录:<a href="http://172.29.157.20/kylin/KYLIN-ALL/dists/">dists/</a></div>
+    <div>目录:<a href="http://172.29.157.20/kylin/KYLIN-ALL/pool/">pool/</a></div>
 <!--
     <h4>修改 /etc/apt/sources.list</h4>
     <p>
         deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe multiverse<br>
         deb http://archive.kylinos.cn/kylin/partner 10.1 main<br>
         替换为<br>
-        deb http://172.29.158.30/kylin/KYLIN-ALL 10.1 main restricted universe multiverse<br>
-        deb http://172.29.158.30/kylin/partner 10.1 main
+        deb http://172.29.157.20/kylin/KYLIN-ALL 10.1 main restricted universe multiverse<br>
+        deb http://172.29.157.20/kylin/partner 10.1 main
     <pre>
 <code>sudo cp /etc/apt/sources.list{,.bak}
-sudo sed -i 's/archive.kylinos.cn/172.29.158.30/g' /etc/apt/sources.list
+sudo sed -i 's/archive.kylinos.cn/172.29.157.20/g' /etc/apt/sources.list
 sudo tee /etc/apt/sources.list << EOF
-deb http://172.29.158.30/kylin v101 main restricted universe multiverse
-deb-src http://172.29.158.30/kylin v101 main restricted universe multiverse
+deb http://172.29.157.20/kylin v101 main restricted universe multiverse
+deb-src http://172.29.157.20/kylin v101 main restricted universe multiverse
 EOF
 </code></pre>
     </p>
@@ -97,10 +97,10 @@ EOF
 
     <h1>下载</h1>
     <ul>
-        <!-- <li><a href="http://172.29.158.30/JetBrains/">JetBrains</a></li> -->
-        <!-- <li><a href="http://172.29.158.30/soft/">soft</a></li> -->
-        <li><a href="http://172.29.158.30/iso/">iso</a></li>
-        <!-- <li><a href="http://172.29.158.30/work/">work</a></li> -->
+        <!-- <li><a href="http://172.29.157.20/JetBrains/">JetBrains</a></li> -->
+        <!-- <li><a href="http://172.29.157.20/soft/">soft</a></li> -->
+        <li><a href="http://172.29.157.20/iso/">iso</a></li>
+        <!-- <li><a href="http://172.29.157.20/work/">work</a></li> -->
     </ul>
 
     <div style="height: 100px;"></div>

+ 1 - 1
yocto/rpi4.sh

@@ -7,7 +7,7 @@ function update_syntx() {
 function apt_list() {
     for i in $(awk '{print $2}' /data/temp/rpi4.list); do
         # echo $i
-        if grep -rn -q "^Package: $i$" /data/temp/lists/172.29.158.30*; then
+        if grep -rn -q "^Package: $i$" /data/temp/lists/172.29.157.20*; then
             echo "has === $i"
         else
             echo "no *** $i"