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

Re: What is the best method to update only some binary packages



Osamu Aoki wrote:

> Hi,
> 
> Suppose source foo_1.0.tar.gz produces:
>  foo-updated_1.0_all.deb
>  foo-static_1.0_all.deb
> 
> Then with next source foo_1.1.tar.gz with updated contents will produce
> now with normal build script:
>  foo-updated_1.1_all.deb  (updated from foo-updated_1.0_all.deb)
>  foo-static_1.1_all.deb   (same as foo-static_1.0_all.deb)
> 
> Then What is the best way to make update archive to have:
>  foo-updated_1.1_all.deb
>  foo-static_1.0_all.deb
> 
> This way user will not be forced to download same package again.
> 
> Any suggestion for debian/rules ?  or pointer to good example.

You can't really do this, AFAIK. You can break the source into 2 separate source
packages that each build one package. That way you only update the foo-updated
package.

-- 

  Felipe Sateler


Reply to: