try ext3 also

This commit is contained in:
Nick S. Grechukh 2010-09-24 16:31:26 +03:00
parent 643b15528f
commit 34a510f746
2 changed files with 6 additions and 2 deletions

3
disk.c
View File

@ -246,11 +246,12 @@ static enum return_type try_with_partition(char *choice)
strcat(device_fullname, choice); strcat(device_fullname, choice);
if (my_mount(device_fullname, IMAGE_LOCATION, "ext2", 0) == -1 && if (my_mount(device_fullname, IMAGE_LOCATION, "ext2", 0) == -1 &&
my_mount(device_fullname, IMAGE_LOCATION, "ext3", 0) == -1 &&
my_mount(device_fullname, IMAGE_LOCATION, "vfat", 0) == -1 && my_mount(device_fullname, IMAGE_LOCATION, "vfat", 0) == -1 &&
my_mount(device_fullname, IMAGE_LOCATION, "ntfs", 0) == -1 && my_mount(device_fullname, IMAGE_LOCATION, "ntfs", 0) == -1 &&
my_mount(device_fullname, IMAGE_LOCATION, "iso9660", 0) == -1 && my_mount(device_fullname, IMAGE_LOCATION, "iso9660", 0) == -1 &&
my_mount(device_fullname, IMAGE_LOCATION, "reiserfs", 0) == -1) { my_mount(device_fullname, IMAGE_LOCATION, "reiserfs", 0) == -1) {
stg1_error_message("I can't find a valid filesystem (tried: ext2, vfat, ntfs, iso9660, reiserfs)."); stg1_error_message("I can't find a valid filesystem (tried: ext2, ext3, vfat, ntfs, iso9660, reiserfs).");
return RETURN_ERROR; return RETURN_ERROR;
} }

View File

@ -3,7 +3,7 @@
Name: propagator Name: propagator
Version: 20090301 Version: 20090301
Release: alt10 Release: alt11
Summary: 'Early userspace' set of binaries Summary: 'Early userspace' set of binaries
License: GPL License: GPL
@ -39,6 +39,9 @@ make %{?_with_shell:WITH_SHELL=t} %{?_with_splash:WITH_SPLASH=t} libdir=%_libdir
%_libdir/%name %_libdir/%name
%changelog %changelog
* Fri Sep 24 2010 Mykola Grechukh <gns@altlinux.ru> 20090301-alt11
- ext3 added
* Thu Jul 1 2010 Sergey Bolshakov <sbolshakov@altlinux.ru> 20090301-alt10 * Thu Jul 1 2010 Sergey Bolshakov <sbolshakov@altlinux.ru> 20090301-alt10
- ensure that /lib/firmware exists in resulting initramfs image - ensure that /lib/firmware exists in resulting initramfs image