2016-08-13 29 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?