Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've build a custom linux kernel from the vanilla source tree using the deb-pkg target:

make deb-pkg

After that package has been built I've got several .deb files. However I'd like to upload those files to a private repository which is managed by reprepro. I need a .changes file for that. I could generated the changes file with

dpkg-genchanges

This in turn needs a .dsc file which I don't have.

How do I generated a .dsc (and .changes) file from a vanilla linux source tree from which I've build .deb packages using make deb-pkg?

share|improve this question

1 Answer 1

I don't believe make deb-pkg gives you a source package, only a binary package, so there isn't really a .dsc file to be had.

To generate a changes file that you can use to upload to reprepro, use the changestool program that comes with reprepro:

changestool --create-with-all-fields kernel.changes add <deb-file>

You may need to edit the resulting changes file to fill out a few more things, like the target distribution, before reprepro is happy, but it should get you most of the way there.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.