I am trying to make a deb package of software for makinging a NAS out of an Ubuntu installation. The software requires kernel patches to be applied therefore the package must use a special kernel build where I have applied the patches. How can I require a minimum kernel version requirment. Right now I am basing my stuff off of kernel 2.6.38-12.51-scst. But in the future I will update the kernel to stay current as much as possible. How can I setup the deb package to allow for the current kernel and ones to follow? They will all be tagged with -scst from this point on.

link|improve this question

76% accept rate
feedback

1 Answer

up vote 1 down vote accepted

In the control file for the .deb package, you can set the dependency line to require it.

Depends: kernel (>= 2.6.38-12.51)

I do not know the exact package name, but that's an example of the line.

link|improve this answer
Perfect! Thanks for the quick answer. – Solignis Oct 4 '11 at 0:41
@Solignis if this helped you and worked, perhaps you should mark it as the correct answer. – Simon Sheehan Oct 17 '11 at 1:42
Yep just, did sry about the delay. – Solignis Oct 19 '11 at 19:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.