summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-12-27 21:34:05 +0000
committerMatt Wilson <msw@redhat.com>2000-12-27 21:34:05 +0000
commit88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40 (patch)
tree5c4fb39ef5518bff50a076850257f1c1d841db61 /scripts/mk-images.i386
parenta83b98978164b6810e5136618d104729273fa267 (diff)
downloadanaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.tar.gz
anaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.tar.xz
anaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.zip
oops, fix japanese munge
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i3868
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 6901e0093..601d8f72f 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -16,10 +16,12 @@ prepareBootImage() {
cp $MBD_FSIMAGE $MBD_BOOTTREE/initrd.img
cp $KERNELROOT/boot/vmlinuz-* $MBD_BOOTTREE/vmlinuz
if [ -d $BOOTDISKDIR/$BOOTLANG ]; then
- if [ $BOOTLANG = "ja_JP" ]; then
- EXTRA='-e "s/ vga=.*//"'
+ # fb console and kon don't get along...
+ if [ "$BOOTLANG" = "ja_JP" ]; then
+ sed -e "s/ vga=.*//g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg-
+ mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg
fi
- sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" $EXTRA < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg-
+ sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg-
mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg
cp $BOOTDISKDIR/$BOOTLANG/*.msg $MBD_BOOTTREE
if [ $? != 0 ]; then