Hi guys
I'm not ready to request svn access, and wasn't sure how to contribute
this. I figured I'd sign up here and lurk for a bit.
Anyway, I made these changes to get si_mkbootpackage to work on my
system. The main reason was to change the regex to support SMP systems
in the kernel version match. This change will need to be made to
UseYourOwnKernel.pm as well btw. While tracking down why the script
wasn't working, I made a few other changes, some cosmetic and some
needed (at least for me).
I honestly don't know if i should be using si_mkbootpackage or
UseYourOwnKernel.pm :)
hth
charles
# diff si_mkbootpackage si_mkbootpackage.orig
94,95d93
< } else {
< $opt{uname_r} = get_kernel_release(); # used later but not set
if --modules-dir is used
396c394
< unlink <$opt{staging_dir}/my_modules/*.o>;
---
> unlink <$opt{staging_dir}/*.o>;
463c461
< print ">> Flavor Update complete: ";
---
> print ">> Flavor Update complete";
569c567
< open(FILE,"strings $file|") or die("Couldn't open $file for
reading.");
---
> open(FILE,"$file") or die("Couldn't open $file for reading.");
572c570
< if(m/(2\.[4|6]\.\d{1,2}.*) \(.*\) [#]\d+ (SMP )?\w{3}
\w{3} \d+ \d+:\d+:\d+ \w{3} \d+/o) {
---
> if(m/(2\.[4|6]\.\d{1,2}.*) \(.*\) [#]\d+ \w{3} \w{3}
\d+ \d+:\d+:\d+ \w{3} \d+/o) {
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel