SourceForge.net
2007-02-20 23:44:06 UTC
Bugs item #1664753, was opened at 2007-02-20 15:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1664753&group_id=259
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: systemimager-common
Group: v3.6.3
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: create_uyok_initrd() doesn't check if a directory exists
Initial Comment:
My si_prepareclient died, because it wasn't able to create a file (INSMOD_COMMANDS). It wasn't able to create the file, because the directory "my_modules doesn't exist.
This is a nl on /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm
53 my $my_modules_dir = "$staging_dir/my_modules";
54 my $file = "$my_modules_dir" . "/INSMOD_COMMANDS";
55 open( FILE,">>$file" ) or die( "Couldn't open $file for appending" );
You probably need to check if the directory exists and create it if it doesn't.
It worked for me after I added the follofing line:
54 mkdir $my_modules_dir or die( "Couldn't create directory: $my_modules_dir" );
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1664753&group_id=259
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1664753&group_id=259
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: systemimager-common
Group: v3.6.3
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: create_uyok_initrd() doesn't check if a directory exists
Initial Comment:
My si_prepareclient died, because it wasn't able to create a file (INSMOD_COMMANDS). It wasn't able to create the file, because the directory "my_modules doesn't exist.
This is a nl on /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm
53 my $my_modules_dir = "$staging_dir/my_modules";
54 my $file = "$my_modules_dir" . "/INSMOD_COMMANDS";
55 open( FILE,">>$file" ) or die( "Couldn't open $file for appending" );
You probably need to check if the directory exists and create it if it doesn't.
It worked for me after I added the follofing line:
54 mkdir $my_modules_dir or die( "Couldn't create directory: $my_modules_dir" );
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1664753&group_id=259