LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   scripting module making & installing (https://www.linuxquestions.org/questions/slackware-14/scripting-module-making-and-installing-305679/)

linuxhippy 03-24-2005 05:52 PM

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?

keefaz 03-24-2005 06:23 PM

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

linuxhippy 03-24-2005 06:30 PM

Do error messages during the module making get logged? If so, where?


All times are GMT -5. The time now is 08:14 PM.