LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-24-2005, 05:52 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,178

Rep: Reputation: 47
scripting module making & installing


Making modules after a kernel build takes forever. Installing them takes a while too. Can I script these in bash like this:

make modules
make modules_install

The above can be called modules.sh and executed like this:

chmod +x modules.sh
sh modules.sh

Would this build & install my modules?
 
Old 03-24-2005, 06:23 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,290

Rep: Reputation: 69
Before run the make command, be sure your script is executed from the kernel directory
Maybe add something like :
cd /path/to/kernel

..at the top of script
You can run :
make modules && make modules_install
at command line as well

Last edited by keefaz; 03-24-2005 at 06:24 PM.
 
Old 03-24-2005, 06:30 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,178

Original Poster
Rep: Reputation: 47
Do error messages during the module making get logged? If so, where?
 
  


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
making user friendly screen through shell scripting Prasun1 Linux - General 7 07-09-2005 04:31 AM
kcmshell module, Background&Screensaver Module can't be launch (but works @LookNFeeL) bobbyjoe Linux - Software 0 01-08-2005 04:48 AM
installing software & making available to all users elhuecu Linux - Newbie 1 02-20-2004 11:00 PM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM
bash shell scripting - && and || gui10 Programming 10 12-15-2001 03:37 PM


All times are GMT -5. The time now is 02:35 AM.

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