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 doing a really simple deploy[1], but I would love to have a lighter/cleaner way to install the kernel part. I am open to new ideas! For the moment, the whole package (xz) weights 175MB... [1] simple kernel install: https://github.com/txomon/rtai-package/blob/6487c1db14672810fa0a9e8243918dd4b091001c/PKGBUILD#L124-L144 On Tue, Mar 24, 2015 at 8:23 PM Javier Domingo Cansino <[email protected]> wrote: > 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 <[email protected]> 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 >> >> [0] https://aur.archlinux.org/packages/asp-git/ >> > > > > -- > Javier Domingo Cansino >
