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! On Tue, Mar 24, 2015 at 7:40 PM, Dave Reisner <d@falconindy.com> wrote:
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 linux config for an specific arch kernel.
I was trying to extract it from packages.git, but it's a monstrous repo and not a good way to obtain the needed object without downloading it all .
The svn version is also quite hacky , but more affordable, I would svn log, search for the most close version bump commit and extract that config file (along with the patch).
Is there any recommended method to build a linux kernel of X version without having to package the config files?
Or maybe a git tree that is smaller and reasonable to clone.
You can use asp[0] to do a piecemeal checkout. 'asp checkout linux' will give you a tidy git repo with full history of the package.
dR
-- Javier Domingo Cansino