Browse Source

Enters correct path for genext2fs.

master
freesource 23 years ago
parent
commit
fa7000f56e
  1. 4
      BootRoot/Yard.pm

4
BootRoot/Yard.pm

@ -799,7 +799,7 @@ sub create_filesystem {
info(0, "Where: $device\n"); info(0, "Where: $device\n");
# Maybe other fs will be represented in the future, but genext2fs is all # Maybe other fs will be represented in the future, but genext2fs is all
# that exists now for non-root users. # that exists now for non-root users. --freesource
if ( $fs_type ne "genext2fs" ) { if ( $fs_type ne "genext2fs" ) {
sync(); sync();
@ -988,7 +988,7 @@ sub create_filesystem {
# added. # added.
if ( if (
sys("$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~ sys("/usr/lib/bootroot/$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~
/^0$/ ) { /^0$/ ) {
$error = error("Can not $fs_type filesystem."); $error = error("Can not $fs_type filesystem.");
return "ERROR" if $error && $error eq "ERROR"; return "ERROR" if $error && $error eq "ERROR";

Loading…
Cancel
Save