Thursday, October 9, 2003

cpio and rpm


I'm trying to submit tools and libraries into source control, and the tools (such as glibc) arrive in rpm's. Instead of installing them (which is what I don't want to do), I'm ripping the contents out. Of course, rpm doesn't give you an easy way to do that.
But I have determined the correct syntax to do it, as rpm's are really cpio files:
rpm2cpio rpmfile.rpm | cpio -id

Wednesday, October 8, 2003

checkstyle and phoning home

I noticed that everytime checkstyle runs it contacts www.puppycrawl.com to get its DTD. This is annoying...
I thought it was a bug in the checkstyle code, but it turns out I put the wrong DTD identifier at the top of all the checkstyle config files. Once I fixed that, it stopped phoning home.