rename docs

This commit is contained in:
z4yx 2020-06-26 10:54:54 +08:00
parent 9751935b13
commit dc411ef912
No known key found for this signature in database
GPG Key ID: 8D451F061C0FF61B
2 changed files with 5 additions and 9 deletions

View File

@ -1,7 +1,7 @@
---
category: help
layout: help
mirrorid: raspbian
mirrorid: raspberry-pi-os
---
## Raspberry Pi OS 镜像使用帮助
@ -52,8 +52,8 @@ testing 版本的 7.0/wheezy所以 Raspberry Pi OS 不倾向于使用 stable/
{% raw %}
<script id="apt-template" type="x-tmpl-markup">
# 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspbian/raspbian/ {{release_name}} main non-free contrib rpi
deb-src http://{%endraw%}{{ site.hostname }}{%raw%}/raspbian/raspbian/ {{release_name}} main non-free contrib rpi
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberry-pi-os/raspbian/ {{release_name}} main non-free contrib rpi
deb-src http://{%endraw%}{{ site.hostname }}{%raw%}/raspberry-pi-os/raspbian/ {{release_name}} main non-free contrib rpi
# 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} main ui
@ -66,10 +66,6 @@ deb http://{%endraw%}{{ site.hostname }}{%raw%}/raspberrypi/ {{release_name}} ma
</code>
</pre>
注意:网址末尾的`raspbian`重复两次是必须的。因为 RPi OS 的仓库中除了APT软件源还包含其他代码。APT软件源不在仓库的根目录而在`raspbian/`子目录下。
编辑镜像站后,请使用`sudo apt-get update`命令,更新软件源列表,同时检查您的编辑是否正确。

View File

@ -306,10 +306,10 @@ pattern = deepin-([0-9.]+)-(\w+).iso
version = $1
platform = $2
[raspbian]
[raspberry-pi-os]
distro = Raspberry Pi OS (原 Raspbian)
listvers = 1
location = raspbian-images/raspios*/images/raspios*/*.zip
location = raspberry-pi-os-images/raspios*/images/raspios*/*.zip
pattern = ([-0-9]+)-raspios-(.+)-(.+)\.zip
platform = $3
type = $2