Re: [aur-general] Linux packaging

2015-04-23 Thread Javier Domingo Cansino
Hi, I have advanced with the packaging, but I am now facing a new challenge. I have seen that linux PKGBUILD is really long, and not precisely simple. And thinking about a simpler solution, I have thought about make deb-pkg/rpm-pkg and dumping the contents to $pkgbuild. For the moment, I am

[aur-general] Linux packaging

2015-03-24 Thread Javier Domingo Cansino
Hi, I am looking to package rtai, which was already packaged some years ago. I want to make it easily updatable, and I have a problem. ​ ​ RTAI is a kernel patch and some other stuff. ​ I am now trying to obtain the linux config for an specific arch kernel. I was trying to extract it from

Re: [aur-general] Linux packaging

2015-03-24 Thread Ido Rosen
Some options: yaourt -G linux https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux git clone packages.git with --depth 1 (shallow clone) On Tue, Mar 24, 2015 at 2:25 PM, Javier Domingo Cansino javier...@gmail.com wrote: Hi, I am looking to package rtai, which

Re: [aur-general] Linux packaging

2015-03-24 Thread Javier Domingo Cansino
Yeah, but the problem is about achieving a config for version X, not the latest. RTAI ships on each release patches for specific versions... On Tue, Mar 24, 2015 at 7:34 PM, Ido Rosen i...@kernel.org wrote: also https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux

Re: [aur-general] Linux packaging

2015-03-24 Thread Javier Domingo Cansino
The idea is to then create a VCS package that tracks the project, so work on having a proper config for an specific version can be reused. On Tue, Mar 24, 2015 at 7:39 PM, Javier Domingo Cansino javier...@gmail.com wrote: Yeah, but the problem is about achieving a config for version X, not the

Re: [aur-general] Linux packaging

2015-03-24 Thread Dave Reisner
On Tue, Mar 24, 2015 at 07:25:51PM +0100, Javier Domingo Cansino wrote: Hi, I am looking to package rtai, which was already packaged some years ago. I want to make it easily updatable, and I have a problem. ​ ​ RTAI is a kernel patch and some other stuff. ​ I am now trying to obtain the

Re: [aur-general] Linux packaging

2015-03-24 Thread Javier Domingo Cansino
I don't like adding such a dependency, but you indirectly guided me to the solution. The packages.git repo has a branch for each package where only that package's history is kept. That's all I needed to know, thank you very much! I will now create a script to extract the commit I need, Thanks!