我已经安装了dh-make,按照此页的建议安装了其他依赖于它的包(我列出了所有可以安装它的软件包,因为我不确定是哪个包安装的):
sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file然后用以下方式运行:
dh_make在我的文件夹所在的目录中,包含我的bash脚本(该文件夹的名称基于模板<packagename>-<version>),但是现在它给了我以下选项:
Type of package: single binary, indep binary, multiple binary, library, kernel module, kernel patch?
[s/i/m/l/k/n]当我正在打包bash脚本时,如果有的话,我应该选择哪一个呢?这些都是什么意思?
Description: Ubuntu 14.10
Release: 14.10dh-make:
Installed: 1.20140617
Candidate: 1.20140617
Version table:
*** 1.20140617 0
500 http://gb.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status发布于 2015-03-28 17:48:40
这些选项的说明都是在man dh_make中提供的:
Single binary (s)
The package will generate a single binary .deb package. It is
the standard case, so if you don't know what to do, choose this.
Arch-Independent (i)
The package will generate a single package that is arch-
independent.
Multiple binary (m)
The package will generate multiple binary .deb packages from one
source package. Choose this for larger packages that need to be
split.
Library (l)
The package will generate at least two binaries. One library
package containing just the lib in /usr/lib and another
*-dev_*.deb package containing documentation and C headers.
Kernel module (k)
The package will generate a binary-all kernel module -source
package for use with the make-kpkg(1) command. It also generates
a binary package for additional utilities, daemons, etc. that
may come with the source.
Kernel patch
The package will generate a package that can be used for kernel
patches.s,但在您的示例中,它是一个shell脚本,它不依赖于目标系统的体系结构,所以选择i。m (多个二进制文件),它将生成多个包(例如各种vim包,它们都是从同一个源包生成的)。https://askubuntu.com/questions/602441
复制相似问题