summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mk-images2
-rw-r--r--scripts/mk-images.i3862
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 98f8bde1a..68d9a9195 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -865,6 +865,8 @@ fi
vertag="BOOT"
if [ "$BUILDARCH" = "ppc" -o "$BUILDARCH" = "ppc64" ]; then
arches="ppc64pseries ppc64iseries"
+elif [ "$BUILDARCH" = "i386" ]; then
+ arches="i386 i586"
else
arches="$BUILDARCH"
fi
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 32ba7b71b..d7aa49433 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -178,7 +178,7 @@ makeBootImages() {
# FIXME: this is so that we can switch back and forth. if we want both
# on the CD, then more needs to be done, esp for things like isolinux.cfg
# Right now, last one wins
- if [ "$KERNELARCH" = "i686" -o "$KERNELARCH" = "i386" -o "$KERNELARCH" = "i586" -o "$KERNELARCH" = "athlon" ]; then
+ if [ "$KERNELARCH" = "i686" -o "$KERNELARCH" = "i586" -o "$KERNELARCH" = "athlon" ]; then
echo "Building $KERNELARCH initrd-everything.img"
makeinitrd --initrdto $TOPDESTPATH/images/pxeboot/initrd-everything.img \
--pcmcia \