diff options
| author | David Cantrell <dcantrell@redhat.com> | 2006-09-11 17:36:32 +0000 |
|---|---|---|
| committer | David Cantrell <dcantrell@redhat.com> | 2006-09-11 17:36:32 +0000 |
| commit | 0da38dfef15ae4417ccd0f29d27641a421d4a0bd (patch) | |
| tree | 08758b7f47b1ca6169211b61819a74524184884a /scripts | |
| parent | df90e2d0817ff87209fc667ce4c4450a9e65141d (diff) | |
* utils/geninitrdsz.c: Added util to generate the initrd.size file
needed on zSeries (#197773).
* utils/Makefile: Compile geninitrdsz, install to anaconda-runtime.
* scripts/mk-images: Define GENINITRDSZ command.
* scripts/mk-images.s390: Generate initrd.size for each s390 tree
build.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mk-images | 1 | ||||
| -rw-r--r-- | scripts/mk-images.s390 | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 1a9f6728b..36f3d552a 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -108,6 +108,7 @@ INITRDMODS="$USBMODS $FIREWIREMODS $IDEMODS $SCSIMODS $FSMODS $LVMMODS $RAIDMODS TRIMMODALIAS=$IMGPATH/usr/lib/anaconda-runtime/trimmodalias TRIMPCIIDS=$IMGPATH/usr/lib/anaconda-runtime/trimpciids GETKEYMAPS=$IMGPATH/usr/lib/anaconda-runtime/getkeymaps + GENINITRDSZ=$IMGPATH/usr/lib/anaconda-runtime/geninitrdsz KEYMAPS=/tmp/keymaps-$BUILDARCH.$$ SCREENFONT=$IMGPATH/usr/lib/anaconda-runtime/screenfont-${BASEARCH}.gz GETMODDEPS=$IMGPATH/usr/lib/anaconda-runtime/moddeps diff --git a/scripts/mk-images.s390 b/scripts/mk-images.s390 index 7a1be8585..fd5d7499c 100644 --- a/scripts/mk-images.s390 +++ b/scripts/mk-images.s390 @@ -8,9 +8,9 @@ makeBootImages() { --initrdsize 20000 \ --loaderbin loader \ --modules "$INITRDMODS $S390MODS" + $GENINITRDSZ 12288475 $TOPDESTPATH/images/initrd.size cp -vf $KERNELROOT/boot/${KERNELNAME}-${version} $TOPDESTPATH/images/kernel.img cp -v $BOOTDISKDIR/generic.prm $TOPDESTPATH/images/generic.prm - cp -v $BOOTDISKDIR/initrd.size $TOPDESTPATH/images/initrd.size cp -v $BOOTDISKDIR/generic.ins $TOPDESTPATH/generic.ins } |
