mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 09:03:23 -05:00
Enters correct path for genext2fs.
This commit is contained in:
parent
aac5d3524f
commit
fa7000f56e
@ -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…
x
Reference in New Issue
Block a user