$ git clone -n https://gitee.com/src-anolis-os/selinux-policy.git /var/lib/mock/dist-an8.7-build-248422-62522/root/chroot_tmpdir/scmroot/selinux-policy Cloning into '/var/lib/mock/dist-an8.7-build-248422-62522/root/chroot_tmpdir/scmroot/selinux-policy'... $ git reset --hard 7394d1e5d47ff0f4355cd5efa4a63fbbe7e8f066 HEAD is now at 7394d1e spec: disable selinux by default $ wget -O selinux-policy-c035fdc.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/selinux-policy-c035fdc.tar.gz.1485dd96d3a40a7a943fd3a04280533d --2023-04-07 13:49:48-- http://build.openanolis.cn/kojifiles/upstream-source/selinux-policy-c035fdc.tar.gz.1485dd96d3a40a7a943fd3a04280533d Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 408262 (399K) [application/x-gzip] Saving to: ‘selinux-policy-c035fdc.tar.gz’ 0K .......... .......... .......... .......... .......... 12% 201M 0s 50K .......... .......... .......... .......... .......... 25% 370M 0s 100K .......... .......... .......... .......... .......... 37% 399M 0s 150K .......... .......... .......... .......... .......... 50% 449M 0s 200K .......... .......... .......... .......... .......... 62% 331M 0s 250K .......... .......... .......... .......... .......... 75% 401M 0s 300K .......... .......... .......... .......... .......... 87% 454M 0s 350K .......... .......... .......... .......... ........ 100% 460M=0.001s 2023-04-07 13:49:48 (359 MB/s) - ‘selinux-policy-c035fdc.tar.gz’ saved [408262/408262] $ wget -O selinux-policy-contrib-2162279.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/selinux-policy-contrib-2162279.tar.gz.7ecceac2a09e4147900e3d8c0057f0c1 --2023-04-07 13:49:50-- http://build.openanolis.cn/kojifiles/upstream-source/selinux-policy-contrib-2162279.tar.gz.7ecceac2a09e4147900e3d8c0057f0c1 Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 621797 (607K) [application/x-gzip] Saving to: ‘selinux-policy-contrib-2162279.tar.gz’ 0K .......... .......... .......... .......... .......... 8% 188M 0s 50K .......... .......... .......... .......... .......... 16% 378M 0s 100K .......... .......... .......... .......... .......... 24% 467M 0s 150K .......... .......... .......... .......... .......... 32% 437M 0s 200K .......... .......... .......... .......... .......... 41% 412M 0s 250K .......... .......... .......... .......... .......... 49% 464M 0s 300K .......... .......... .......... .......... .......... 57% 396M 0s 350K .......... .......... .......... .......... .......... 65% 448M 0s 400K .......... .......... .......... .......... .......... 74% 389M 0s 450K .......... .......... .......... .......... .......... 82% 467M 0s 500K .......... .......... .......... .......... .......... 90% 479M 0s 550K .......... .......... .......... .......... .......... 98% 464M 0s 600K ....... 100% 379M=0.002s 2023-04-07 13:49:50 (391 MB/s) - ‘selinux-policy-contrib-2162279.tar.gz’ saved [621797/621797]