Bug 206638

Summary: anaconda: Typo in mk-images script causing build failures
Product: [Fedora] Fedora Reporter: Prarit Bhargava <prarit>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-15 15:10:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix typo in anaconda none

Description Prarit Bhargava 2006-09-15 13:29:03 UTC
Description of problem:

A typo in mk-images is causing build failures across all archs.

Version-Release number of selected component (if applicable): anaconda-11.1.0.97-1


How reproducible: 100%

  
Actual results:

Build logs contain:

Wrote /mnt/redhat/nightly/rawhide-20060915/work/ia64-global/images/minstg2.img
(38784k)...
Building stage2.img
Running mksquashfs /tmp/treedir.18564/instimage /tmp/instimage.img.29775
-all-root -no-fragments
mksquashfs: invalid option

SYNTAX:mksquashfs source1 source2 ...  dest [options] [-e list of exclude
dirs/files]

Options are
-version                print version, licence and copyright message
-info                   print files written to filesystem
-b <block_size>         set data block to <block_size>.  Default 65536 bytes
-noI                    do not compress inode table
-noD                    do not compress data blocks
-noF                    do not compress fragment blocks
-no-fragments           do not use fragments
-always-use-fragments   use fragment blocks for files larger than block size
-no-duplicates          do not perform duplicate checking
-noappend               do not append to existing filesystem
-keep-as-directory      if one source directory is specified, create a root
                        directory containing that directory, rather than the
                        contents of the directory
-root-becomes <name>    when appending source files/directories, make the
                        original root become a subdirectory in the new root
                        called <name>, rather than adding the new source items
                        to the original root 
-all-root               make all files owned by root
-force-uid uid          set all file uids to uid
-force-gid gid          set all file gids to gid
-le                     create a little endian filesystem
-be                     create a big endian filesystem
-nopad                  do not pad filesystem to a multiple of 4K
-check_data             add checkdata for greater filesystem checks
-root-owned             alternative name for -all-root
-noInodeCompression     alternative name for -noI
-noDataCompression      alternative name for -noD
-noFragmentCompression  alternative name for -noF
-sort <sort_file>       sort files according to priorities in <sort_file>.  One
                        file or dir with priority per line.  Priority -32768 to
                        32767, default priority 0
-ef <exclude_file>      list of exclude dirs/files.  One per line
chmod: cannot access `/tmp/instimage.img.29775': No such file or directory
cat: /tmp/instimage.img.29775: No such file or directory 
cp: cannot stat `/tmp/instimage.img.29775': No such file or directory
chmod: cannot access
`/mnt/redhat/nightly/rawhide-20060915/work/ia64-global/images/stage2.img': No
such file or directory
Wrote /mnt/redhat/nightly/rawhide-20060915/work/ia64-global/images/stage2.img (0k)
rm: cannot remove `/tmp/instimage.img.29775': No such file or directory
Writing .discinfo file
timestamp not specified; using the current time


Expected results:  stage2.img should be built.


Additional info:  This is my fault.  I introduced a typo in the patch from BZ
206472.

Comment 1 Prarit Bhargava 2006-09-15 13:29:04 UTC
Created attachment 136355 [details]
Patch to fix typo in anaconda

Comment 2 Jeremy Katz 2006-09-15 15:10:25 UTC
Fixed