[opensuse-kernel] Creating a tarball from and OBS kernel project
![](https://seccdn.libravatar.org/avatar/0c18cf5651bb5ad3c8c6cd10467be536.jpg?s=120&d=mm&r=g)
Aloha, I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver? Thanks, Andy -- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/37b375bc48e85cee555b9827eb5a4d52.jpg?s=120&d=mm&r=g)
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :) Seriously, you should just be able to install the kernel-source package and then point your driver's build system at that tree. Note, closed driver build systems are normally horrible to work, so that might be the issues you are running into, but as you didn't say what the problem is, it's hard to guess... Actually, shouldn't you be asking the company who gave you that driver as to how to build it? good luck, you will need it... greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/0c18cf5651bb5ad3c8c6cd10467be536.jpg?s=120&d=mm&r=g)
On 1 August 2013 15:33, Greg KH <gregkh@linux.com> wrote:
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Yeah I know, and I'm going to make sure I pass that suffering on :)
Seriously, you should just be able to install the kernel-source package and then point your driver's build system at that tree. Note, closed driver build systems are normally horrible to work, so that might be the issues you are running into, but as you didn't say what the problem is, it's hard to guess...
That's what I thought, but when I point the driver to the tree it complaions of no .config. So is there a way of getting the kernel source tree into a state as if I had just run 'make config'? So the linux-$FOO.tar.bz2 + patches applied + config.
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
I've got the instructions which point me to an specific tree, I want to be able to build this and show it running on openSUSE as we have everything else already working apart from this driver - heck it may even give the company the push it needs to either open up or help more with the community.
good luck, you will need it...
You fill me with confidence ;) Regards, Andy -- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
В Thu, 1 Aug 2013 15:55:07 +0100 Andrew Wafaa <awafaa@opensuse.org> пишет:
On 1 August 2013 15:33, Greg KH <gregkh@linux.com> wrote:
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Yeah I know, and I'm going to make sure I pass that suffering on :)
Seriously, you should just be able to install the kernel-source package and then point your driver's build system at that tree. Note, closed driver build systems are normally horrible to work, so that might be the issues you are running into, but as you didn't say what the problem is, it's hard to guess...
That's what I thought, but when I point the driver to the tree it complaions of no .config. So is there a way of getting the kernel source tree into a state as if I had just run 'make config'? So the linux-$FOO.tar.bz2 + patches applied + config.
That is what kernel-${flavor}-devel packages are for.
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
I've got the instructions which point me to an specific tree, I want to be able to build this and show it running on openSUSE as we have everything else already working apart from this driver - heck it may even give the company the push it needs to either open up or help more with the community.
good luck, you will need it...
You fill me with confidence ;)
Regards,
Andy
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/0c18cf5651bb5ad3c8c6cd10467be536.jpg?s=120&d=mm&r=g)
On 1 August 2013 17:37, Andrey Borzenkov <arvidjaar@gmail.com> wrote:
В Thu, 1 Aug 2013 15:55:07 +0100 Andrew Wafaa <awafaa@opensuse.org> пишет:
On 1 August 2013 15:33, Greg KH <gregkh@linux.com> wrote:
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Yeah I know, and I'm going to make sure I pass that suffering on :)
Seriously, you should just be able to install the kernel-source package and then point your driver's build system at that tree. Note, closed driver build systems are normally horrible to work, so that might be the issues you are running into, but as you didn't say what the problem is, it's hard to guess...
That's what I thought, but when I point the driver to the tree it complaions of no .config. So is there a way of getting the kernel source tree into a state as if I had just run 'make config'? So the linux-$FOO.tar.bz2 + patches applied + config.
That is what kernel-${flavor}-devel packages are for.
Ah, OK thanks for that. I'll give it a whirl and see what happens then. Thanks!
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
I've got the instructions which point me to an specific tree, I want to be able to build this and show it running on openSUSE as we have everything else already working apart from this driver - heck it may even give the company the push it needs to either open up or help more with the community.
good luck, you will need it...
You fill me with confidence ;)
Regards,
Andy
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/8434092a3798a0467c3f2371ef030fc6.jpg?s=120&d=mm&r=g)
On 8/1/2013 10:33 AM, Greg KH wrote:
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
Spoken like someone who hasn't had to pay $9,000 each for T1-PRI faxmodem cards from a company that no longer exists. It's not always video cards, and sometimes an old piece of hardware is not obsolete just because it's 5 or 6 years old because, for instance this example, the phone company and the fax protocol has not changed. -- bkw -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/06dc736c4537b6783dada09ffa12d22d.jpg?s=120&d=mm&r=g)
On Fri, Aug 02, 2013 at 10:45:27PM -0400, Brian K. White wrote:
On 8/1/2013 10:33 AM, Greg KH wrote:
On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
Spoken like someone who hasn't had to pay $9,000 each for T1-PRI faxmodem cards from a company that no longer exists.
No, it's spoken like someone who has ensured that contracts for hardware have language in them that ensure the source for the drivers is open, because I want the hardware to work for a long amount of time.
It's not always video cards, and sometimes an old piece of hardware is not obsolete just because it's 5 or 6 years old because, for instance this example, the phone company and the fax protocol has not changed.
I never said it was video cards only, I deal with people every week who are struggling with closed source drivers, and the hell that they cause, and the money that they waste. good luck with your faxmodem hardware. greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (5)
-
Andrew Wafaa
-
Andrey Borzenkov
-
Brian K. White
-
Greg KH
-
Greg KH