Friday, June 09, 2006

At least it got figured out eventually

This is for the programmers.

Over the past two days, I've spent about 9 hours trying to do something at work involving Xen and squashfs, a special filesystem. It needed into the kernel, and the way you do this is place a patch in the appropriately named "patches" directory in the build tree and tada it gets pulled in next to you build. Pretty nifty, except something has been going wrong and squashfs support just wasn't happening. I think I finally just found the problem. It seems that the make scripts look for any *.patch files in the patches directory. For example, my patch could be called something like squashfs-3.0.patch. However, if you name it squashfs-3.0-patch, your patch will not be pulled in and it will take you a long time to notice this. Nine hours for a fucking period. Oy.

0 Comments:

Post a Comment

<< Home