Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation about Debian installation #217

Merged
merged 5 commits into from Mar 11, 2020

Conversation

@SilverRainZ
Copy link
Member

SilverRainZ commented Mar 8, 2020

No description provided.

@SilverRainZ SilverRainZ force-pushed the chore/update-debian-doc branch from 9af7d6d to a2bffe0 Mar 8, 2020
@SilverRainZ

This comment has been minimized.

Copy link
Member Author

SilverRainZ commented Mar 8, 2020

@tomac4t Q_Q 能简要补充一下怎么 build 么? dpkg-buildpackage -b 就好?

@tomac4t

This comment has been minimized.

Copy link
Contributor

tomac4t commented Mar 8, 2020

大致是把 debian 目录拷贝到 srain 下(和 df 妈妈那个分支的做法一样),然后在 srain 目录下执行 dpkg-buildpackage -b -us -uc

后面这几个 flag 的含义抄一下博远的博客:

-b 不构建源码包,不使用上游 tarball,只使用当前目录下已解压缩的源代码构建二进制包。
-us 不要对源码包数字签名。不过我们不构建源码包的话,这个参数没什么作用。
-uc 不要对自动生成的 .changes 文件数字签名。
https://hosiet.me/blog/2016/09/15/make-debian-package-with-git-the-canonical-way/

(数字签名会默认使用 changelog 里邮箱对应的 PGP key 签,当然也可以指定特定的 key;数字签名不影响打包。懒得写英文了 pwp,@SilverRainZ


一些进 Debian 官方源的信息:
Introduction for maintainers: How will my package get into Debian: https://mentors.debian.net/intro-maintainers

@SilverRainZ SilverRainZ force-pushed the chore/update-debian-doc branch from e224ac0 to d7f68b1 Mar 11, 2020
@SilverRainZ SilverRainZ merged commit 2a6c00f into master Mar 11, 2020
1 check passed
1 check passed
build
Details
@SilverRainZ SilverRainZ deleted the chore/update-debian-doc branch Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.