Changing ./configure option in a debian source package

Steve Nelson <[email protected]> Sat, 14 May 2005 23:16:16 +0100
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hello all,

I have a requirement to use grub with netbooting enabled.

This simply requires me to ./configure --enable-diskless --enable-<some-card>

However, in the debian world, how does one do this?

I obtained the source and build deps as per usual:

apt-get build-deb grub
apt-get source grub

Then inside the grub tree, I tried just running a ./configure and then
a dpkg-buildpackage, and I also tried hacking the debian/rules file,
and running dpkg-buildpackage.

Neither produced a .deb with the pxeimage I needed.

./configre --enable-diskless --enable-<some-card> && make does produce
the pxeimage, so I have what I wanted, but I still don't have an
answer to the more general (and useful) question:

If I want to build a debian package from source and change the
maintainer's configure options, what do I do?

I am sure that changing the debian/rules file must be the right way,
but have I missed something else?

Thanks,

Steve
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers