On Mon, Oct 29, 2012 at 11:49:37PM -0700, Jonathan Nieder wrote:
> Sounds sane.  How about something like this?

Nice; one tiny suggestion:

> Index: debian/bin/test-patches
> ===================================================================
> --- debian/bin/test-patches   (révision 19472)
> +++ debian/bin/test-patches   (copie de travail)
> @@ -19,9 +19,15 @@
>      featureset=none
>  fi
>  
> -eval "set -- $(getopt -n "$0" -- "f:j:s:" "$@")"
> +if [ -z "${DEBIAN_KERNEL_DISABLE_DEBUG+set}" ]; then

Simpler would surely be:

if [ -z "$DEBIAN_KERNEL_DISABLE_DEBUG" ]; then

> +    export DEBIAN_KERNEL_DISABLE_DEBUG='yes, from debian/bin/test-patches'
> +fi
> +
> +eval "set -- $(getopt -n "$0" -- "cdf:j:s:" "$@")"
>  while true; do
>      case "$1" in
> +     -c) export DEBIAN_KERNEL_USE_CCACHE='yes, from commandline'; shift 1 ;;
> +     -d) export DEBIAN_KERNEL_DISABLE_DEBUG=; shift 1 ;;
>       -f) flavour="$2"; shift 2 ;;
>       -j) export MAKEFLAGS="$MAKEFLAGS -j$2"; shift 2 ;;
>       -s) featureset="$2"; shift 2 ;;
> @@ -33,6 +39,8 @@
>      echo >&2 "Usage: $0 [<options>] <patch>..."
>      cat >&2 <<EOF
>  Options:
> +     -c               use ccache for compilation
> +     -d               build debug packages, too
>       -f <flavour>     specify the 'flavour' of kernel to build, e.g. 686-pae
>       -j <jobs>        specify number of compiler jobs to run in parallel
>       -s <featureset>  specify an optional featureset to apply, e.g. rt

   Julian


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121030091827.gb32...@d-and-j.net

Reply via email to