Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-installer
Navigation:
Lists: gentoo-installer: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-installer@g.o
From: Devils-Hawk <devilshawk@...>
Subject: Re: partition mounting
Date: Tue, 12 Sep 2006 14:49:13 +0200
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.)
> --gentoo-installer@g.o mailing list
> 
> 
> 

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":
Replies:
Re: partition mounting
-- Andrew Gaffney
References:
partition mounting
-- Devils-Hawk
Re: partition mounting
-- Benjamin Urban
Navigation:
Lists: gentoo-installer: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: partition mounting
Next by thread:
Re: partition mounting
Previous by date:
Re: partition mounting
Next by date:
Re: partition mounting


Updated Jun 17, 2009

Summary: Archive of the gentoo-installer mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.