bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub-0.91 md5crypt unrecognized command (patch)


From: Dennis Kitzman
Subject: grub-0.91 md5crypt unrecognized command (patch)
Date: 03 Feb 2002 22:19:18 -0600

When using grub version 0.91 build using ./configure; make, I couldn't
get md5crypt to work.

grub> md5crypt

Error 27: Unrecognized command

The problem seems to be a typo in the definition of libgrub_a_CFLAGS in
stage2/Makefile.am.  I've attached a patch that has fixed the problem
for me.

Index: grub/ChangeLog
===================================================================
RCS file: /cvsroot/grub/grub/ChangeLog,v
retrieving revision 1.466
diff -u -r1.466 ChangeLog
--- grub/ChangeLog      19 Jan 2002 20:27:49 -0000      1.466
+++ grub/ChangeLog      4 Feb 2002 03:53:51 -0000
@@ -1,3 +1,9 @@
+2002-02-03  Dennis Kitzman  <address@hidden>
+
+       * stage2/Makefile.am (libgrub_a_CFLAGS): Fixed a typo. 
+       FSYS_XFS, USE_MD5_PASSWORDS, SUPPORT_SERIAL, and
+       SUPPORT_HERCULES did not get defined.
+
 2002-01-20  Yoshinori K. Okuji  <address@hidden>
 
        * util/grub-image.in: Check stage2 instead of stage2.c to
Index: grub/stage2/Makefile.am
===================================================================
RCS file: /cvsroot/grub/grub/stage2/Makefile.am,v
retrieving revision 1.37
diff -u -r1.37 Makefile.am
--- grub/stage2/Makefile.am     27 Oct 2001 16:04:24 -0000      1.37
+++ grub/stage2/Makefile.am     4 Feb 2002 03:53:52 -0000
@@ -20,7 +20,7 @@
        fsys_xfs.c stage2.c md5.c
 libgrub_a_CFLAGS = $(GRUB_CFLAGS) -I$(top_srcdir)/lib \
        -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 \
-       -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1
+       -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 \
        -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 \
        -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -fwritable-strings
 
Index: grub/stage2/Makefile.in
===================================================================
RCS file: /cvsroot/grub/grub/stage2/Makefile.in,v
retrieving revision 1.54
diff -u -r1.54 Makefile.in
--- grub/stage2/Makefile.in     27 Oct 2001 16:04:24 -0000      1.54
+++ grub/stage2/Makefile.in     4 Feb 2002 03:53:53 -0000
@@ -113,7 +113,9 @@
 
 libgrub_a_CFLAGS = $(GRUB_CFLAGS) -I$(top_srcdir)/lib \
        -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 \
-       -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1
+       -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 \
+       -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 \
+       -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -fwritable-strings
 

 EXTRA_PROGRAMS = nbloader.exec pxeloader.exec diskless.exec
@@ -2572,8 +2574,6 @@
        mostlyclean mostlyclean-compile mostlyclean-generic tags \
        uninstall uninstall-am uninstall-info-am uninstall-pkgdataDATA
 
-       -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 \
-       -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -fwritable-strings
 
 stage2_size.h: pre_stage2
        -rm -f stage2_size.h




reply via email to

[Prev in Thread] Current Thread [Next in Thread]