Creating a .deb with Apache Ant and without dpkg

ぐ巨炮叔叔 提交于 2020-01-05 02:53:08

问题


I'm trying to create a buildfile for creating .deb installation files.

So far, so fine. My goal is to avoid dpkg, so that the build can be done from any plattform.

Now that I created all the artifacts (control.tar.gz, data.tar.gz, debian-binary) I need an Ant-Task to package these Files in a deb-File.

A deb File is just an Ar(l)-Archive, but I couldn't figure out how to create such an Archive with Ant.

I just found some "ArFileSet", so I think there is a possibility, but I don't know how and where to use this arFileSet.


回答1:


You could use one of the thirdparty Ant tasks for building .deb packages:

  • ant-deb-task
  • JDeb


来源:https://stackoverflow.com/questions/5576265/creating-a-deb-with-apache-ant-and-without-dpkg

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!