Главная » Статьи » Linux |
Build deb from prebuilt binary
mkdir ~/build_dir cd ~/build_dir mkdir -p new_package/DEBIAN cat <<EOF >> new_package/DEBIAN/control Package: new-my-package Architecture: all Maintainer: my_name Priority: optional Version: 1.0 Description: My new package description EOF mkdir -p new_package/opt/ cp <binary> new_package/opt/ dpkg-deb --build my_package_name http://www.hackgnar.com/2016/01/simple-deb-package-creation.html Источник: http://www.hackgnar.com/2016/01/simple-deb-package-creation.html | |
Просмотров: 560 | | |
Всего комментариев: 0 | |