Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=2fecacd2d0eab28f872a9ae47d768bc1cc597f9c

commit 2fecacd2d0eab28f872a9ae47d768bc1cc597f9c
Author: James Buren <r...@frugalware.org>
Date:   Sun Aug 26 18:41:03 2012 -0500

set default partition type to 'data'

diff --git a/DosPartition.hh b/DosPartition.hh
index d880cd5..ecfaa27 100644
--- a/DosPartition.hh
+++ b/DosPartition.hh
@@ -6,7 +6,7 @@ class DosPartition : public Partition
{

public:
-  DosPartition() { _dos_type = 0, _dos_active = false; }
+  DosPartition() { _dos_type = 0x83, _dos_active = false; }
virtual ~DosPartition() { }
void setType(unsigned char type) { _dos_type = type; }
virtual void setActive(bool active) { _dos_active = active; }
diff --git a/GptPartition.hh b/GptPartition.hh
index 9ff4570..eb59725 100644
--- a/GptPartition.hh
+++ b/GptPartition.hh
@@ -6,7 +6,7 @@ class GptPartition : public Partition
{

public:
-  GptPartition() { _gpt_flags = 0; }
+  GptPartition() { _gpt_type = "0FC63DAF-8483-4772-8E79-3D69D8477DE4", 
_gpt_flags = 0; }
virtual ~GptPartition() {}
void setType(const string &type) { _gpt_type = type; }
void setName(const string &name) { _gpt_name = name; }
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to