add new chinese translations
This commit is contained in:
16
pages.zh/linux/createrepo.md
Normal file
16
pages.zh/linux/createrepo.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# createrepo
|
||||
|
||||
> 在目录中初始化一个RPM仓库,包括所有的XML和SQLite文件。
|
||||
> 更多信息:<https://manned.org/createrepo>。
|
||||
|
||||
- 在目录中初始化一个基本的仓库:
|
||||
|
||||
`createrepo {{path/to/directory}}`
|
||||
|
||||
- 初始化一个仓库,排除测试RPM并显示详细日志:
|
||||
|
||||
`createrepo -v -x {{test_*.rpm}} {{path/to/directory}}`
|
||||
|
||||
- 初始化一个仓库,使用SHA1作为校验和算法,并忽略符号链接:
|
||||
|
||||
`createrepo -S -s {{sha1}} {{path/to/directory}}`
|
Reference in New Issue
Block a user