This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] kernel/linux: Cleanup unneeded files from 'headers_check' and 'headers_install'


On Tue, Dec 21, 2010 at 3:17 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Bryan, All,
>
> On Tuesday 21 December 2010 21:14:33 Bryan Hundven wrote:
>> # HG changeset patch
>> # User Bryan Hundven <bryanhundven@gmail.com>
>> # Date 1292962441 28800
>> # Node ID 92951c85f1f2810fdedc29d9576c3cc316e0bb86
>> # Parent Â13e4f7126cf76604d53510f9571e6422991774fd
>> kernel/linux: Cleanup unneeded files from 'headers_check' and 'headers_install'
>>
>> headers_install makes Â.install and ..install.cmd files.
>> headers_check makes  Â.check  and ..check.cmd  files.
>> Remove these files after installing checked include files to the sys-root.
>
> Your SoB line is missing from all your patches. Do you want me to add it
> before I push?
>
> BTW, here's a little (perfectible) script that automatically adds SoB lines
> when running qnew:
>
> Â---8<---
> Â#!/bin/sh
> Â# ----
> Â# (C) 2010 Yann E. MORIN, licensed under the GPLv2
> Â# Usage for this script:
> Â# Put it in /path/to/hg-qnew-sob, and chmod 755 /path/to/hg-qnew-sob
> Â# Add the following to your ~/.hgrc :
> Â# Â [hooks]
> Â# Â post-qnew = /path/to/hg-qnew-sob
> Â# ----
> Â# Fail early and automatically
> Âset -e
> Â# Temp file for log message
> ÂTMP="$(mktemp)"
> Â# Get current log message
> ÂLC_ALL=C hg log -r qtip --template '{desc}\n' >"${TMP}"
> Â# Only add SoB line if none is present
> Âif ! grep -E '^Signed-off-by: (".*"|.*) <.*@.*\..*>$' "${TMP}" >/dev/null 2>&1; then
> Â ÂHG_USERNAME="$( grep -E '^[[:space:]]*username[[:space:]]*=[[:space:]]*' "${HOME}/.hgrc" \
> Â Â Â Â Â Â Â Â Â Â|sed -r -e 's/^[[:space:]]*username[[:space:]]*=[[:space:]]*//;'
> Â Â Â Â Â Â Â Â Â)"
> Â Âprintf "Adding SoB line: '%s'\n" "${HG_USERNAME}" >&2
> Â Âprintf "\nSigned-off-by: %s" "${HG_USERNAME}" >>"${TMP}"
> Â Âhg qrefresh -l "${TMP}" >/dev/null
> Âfi
> Âexit 0
> Â---8<---
>
> Regards,
> Yann E. MORIN
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | ÂYann E. MORIN Â| Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software ÂDesigner | \ / CAMPAIGN Â Â | Â___ Â Â Â Â Â Â Â |
> | +33 223 225 172 `------------.-------: ÂX ÂAGAINST Â Â Â| Â\e/ ÂThere is no Â|
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL  Â|  v  conspiracy. Â|
> '------------------------------^-------^------------------^--------------------'
>


Sorry about that. I will use this script.

If you could add the SoB for now, I will add it to all future commits.

Thanks,

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]