grub(2) - ONLY_FOR_ARCHS= i386 ?

2016-03-19 Thread Jiri B
Hi, I'm working on to make grub2 work on OpenBSD to replace pxelinux on my netinstall server and I have this question - - why is there 'ONLY_FOR_ARCHS= i386' in our old grub? I'm working on grub2 on amd64, I haven't tested that yet but following works on amd64: jirib:/tmp $ grub-mknetdir

Re: grub(2) - ONLY_FOR_ARCHS= i386 ?

2016-03-19 Thread Stuart Henderson
On 2016/03/17 19:26, Michael McConville wrote: > Jiri B wrote: > > I'm working on to make grub2 work on OpenBSD to replace > > pxelinux on my netinstall server and I have this question - > > - why is there 'ONLY_FOR_ARCHS= i386' in our old grub? > > Try building. You get the following during

Re: grub(2) - ONLY_FOR_ARCHS= i386 ?

2016-03-19 Thread Michael McConville
Jiri B wrote: > I'm working on to make grub2 work on OpenBSD to replace > pxelinux on my netinstall server and I have this question - > - why is there 'ONLY_FOR_ARCHS= i386' in our old grub? Try building. You get the following during configure: > checking whether the C compiler works...

Re: grub(2) - ONLY_FOR_ARCHS= i386 ?

2016-03-19 Thread Jiri B
> > I'm working on to make grub2 work on OpenBSD to replace > > pxelinux on my netinstall server and I have this question - > > - why is there 'ONLY_FOR_ARCHS= i386' in our old grub? > > Try building. You get the following during configure: > > > checking whether the C compiler works...

Re: grub(2) - ONLY_FOR_ARCHS= i386 ?

2016-03-18 Thread Jiri B
> > I recall finding a better explanation (or coming up with one myself) > > when I originally tried this a few months ago, but I've since forgotten. > > Considering that PIE broke it when introduced, I wouldn't be surprised > > if some of our linking features are related. > > It's testing that