On Sat, Aug 12, 2006 at 01:17:41PM +0100, Chris Carr wrote: > I am trying to build my own d-i CD, so that I can add fakeraid support using > dmraid. > > I have followed the instructions at > > http://wiki.debian.org/DebianInstaller/Build > > - I have all the necessary packages, so that dpkg-checkbuilddeps returns > nothing. I have created sources.list.udeb.local, but that was ignored > because it did not end in .list, so I renamed it sources.udeb.local.list and > stuck it in /etc/apt/sources.list.d and it works. ^ > > Or rather, it half works. The 'deb' line works, so I can make images. But I > tried to put an identical deb-src line in, and do > > apt-get source hw-detect > > so that I can add a call to dmraid, but that doesn't work. I get the error > > Failed to fetch http://ftp.uk.debian.org/debian/dists/unstable/Release > Unable to find expected entry main/debian-installer/sources/Sources in > Meta-Index file (malformed Release file?) > > ... which means, I presume, that the udeb sources are not there. I cannot > find anything in the debian-installer/doc dir, or on the d-i wiki, about > installing udeb sources so you can actually change them, make your new > installer and then send in a patch. > > Apologies if I'm missing something obvious, but what am I doing wrong?
[1] Mixing up "system" and "build system". Making up that a "deb-src line" is needed for building d-i. Not yet understanding how to add / modify something in d-i. [2] Start with a working system, so _no_ changes to /etc/apt/sources.list needed. Follow the instructions from the above mentioned wiki page and only make changes to the _build_ system. When you have build an unmodified d-i image, then start with your development work. Make in _another_ directory your udeb. Put that udeb in installer/build/localudebs directory and build another image of debian-installer. Cheers Geert Stappers [1] "What you are doing wrong?" There is nothing wrong in playing with interresting technology. But if you want to known what is going wrong: Here you go. [2] This is what you should change. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]