Skip to content

Commit

Permalink
Merge pull request #5 from yast/flags_fix
Browse files Browse the repository at this point in the history
Flags fix
  • Loading branch information
wfeldt committed May 27, 2014
2 parents 0d6655f + d1f0ee1 commit 7fecf45
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions agent/HwParse.cc
Expand Up @@ -722,17 +722,17 @@ HwProbe::hd2value (hd_t *hd)

if (hd->is.fcoe_offload)
{
out->add (YCPString ("fcoeoffload"), YCPBoolean (true));
out->add (YCPString ("fcoeoffload"), YCPBoolean (hd->is.fcoe_offload == 1 ? false : true));
}

if (hd->is.iscsi_offload)
{
out->add (YCPString ("iscsioffload"), YCPBoolean (true));
out->add (YCPString ("iscsioffload"), YCPBoolean (hd->is.iscsi_offload == 1 ? false : true));
}

if (hd->is.storage_only)
{
out->add (YCPString ("storageonly"), YCPBoolean (true));
out->add (YCPString ("storageonly"), YCPBoolean (hd->is.storage_only == 1 ? false : true));
}

// hd detail
Expand Down
6 changes: 6 additions & 0 deletions package/yast2-hardware-detection.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 27 09:49:05 CEST 2014 - snwint@suse.de

- make ethtool private flags tri-state: (unset, false, true)
- 3.1.3

-------------------------------------------------------------------
Wed Apr 16 11:31:23 CEST 2014 - snwint@suse.de

Expand Down
5 changes: 2 additions & 3 deletions package/yast2-hardware-detection.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-hardware-detection
Version: 3.1.2
Version: 3.1.3
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand All @@ -43,8 +43,7 @@ BuildRequires: pkg-config
Requires: yast2-ruby-bindings >= 1.0.0

Summary: YaST2 - Hardware Detection Interface
# hwinfo-13.38: hw_fingerprint
Requires: hwinfo >= 13.38
Requires: hwinfo >= 21.5

%description
This package contains the hardware detection library for YaST2.
Expand Down

0 comments on commit 7fecf45

Please sign in to comment.