使用reprepro搭建一个deb repo
https://wiki.debian.org/DebianRepository/SetupWithReprepro
生成gpgkey
$ gpg --gen-key
建立仓库目录
$ mkdir -p /srv/d/apt/debian/conf
配置
# /srv/d/apt/debian/conf/distributions Origin: YaCHEN Deb Repo Label: YaCHEN Deb Repo Codename: all Architectures: amd64 Components: main Description: Apt repository of yachen SignWith: D338CF4BC6C9728631451F109CD6288D4A572568
# /srv/d/apt/debian/conf/options
verbose
basedir /srv/d/apt/debian
ask-passphrase
添加deb:
$ reprepro includedeb all aaa.deb
导出gpg pubkey
$ gpg --output yachen-dearmor.gpg --export-options export-minimal --export <key-id>
key-id可以通过gpg --list-keys查看
发表于 2023-12-29 10:54:32 并被添加「」标签,阅读量: 3197 。
此处评论已关闭