LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-19-2008, 03:51 AM   #1
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Rep: Reputation: 15
build a slackware12.1 package


Hi all,

I have recompiled the slackware 12.1 kernel-2.6.24.5 with vmware modules. I need to build this kernel as package. Can you tell me the steps to build the slackware package?

Thanks in advance
geetha
 
Old 06-19-2008, 07:43 AM   #2
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
reference: http://slackware.osuosl.org/slackware_source/k/
 
Old 06-19-2008, 10:59 PM   #3
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Hi

Thanks for your response

The link is for downloading the kernel, there is no information for building package as linux kernel. Please help..

thanks
geetha
 
Old 06-20-2008, 03:23 AM   #4
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
Quote:
Originally Posted by geetha_sg View Post
Hi

Thanks for your response

The link is for downloading the kernel, there is no information for building package as linux kernel. Please help..

thanks
geetha
No the link is not for downloading the kernel. It points to the directories containing the slackbuild scripts (*.SlackBuild) Pat used to create the kernel packages. Just follow them to create your own package.
 
Old 06-20-2008, 09:50 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Personally I would suggest that you keep the vmware modules separate from your kernel package. Either make a separate package for vmware or just use its uninstall routine (and pay attention to the uninstall messages as it won't completely uninstall itself).

The official Slackware packages keep kernels and modules separate as well. So, if anything, you would be adding the vmware modules to your custom modules package. If you do want it all in one big package it is very easy to manually make this package.

Kernel and module files are so easy to install/uninstall manually that I question the usefulness of making custom packages for them in the first place. You just throw three files under /boot (optionally change the symlinks), your modules folder under /lib/modules, add a /etc/rc.d/rc.modules* file, and edit and run lilo. The last step, of course, cannot be a part of the package, so you will always have some manual work regardless.
 
Old 06-25-2008, 11:44 PM   #6
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Original Poster
Rep: Reputation: 15
I have build a package using this script, but when i installed this getting intel_agp: version magic '2.6.24.5 mod_unload 686' should be '2.6.24.5 mod_unload 486' both are same configuration

Please help me

thanks in advance
Sg..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware12 .. Fstab and Package Questions orbit Slackware 34 01-09-2009 03:02 AM
How to build a slackware package : itz2000 Slackware 12 05-15-2007 07:47 PM
package build error help thushara Linux - Newbie 2 03-31-2005 03:24 PM
package build error help thushara Linux - General 1 03-31-2005 08:49 AM
Build iso from package AwesomeMachine Linux - Software 1 01-28-2005 04:12 AM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration