Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-11-08 08:05:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes    2012-09-23 
08:45:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes       
2012-11-08 08:05:29.000000000 +0100
@@ -1,0 +2,17 @@
+Wed Nov  7 16:14:01 CET 2012  - [email protected]
+
+- 2.23.1
+- support creation of "BIOS grub" partition on GPT (bnc#786870)
+
+-------------------------------------------------------------------
+Mon Nov  5 11:58:12 CET 2012  - [email protected]
+
+- freq and passno should be 0 for BTRFS fs in fstab (bnc#786719)
+
+-------------------------------------------------------------------
+Tue Oct 16 15:00:38 CEST 2012 - [email protected]
+
+- ignore failed partition removal if partition table is later
+  initialized anyway (bnc#785234)
+
+-------------------------------------------------------------------

Old:
----
  libstorage-2.23.0.tar.bz2

New:
----
  libstorage-2.23.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libstorage.spec ++++++
--- /var/tmp/diff_new_pack.Z6YxPD/_old  2012-11-08 08:05:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Z6YxPD/_new  2012-11-08 08:05:30.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libstorage
-Version:        2.23.0
+Version:        2.23.1
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         libstorage-%{version}.tar.bz2

++++++ libstorage-2.23.0.tar.bz2 -> libstorage-2.23.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/VERSION 
new/libstorage-2.23.1/VERSION
--- old/libstorage-2.23.0/VERSION       2012-09-12 19:17:01.000000000 +0200
+++ new/libstorage-2.23.1/VERSION       2012-11-07 16:23:39.000000000 +0100
@@ -1 +1 @@
-2.23.0
+2.23.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Disk.cc 
new/libstorage-2.23.1/storage/Disk.cc
--- old/libstorage-2.23.0/storage/Disk.cc       2012-06-19 11:07:17.000000000 
+0200
+++ new/libstorage-2.23.1/storage/Disk.cc       2012-11-05 18:36:38.000000000 
+0100
@@ -490,7 +490,10 @@
 "cannot add, edit, resize, or remove partitions from that\n"
 "disk with this tool."), dev.c_str() );
 
-       getStorage()->addInfoPopupText( dev, txt );
+       if( getenv("LIBSTORAGE_NO_PART_CHECK")!=NULL )
+           y2war( "ignoring failed partition check parted/kernel on disk:" << 
device() );
+       else
+           getStorage()->addInfoPopupText( dev, txt );
        ronly = true;
        }
     if( range_exceed>0 )
@@ -1684,6 +1687,9 @@
 
            options << " set " << p->nr() << " boot " << 
((p->boot()||p->id()==Partition::ID_GPT_BOOT)?"on":"off");
 
+           if (label == "gpt")
+               options << " set " << p->nr() << " bios_grub " << 
(p->id()==Partition::ID_GPT_BIOS?"on":"off");
+
            if (p->id() <= 255 && label == "msdos")
                options << " set " << p->nr() << " type " << p->id();
        }
@@ -2049,7 +2055,10 @@
            cmd_line << PARTEDCMD << quote(device()) << " rm " << p->OrigNr();
            if( execCheckFailed( cmd_line.str() ) )
                {
-               ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
+               if( !del_ptable )
+                   ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
+               else
+                   y2war( "suppressing failed removal del_ptable:" << 
del_ptable );
                }
            ProcParts parts;
            if( parts.findDevice(getPartName(p->OrigNr())) )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Parted.cc 
new/libstorage-2.23.1/storage/Parted.cc
--- old/libstorage-2.23.0/storage/Parted.cc     2012-06-14 11:03:35.000000000 
+0200
+++ new/libstorage-2.23.1/storage/Parted.cc     2012-11-05 18:33:26.000000000 
+0100
@@ -336,6 +336,10 @@
            {
                entry.id = Partition::ID_APPLE_HFS;
            }
+           if (contains(flags, "bios_grub"))
+           {
+               entry.id = Partition::ID_GPT_BIOS;
+           }
        }
        y2mil("num:" << entry.num << " id:" << entry.id << " type:" << 
toString(entry.type));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Partition.h 
new/libstorage-2.23.1/storage/Partition.h
--- old/libstorage-2.23.0/storage/Partition.h   2012-06-14 11:03:35.000000000 
+0200
+++ new/libstorage-2.23.1/storage/Partition.h   2012-11-05 18:28:29.000000000 
+0100
@@ -40,7 +40,7 @@
                     ID_EXTENDED=0x0f, ID_LINUX=0x83, ID_SWAP=0x82, ID_LVM=0x8e,
                     ID_RAID=0xfd, ID_APPLE_OTHER=0x101, ID_APPLE_HFS=0x102,
                     ID_GPT_BOOT=0x103, ID_GPT_SERVICE=0x104, 
ID_GPT_MSFTRES=0x105,
-                    ID_APPLE_UFS=0x106 };
+                    ID_APPLE_UFS=0x106, ID_GPT_BIOS=0x107 };
 
        Partition(const Disk& c, const string& name, const string& device, 
unsigned Pnr,
                  unsigned long long SizeK, const Region& cylRegion, 
PartitionType Type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Volume.cc 
new/libstorage-2.23.1/storage/Volume.cc
--- old/libstorage-2.23.0/storage/Volume.cc     2012-08-22 16:36:29.000000000 
+0200
+++ new/libstorage-2.23.1/storage/Volume.cc     2012-11-05 11:57:19.000000000 
+0100
@@ -2896,7 +2896,7 @@
 bool Volume::noFreqPassno() const
     {
     return( fs==SWAP || fs==NFS || fs==NFS4 || fs==VFAT || fs==NTFS || 
-            fs==FSUNKNOWN || fs==TMPFS || is_loop || optNoauto() );
+            fs==FSUNKNOWN || fs==TMPFS || fs==BTRFS|| is_loop || optNoauto() );
     }
 
 unsigned Volume::fstabFreq() const

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to