我已经使用Ubuntu包装指南为Ubuntu构建了一个包。这很好,直到我想在安装后配置软件包。通常debian包会得到一个postinst文件来完成这个任务。bzr dh-make创建一个似乎不被执行的postinst.ex文件。我已经添加了一个postinst文件,但是不管我尝试了什么权限和文件名添加,该文件似乎都没有被包含,也没有执行。我正在使用bzr builddeb构建包。
如何正确地将安装脚本包含到包中?
编辑:感谢慕鲁!我只需要添加带有debian/postinst的bzr add文件。
发布于 2015-09-22 18:28:22
bzr builddeb的S选项包括:
--strict Refuse to build if there are unknown files in the working tree, --no-strict disables the check.这使我认为它将只包含那些在构建包时添加到分支中的文件。因此,尝试使用postinst添加bzr add。
https://askubuntu.com/questions/677168
复制相似问题