简体   繁体   English

启动板PPA的包装

[英]Packaging for Launchpad PPA

I want to start with what I have and end up with what I need. 我想从我所拥有的开始,最后到我所需要的。

I have: 我有:

  • a folder with some files 包含一些文件的文件夹
  • a post install bash script that will do some wonders in the system (bash command, completion, etc) 一个安装后的bash脚本,它将在系统中产生一些奇迹(bash命令,完成等)

I need: 我需要:

  • copy my directory to specified location 将我的目录复制到指定位置
  • execute my post install bash script 执行我的安装后bash脚本
  • create a package for Launchpad ppa so I can easily add my repository and install my package that will resolve my dependencies through aptitute and do all above 为Launchpad ppa创建一个程序包,这样我就可以轻松添加存储库并安装程序包,该程序包将通过aptitute解决我的依赖关系并执行上述所有操作

What I did: 我做了什么:

  • mostly nothing useful 几乎没有什么用
    • created a simple deb package that I can install though dpkg -i package.deb (doesn't resolve my dependencies, just check if are installed) 创建了一个可以通过dpkg -i package.deb安装的简单deb软件包(无法解析我的依赖项,仅检查是否已安装)
    • followed a very big tutorial (the only one I found http://goo.gl/M7eIv ): 跟随了一个非常大的教程(我找到的唯一一个http://goo.gl/M7eIv ):
    • added GPG keys and installed all the dependencies but I'm lost at the part where I have to create the actual package. 添加了GPG密钥并安装了所有依赖项,但是我在必须创建实际包的部分迷失了。

Can someone offer me a good tutorial that google doesn't consider it relevant to me or point me in the right direction ? 有人可以给我提供一个很好的教程,让Google认为它与我无关或指向正确的方向吗? I also want to mention that I have some basic-intermediary linux skill (I don't really know how to autoevaluate me) 我还想提到我有一些基本的Linux中间技巧(我真的不知道如何自我评估)

在八个小时的不睡觉之后,我发现了三粒红辣椒和一杯咖啡,它确实起作用了: https ://www.ebower.com/docs/ubuntu-ppa/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM