Re: partition mounting

Andrew Gaffney <[email protected]> Tue, 12 Sep 2006 08:08:41 -0500
Newsgroups gmane.linux.gentoo.installer
Message-ID <[email protected]>
Devils-Hawk wrote:
> Yep! I am sorry, just didn't pay attention. Correct patch attached.
> 
> diff -r -puN installer/src/GLIArchitectureTemplate.py installer_mod/src/GLIArchitectureTemplate.py
> --- installer/src/GLIArchitectureTemplate.py	2006-09-12 14:44:00.000000000 +0200
> +++ installer_mod/src/GLIArchitectureTemplate.py	2006-09-12 14:42:53.000000000 +0200
> @@ -407,6 +407,8 @@ class ArchitectureTemplate:
>  					if partition_type:
>  						if partition_type == "fat32" or partition_type == "fat16": partition_type = "vfat"
>  						partition_type = "-t " + partition_type + " "
> +						if partition_type == "-t unknown ": partition_type = ""
> +
>  					parts_to_mount[mountpoint] = (mountopts, partition_type, tmp_partitions[partition]['devnode'])
>  					
>  				if partition_type == "linux-swap":

While this will "fix" the problem, it doesn't actually *fix* the problem of 
"unknown" partition types. I hope to have a better solution soon.

-- 
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
-- 
[email protected] mailing list