[PATCH rhel5-branch] Increase size of diskboot.img (#812719)

David Cantrell dcantrell at redhat.com
Fri Jul 20 18:27:15 UTC 2012


On Wed, Jul 18, 2012 at 02:24:44PM -0700, Jesse Keating wrote:
> Size of other files have grown and so we need to grow the size of the
> image we create.  Patch is from mmatsuya at redhat.com
> ---
>  scripts/mk-images.x86 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
> index 38556f6..cf7ec08 100644
> --- a/scripts/mk-images.x86
> +++ b/scripts/mk-images.x86
> @@ -99,7 +99,7 @@ makeBootImages() {
>  
>      # now make a boot pendrive image
>      mkdir -p $TOPDESTPATH/images/fobpath
> -    dd if=/dev/zero of=$TOPDESTPATH/images/diskboot.img bs=1M count=12 2>/dev/null
> +    dd if=/dev/zero of=$TOPDESTPATH/images/diskboot.img bs=1M count=15 2>/dev/null
>      mkdosfs $TOPDESTPATH/images/diskboot.img
>      $SYSLINUX $TOPDESTPATH/images/diskboot.img
>      mount -o loop $TOPDESTPATH/images/diskboot.img $TOPDESTPATH/images/fobpath

Ack.  Just an FYI, watch out for these type changes on rhel5-branch for ppc.
That has been a problem in numerous releases.

-- 
David Cantrell <dcantrell at redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


More information about the anaconda-patches mailing list