FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 02-14-2012, 03:50 PM
Matthew Garrett
 
Default Add support for HFS+ partitions

We'll want to actually create HFS+ partitions, so add the missing bits
for that.
---
anaconda.spec.in | 1 +
pyanaconda/storage/formats/fs.py | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 07557e9..7966b93 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -135,6 +135,7 @@ Requires: zenity
%endif
Requires: createrepo >= %{createrepover}
Requires: squashfs-tools
+Requires: hfsplus-tools
Requires: genisoimage >= %{genisoimagever}
Requires: GConf2 >= %{gconfversion}
%ifarch %{ix86} x86_64
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 0942402..d792aad 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1357,11 +1357,13 @@ class AppleBootstrapFS(HFS):
register_device_format(AppleBootstrapFS)


-# this doesn't need to be here
class HFSPlus(FS):
_type = "hfs+"
_modules = ["hfsplus"]
_udevTypes = ["hfsplus"]
+ _mkfs = ["mkfs.hfsplus"]
+ _packages = ["hfsplus-tools"]
+ _formattable = True
partedSystem = fileSystemType["hfs+"]

register_device_format(HFSPlus)
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-14-2012, 04:52 PM
Matthew Garrett
 
Default Add support for HFS+ partitions

We'll want to actually create HFS+ partitions, so add the missing bits
for that.
---
anaconda.spec.in | 1 +
pyanaconda/storage/formats/fs.py | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 07557e9..7966b93 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -135,6 +135,7 @@ Requires: zenity
%endif
Requires: createrepo >= %{createrepover}
Requires: squashfs-tools
+Requires: hfsplus-tools
Requires: genisoimage >= %{genisoimagever}
Requires: GConf2 >= %{gconfversion}
%ifarch %{ix86} x86_64
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 0942402..ccafa41 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1357,11 +1357,16 @@ class AppleBootstrapFS(HFS):
register_device_format(AppleBootstrapFS)


-# this doesn't need to be here
class HFSPlus(FS):
_type = "hfs+"
_modules = ["hfsplus"]
_udevTypes = ["hfsplus"]
+ _mkfs = "mkfs.hfsplus"
+ _fsck = "fsck.hfsplus"
+ _packages = ["hfsplus-tools"]
+ _formattable = True
+ _minSize = 1
+ _maxSize = 2 * 1024 * 1024
partedSystem = fileSystemType["hfs+"]

register_device_format(HFSPlus)
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-14-2012, 05:05 PM
"Brian C. Lane"
 
Default Add support for HFS+ partitions

On Tue, Feb 14, 2012 at 12:52:17PM -0500, Matthew Garrett wrote:
> We'll want to actually create HFS+ partitions, so add the missing bits
> for that.
> ---

Ack

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-14-2012, 07:22 PM
Matthew Garrett
 
Default Add support for HFS+ partitions

We'll want to actually create HFS+ partitions, so add the missing bits
for that.
---

_mountType was missing - hfs+ is called hfsplus in-kernel, so it's needed.

anaconda.spec.in | 1 +
pyanaconda/storage/formats/fs.py | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 07557e9..7966b93 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -135,6 +135,7 @@ Requires: zenity
%endif
Requires: createrepo >= %{createrepover}
Requires: squashfs-tools
+Requires: hfsplus-tools
Requires: genisoimage >= %{genisoimagever}
Requires: GConf2 >= %{gconfversion}
%ifarch %{ix86} x86_64
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 0942402..51d5ee7 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1357,11 +1357,17 @@ class AppleBootstrapFS(HFS):
register_device_format(AppleBootstrapFS)


-# this doesn't need to be here
class HFSPlus(FS):
_type = "hfs+"
_modules = ["hfsplus"]
_udevTypes = ["hfsplus"]
+ _mkfs = "mkfs.hfsplus"
+ _fsck = "fsck.hfsplus"
+ _packages = ["hfsplus-tools"]
+ _formattable = True
+ _mountType = "hfsplus"
+ _minSize = 1
+ _maxSize = 2 * 1024 * 1024
partedSystem = fileSystemType["hfs+"]

register_device_format(HFSPlus)
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-14-2012, 08:35 PM
David Lehman
 
Default Add support for HFS+ partitions

On Tue, 2012-02-14 at 15:22 -0500, Matthew Garrett wrote:
> We'll want to actually create HFS+ partitions, so add the missing bits
> for that.
> ---
>
> _mountType was missing - hfs+ is called hfsplus in-kernel, so it's needed.

Ack.

>
> anaconda.spec.in | 1 +
> pyanaconda/storage/formats/fs.py | 8 +++++++-
> 2 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/anaconda.spec.in b/anaconda.spec.in
> index 07557e9..7966b93 100644
> --- a/anaconda.spec.in
> +++ b/anaconda.spec.in
> @@ -135,6 +135,7 @@ Requires: zenity
> %endif
> Requires: createrepo >= %{createrepover}
> Requires: squashfs-tools
> +Requires: hfsplus-tools
> Requires: genisoimage >= %{genisoimagever}
> Requires: GConf2 >= %{gconfversion}
> %ifarch %{ix86} x86_64
> diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
> index 0942402..51d5ee7 100644
> --- a/pyanaconda/storage/formats/fs.py
> +++ b/pyanaconda/storage/formats/fs.py
> @@ -1357,11 +1357,17 @@ class AppleBootstrapFS(HFS):
> register_device_format(AppleBootstrapFS)
>
>
> -# this doesn't need to be here
> class HFSPlus(FS):
> _type = "hfs+"
> _modules = ["hfsplus"]
> _udevTypes = ["hfsplus"]
> + _mkfs = "mkfs.hfsplus"
> + _fsck = "fsck.hfsplus"
> + _packages = ["hfsplus-tools"]
> + _formattable = True
> + _mountType = "hfsplus"
> + _minSize = 1
> + _maxSize = 2 * 1024 * 1024
> partedSystem = fileSystemType["hfs+"]
>
> register_device_format(HFSPlus)


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 04:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org