What is a debian/rules file

Asked by ActiveS on 2010-01-18

I have Ubuntu 8.04 and I have compiled the sourcecode of GRUB 0.97 and when I try to run GRUB the error Segmentation fault comes on the screen. I have read this --> https://bugs.launchpad.net/ubuntu/+source/grub/+bug/181089 and Gamma wrote :I did the rebuild by applying debian/rules patch and everything worked fine.

But I don understand what that means. I don' know what a debian/rules file is. And I don't know where to find it. And I don know how to patch it.

Can you help me?

Sjoerd

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
ActiveS
Solved:
2010-01-22
Last query:
2010-01-22
Last reply:
2010-01-20
Ilya Barygin (randomaction) said : #1

debian/rules file is in the source package. If you have source packages enabled in your Sotfware Sources, you can grab a source package of grub with the command

apt-get source grub

ActiveS (s-groenenberg) said : #2

Thank you for your answer.
I didn't use apt-get but i have used the source package from the grub website. And there is no debian/rules file in there. But now I understand that the debian/rules file is in grub package if I use apt-get.

My problem with the segmentation fault is solved because I switched to gcc 3.4