2016-08-13 116 views

回答

0

让我们假设你有所需的文件:controlconffilespckg_namepckg_name.conf/home/user_name/

packg_name/package_name_1/DEBIAN/control 
packg_name/package_name_1/DEBIAN/conffiles 
packg_name/usr/bin/packg_name 
packg_name/etc/packg_name.conf 

packg_name_1下=的packg_name

1.0版本控制文件将包含类似的一些信息:

Package: packg_name 
Version: 1 
Maintainer: Mox 
Depends: e,g : dkms 
Priority: optional 
Architecture: all 
Description: Put the description here 

变化的所有文件的所有权根:

chown -R root:root packg_name/package_name_1 

然后,使用dpkg-deb构建软件包:

dpkg-deb --build packg_name/package_name_1 

What is a Debian control file?

What is a Debian conffile?