Author: pebender
Date: Sun Nov 16 11:15:42 2008
New Revision: 3967

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
    trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
    trunk/gar-minimyth/script/perl/perl-MiniMyth/checksums
    trunk/gar-minimyth/script/perl/perl-MiniMyth/files/MiniMyth.pm

Log:
- Changed mksquashfs so that it uses more conservative settings. I hope
   that this will reduce the chance of creating bad squashfs images.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Sun Nov 16  
11:15:42 2008
@@ -25,6 +25,10 @@
      - Fixed bug that caused perl init scripts to create '/STDOUT' rather  
than
        '/var/log/minimyth.log'.

+Modified build system
+    - Changed mksquashfs so that it uses more conservative settings. I hope
+      that this will reduce the chance of creating bad squashfs images.
+
  Updated packages
      Updated gtk/cairo.
      Updated system/splashutils.

Modified: trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile       
(original)
+++ trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile       Sun Nov 
 
16 11:15:42 2008
@@ -632,7 +632,7 @@
        @echo "making the squashfs version of the root file system"
        @mkdir -m 0755 -p $(@D)
        @rm -rf $@ [EMAIL PROTECTED]
-       @fakeroot -i $<.fakeroot sh -c "mksquashfs $< [EMAIL PROTECTED] > 
/dev/null 2>&1"
+       @fakeroot -i $<.fakeroot sh -c "mksquashfs $< [EMAIL PROTECTED] 
-no-exports  
-no-progress -no-sparse -b 64k -processors 1 -check_data > /dev/null 2>&1"
        @chmod 0644 [EMAIL PROTECTED]
        @touch [EMAIL PROTECTED]
        @mv [EMAIL PROTECTED] $@
@@ -641,7 +641,7 @@
        @echo "making the squashfs version of the extras file system"
        @mkdir -m 0755 -p $(@D)
        @rm -rf $@ [EMAIL PROTECTED]
-       @fakeroot sh -c "mksquashfs $< [EMAIL PROTECTED] > /dev/null 2>&1"
+       @fakeroot sh -c "mksquashfs $< [EMAIL PROTECTED] -no-sparse -no-exports 
-no-progress  
-no-sparse -b 64k -processors 1 -check_data > /dev/null 2>&1"
        @chmod 0644 [EMAIL PROTECTED]
        @touch [EMAIL PROTECTED]
        @mv [EMAIL PROTECTED] $@
@@ -652,7 +652,7 @@
        @rm -rf $@ [EMAIL PROTECTED]
        @mkdir -m 0755 -p [EMAIL PROTECTED]
        @for theme in `cd $< ; ls -1` ;  
do                                                    \
-               fakeroot sh -c "mksquashfs $</$${theme} [EMAIL 
PROTECTED]/$${theme}.sfs > /dev/null  
2>&1" ; \
+               fakeroot sh -c "mksquashfs $</$${theme} [EMAIL 
PROTECTED]/$${theme}.sfs -no-exports  
-no-progress -no-sparse -b 64k -processors 1 -check_data > /dev/null  
2>&1" ; \
         done
        @find [EMAIL PROTECTED] -depth -type d -exec chmod 0755 '{}' \;
        @find [EMAIL PROTECTED] -depth -type f -exec chmod 0644 '{}' \;

Modified: trunk/gar-minimyth/script/perl/perl-MiniMyth/checksums
==============================================================================
--- trunk/gar-minimyth/script/perl/perl-MiniMyth/checksums      (original)
+++ trunk/gar-minimyth/script/perl/perl-MiniMyth/checksums      Sun Nov 16  
11:15:42 2008
@@ -1 +1 @@
-06bd0b77f3e14d96d251ef3938851e07  download/MiniMyth.pm
+c1b6af380a4ab7d527c1ccc213de5d40  download/MiniMyth.pm

Modified: trunk/gar-minimyth/script/perl/perl-MiniMyth/files/MiniMyth.pm
==============================================================================
--- trunk/gar-minimyth/script/perl/perl-MiniMyth/files/MiniMyth.pm       
(original)
+++ trunk/gar-minimyth/script/perl/perl-MiniMyth/files/MiniMyth.pm      Sun Nov 
 
16 11:15:42 2008
@@ -1933,7 +1933,7 @@
          "$local_dir/$codecs_base");

      unlink(qq($local_file));
-    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs "$local_dir/$codecs_base" "$local_file" > "$devnull"  
2>&1)) != 0)
+    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs "$local_dir/$codecs_base" "$local_file" -no-sparse  
-no-exports -no-progress -no-sparse -b 64k -processors 1 -check_data  
> "$devnull" 2>&1)) != 0)
      {
          File::Path::rmtree(qq($local_dir/$codecs_base));
          unlink(qq($local_file));
@@ -2055,7 +2055,7 @@
          return 0;
      }

-    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs '/usr/local' "$local_file" > "$devnull" 2>&1)) != 0)
+    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs '/usr/local' "$local_file" -no-sparse -no-exports  
-no-progress -no-sparse -b 64k -processors 1 -check_data > "$devnull"  
2>&1)) != 0)
      {
          unlink($local_file);
          $self->message_log('error', qq(failed to create the extras file  
because squashfs failed.));
@@ -2098,7 +2098,7 @@
          return 0;
      }

-    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs '/home/minimyth/.mythtv/themecache' "$local_file"  
> "$devnull" 2>&1)) != 0)
+    if (system(qq(/usr/bin/fakeroot  
/usr/bin/mksquashfs '/home/minimyth/.mythtv/themecache' "$local_file"  
-no-sparse -no-exports -no-progress -no-sparse -b 64k -processors 1  
-check_data > "$devnull" 2>&1)) != 0)
      {
          unlink($local_file);
          $self->message_log('error', qq(failed to create the MythTV  
themecache file because squashfs failed.));

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to