mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-16 09:59:32 +08:00
71 lines
1.9 KiB
Markdown
71 lines
1.9 KiB
Markdown
<!-- -----------------------------------------------------------
|
|
! SPDX-License-Identifier: GPL-3.0-or-later
|
|
! -------------------------------------------------------------
|
|
! Config Type : rawstr4c (Markdown)
|
|
! Config Authors: Aoran Zeng <ccmywish@qq.com>
|
|
! Contributors : Nil Null <nil@null.org>
|
|
! Created On : <2025-07-14>
|
|
! Last Modified : <2025-08-08>
|
|
! ---------------------------------------------------------- -->
|
|
|
|
# rawstr4c input
|
|
|
|
- prefix = `RAWSTR_os_apt_based`
|
|
- output = `:global-variable-only-header`
|
|
- translate = `:hex`
|
|
- no-postfix = `true`
|
|
|
|
|
|
|
|
## Ubuntu old source list
|
|
|
|
```sh
|
|
# Generated by chsrc @v@
|
|
deb @1@/ubuntu @2@ main restricted universe multiverse
|
|
deb @1@/ubuntu @2@-updates main restricted universe multiverse
|
|
deb @1@/ubuntu @2@-backports main restricted universe multiverse
|
|
deb @1@/ubuntu @2@-security main restricted universe multiverse
|
|
```
|
|
|
|
|
|
|
|
## Debian 12 source list
|
|
|
|
```sh
|
|
# Generated by chsrc @v@
|
|
deb @1@/debian @2@ main contrib non-free non-free-firmware
|
|
deb @1@/debian @2@-updates main contrib non-free non-free-firmware
|
|
deb @1@/debian @2@-backports main contrib non-free non-free-firmware
|
|
deb @1@/debian-security @2@-security main contrib non-free non-free-firmware
|
|
```
|
|
|
|
从 Debian 12 开始,开始有一项 `non-free-firmware`
|
|
|
|
- https://wiki.debian.org/SourcesList
|
|
- https://mirrors.tuna.tsinghua.edu.cn/help/debian/
|
|
|
|
|
|
|
|
## Debian 11 source list
|
|
|
|
```sh
|
|
# Generated by chsrc @v@
|
|
deb @1@/debian @2@ main contrib non-free
|
|
deb @1@/debian @2@-updates main contrib non-free
|
|
deb @1@/debian @2@-backports main contrib non-free
|
|
deb @1@/debian-security @2@-security main contrib non-free
|
|
```
|
|
|
|
|
|
## Debian 10 source list
|
|
|
|
```sh
|
|
# Generated by chsrc @v@
|
|
deb @1@/debian @2@ main contrib non-free
|
|
deb @1@/debian @2@-updates main contrib non-free
|
|
deb @1@/debian @2@-backports main contrib non-free
|
|
deb @1@/debian-security @2@/updates main contrib non-free
|
|
```
|
|
|
|
上述 debian-security 这种写法是和 Debian 11 不同的,我们只支持到这里
|