Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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