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

Re: Using build-and-upload for packages targeted at experimental



On Sat, Aug 27, 2016 at 12:34:52AM +0530, Pirate Praveen wrote:
> Hi,
> 
> Is this change ok? It will not work when build dependencies from
> experimental are required

for that to work you just need to have experimental in the sources.list

> but will work in the simple case of just
> stashing packages in experimental to not break dependencies in unstable.
> 
> diff --git a/build-and-upload b/build-and-upload
> index 1a41c68..66fd4d1 100755
> --- a/build-and-upload
> +++ b/build-and-upload
> @@ -264,6 +264,9 @@ case "$distribution" in
>      fi
>      host=security-master
>      ;;
> +  experimental)
> +    git_builder="$git_builder"\ -c\ unstable-${arch}-sbuild
> +    ;;
>    UNRELEASED)
>      git_builder="$git_builder"\ -c\ unstable-${arch}-sbuild
>      ;;

I would like to not special case any suite here. you just need an
experimental chroot, named experimental-${arch}-sbuild, and it just
works. just like if you were building for e.g. jessie.

if you don't want to have a separate chroot, you can also just make your
unstable chroot also do experimental, like this:

$ grep aliases /etc/schroot/chroot.d/unstable-amd64-sbuild
aliases=experimental-amd64-sbuild

Attachment: signature.asc
Description: PGP signature


Reply to: