[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preparing a source and binary package



On Mon, Apr 26, 1999 at 03:20:24PM +0200, Christian T. Steigies wrote:
> its time that I upload my first source package. I have built the source with
> dpkg-source -b and the binary package with debbuild/sbuild (building tool
> used by porters, well, at least by me).
> Now I have the following files:
> ftpgrab_0.0.4a-1.diff.gz       ftpgrab_0.0.4a-1_m68k.deb
> ftpgrab_0.0.4a-1.dsc           ftpgrab_0.0.4a.orig.tar.gz
> ftpgrab_0.0.4a-1_m68k.changes
> 
> Now my question (having uploaded only m68k binary packages till now):
> How do I upload it all in one bunch (with dupload)? Do I have to add the
> source packages with md5sums to the changes file or the m68k files to the
> dsc file? 
> How do I include all these files (in .changes I presume) automatically? I
> have to call buildpackage with -B instead of -b?

You just need to exec 'dpkg-buildpackage -rfakeroot' from the source
directory. It'll do everything for you, including putting everything in
the changes file, and signing the dsc and changes file. After that go
one dir up, and exec 'dupload --to master ftpgrab_0.0.4a-1_m68k.changes'.

If it still does not include the source in changes file (but I don't
see why would that happen), then add the -sa option to dpkg-buildpackage.

> I think this info is missing from the otherwise very informative
> maintainers-guide.

How do you mean missing? It's there, in the last chapter.

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/


Reply to: