Re: partition mounting
Devils-Hawk <[email protected]> Tue, 12 Sep 2006 14:49:13 +0200
| Newsgroups | gmane.linux.gentoo.installer |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------050301050302070403050501 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Yep! I am sorry, just didn't pay attention. Correct patch attached. Benjamin Urban wrote: > > On Sep 11, 2006, at 2:38 PM, Devils-Hawk wrote: > >> >> diff -r -puN installer/src/GLIArchitectureTemplate.py >> installer_bkup/src/GLIArchitectureTemplate.py >> --- installer/src/GLIArchitectureTemplate.py 2006-09-11 >> 18:57:26.000000000 +0200 >> +++ installer_bkup/src/GLIArchitectureTemplate.py 2006-09-11 >> 16:09:11.000000000 +0200 >> @@ -407,8 +407,6 @@ 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": >> > > Not that I'm one to nitpick or anything, but FYI your diff is reversed. > (I can never remember the correct order myself, so I probably shouldn't > have said anything, but it needed to be said.) > [email protected] mailing list > > > --------------050301050302070403050501 Content-Type: text/plain; name="unknown_partition.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="unknown_partition.patch" 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": --------------050301050302070403050501-- -- [email protected] mailing list