On Tue, 17 Jun 2008 15:46:12 -0400 Pavel Roskin <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-06-17 at 10:51 -0700, Colin D Bennett wrote: > > I fixed ``grub-install`` so it can function when installed > > to a prefix other than ``/usr/local``. This simply meant adding > > > > --directory="${pkglibdir} > > > > to the command line arguments for grub_mkimage. > > The default is GRUB_LIBDIR, which is set to pkglibdir at the compile > time. Your patch would have no effect if anything is compiled and > installed properly. > > Maybe you are trying to change prefix during "make install"? That's > not the best approach. DESTDIR should be used to install to a > temporary location. > > Or maybe you have some other scenario in mind? I'm not sure. All I know is that I did ./configure --prefix=/home/cdb/bin/grub && make && make install, then I tried to do /home/cdb/bin/grub/bin/grub-install /media/sdc1 and grub-mkimage was getting called with /usr/local/lib/something. Since I specified --prefix to configure, I expect grub never ever to refer to /usr/local. This patch fixed my problem. Colin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel