Hello community,

here is the log from the commit of package squashfs for openSUSE:Factory 
checked in at 2011-11-07 14:31:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/squashfs (Old)
 and      /work/SRC/openSUSE:Factory/.squashfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/squashfs/squashfs.changes        2011-10-21 
16:40:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.squashfs.new/squashfs.changes   2011-11-07 
14:31:59.000000000 +0100
@@ -0,0 +1,12 @@
+-------------------------------------------------------------------
+Thu Nov  3 19:00:03 UTC 2011 - [email protected]
+
+- The ppc64 kernel uses a page size of 64kB but mksquashfs only
+  pads to a 4kB boundary. When we loopback mount a squashfs file
+  that isn't 64kB aligned and access the last sector of the
+  associated loopback device we see a stream of errors.
+  Disk partitioning tools seem to like accessing the last 512
+  bytes of partitions.
+
+  This should fix warnings seen during starting installation on
+  ppc64 and IA64

New:
----
  squashfs-64k.patch

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

Other differences:
------------------
++++++ squashfs.spec ++++++
--- /var/tmp/diff_new_pack.fPis2O/_old  2011-11-07 14:32:01.000000000 +0100
+++ /var/tmp/diff_new_pack.fPis2O/_new  2011-11-07 14:32:01.000000000 +0100
@@ -26,6 +26,7 @@
 Version:        4.2
 Release:        1
 Source0:        %{name}%{version}.tar.gz
+Patch0:                squashfs-64k.patch
 Url:            http://squashfs.sourceforge.net/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        A Read-Only File System with Efficient Compression
@@ -36,6 +37,7 @@
 
 %prep
 %setup -n squashfs%{version}
+%patch0
 
 %build
 sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile

++++++ squashfs-64k.patch ++++++
--- squashfs-tools/mksquashfs.c.orig    2011-11-03 19:57:06.000000000 +0100
+++ squashfs-tools/mksquashfs.c 2011-11-03 19:58:50.000000000 +0100
@@ -4871,7 +4871,7 @@
                        ERROR("-force-uid uid\t\tset all file uids to uid\n");
                        ERROR("-force-gid gid\t\tset all file gids to gid\n");
                        ERROR("-nopad\t\t\tdo not pad filesystem to a multiple "
-                               "of 4K\n");
+                               "of 64K\n");
                        ERROR("-keep-as-directory\tif one source directory is "
                                "specified, create a root\n");
                        ERROR("\t\t\tdirectory containing that directory, "
@@ -5339,9 +5339,9 @@
        SQUASHFS_INSWAP_SUPER_BLOCK(&sBlk); 
        write_destination(fd, SQUASHFS_START, sizeof(sBlk), &sBlk);
 
-       if(!nopad && (i = bytes & (4096 - 1))) {
-               char temp[4096] = {0};
-               write_destination(fd, bytes, 4096 - i, temp);
+       if(!nopad && (i = bytes & (65536 - 1))) {
+               char temp[65536] = {0};
+               write_destination(fd, bytes, 65536 - i, temp);
        }
 
        close(fd);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to