diff --git "a/DEVELOPER_DOCS/\350\277\233\351\230\266\345\274\200\345\217\221/Anolis\345\206\205\346\240\270\350\241\245\344\270\201\345\220\210\345\205\245\345\256\236\350\267\265.md" "b/DEVELOPER_DOCS/\350\277\233\351\230\266\345\274\200\345\217\221/Anolis\345\206\205\346\240\270\350\241\245\344\270\201\345\220\210\345\205\245\345\256\236\350\267\265.md" index b7ddcdba2030bf0cd7176a8d89113381fea6e5d1..dd9acce8d1052f5b222aee316f8130b1cf4b8368 100644 --- "a/DEVELOPER_DOCS/\350\277\233\351\230\266\345\274\200\345\217\221/Anolis\345\206\205\346\240\270\350\241\245\344\270\201\345\220\210\345\205\245\345\256\236\350\267\265.md" +++ "b/DEVELOPER_DOCS/\350\277\233\351\230\266\345\274\200\345\217\221/Anolis\345\206\205\346\240\270\350\241\245\344\270\201\345\220\210\345\205\245\345\256\236\350\267\265.md" @@ -44,15 +44,15 @@ **vim /etc/yum.repos.d/local.repo** [BaseOS] -name=BaseOS -baseurl=[file:///mnt/iso/BaseOS](file:///mnt/iso/BaseOS) -gpgcheck=0 -enabled=1 -[AppStream] -name=AppStream -baseurl=[file:///mnt/iso/AppStream](file:///mnt/iso/AppStream) -gpgcheck=0 -enabled=1 +name=BaseOS
+baseurl=[file:///mnt/iso/BaseOS](file:///mnt/iso/BaseOS)
+gpgcheck=0
+enabled=1
+[AppStream]
+name=AppStream
+baseurl=[file:///mnt/iso/AppStream](file:///mnt/iso/AppStream)
+gpgcheck=0
+enabled=1
最后,执行yum makecache。 @@ -77,7 +77,7 @@ wget [https://mirrors.openanolis.cn/anolis/8.2/PowerTools/x86\_64/os/Packages/li 首先,切到mockbuild用户,然后下载安装内核源码。 内核源码下载链接: -https://mirrors.openanolis.cn/anolis/8.2/BaseOS/source/Packages/kernel-4.18.0-193.70.1.an8\_2.src.rpm +https://mirrors.openanolis.cn/anolis/8.2/BaseOS/source/Packages/kernel-4.18.0-193.70.1.an8_2.src.rpm **su - mockbuild**