Bug 206638 - anaconda: Typo in mk-images script causing build failures
anaconda: Typo in mk-images script causing build failures
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-15 09:29 EDT by Prarit Bhargava
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-15 11:10:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix typo in anaconda (614 bytes, patch)
2006-09-15 09:29 EDT, Prarit Bhargava
no flags Details | Diff

  None (edit)
Description Prarit Bhargava 2006-09-15 09:29:03 EDT
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 09:29:04 EDT
Created attachment 136355 [details]
Patch to fix typo in anaconda
Comment 2 Jeremy Katz 2006-09-15 11:10:25 EDT
Fixed

Note You need to log in before you can comment on or make changes to this bug.