Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1e97e129f97e004e0481f215eebf81eee64e9ed6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1e97e129f97e004e0481f215eebf81eee64e9ed6)
  • Date: Sat, 1 Dec 2007 21:54:54 +0100

On Sat, Dec 01, 2007 at 10:40:05AM -0600, Ladislav Hagara wrote:
> GIT changes to master grimoire by Ladislav Hagara <ladislav.hagara AT unob.cz>:
>
> kernels/lm_sensors/BUILD | 6 +-----
> kernels/lm_sensors/DEPENDS | 3 +--
> kernels/lm_sensors/HISTORY | 4 ++++
> kernels/lm_sensors/INSTALL | 18 +-----------------
> 4 files changed, 7 insertions(+), 24 deletions(-)
>
> New commits:
> commit 1e97e129f97e004e0481f215eebf81eee64e9ed6
> Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
> Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>
>
> lm_sensors: removed support for 2.4.X linux kernels
> lm_sensors 3.0 support only linux kernels > 2.6.5
>
> probably good idea to add new spell lm_sensors-2 or add support to
> lm_sensors to choose branch 2 or branch 3

I would suggest adding a lm_sensors-2 one. Right now every user of
lm_sensors in the grimoire is broken because the api changed completely.

> diff --git a/kernels/lm_sensors/BUILD b/kernels/lm_sensors/BUILD
> index a844f10..bee6666 100755
> --- a/kernels/lm_sensors/BUILD
> +++ b/kernels/lm_sensors/BUILD
> @@ -1,5 +1 @@
> -if [[ $(uname -r) == 2.4.* ]] ; then
> - make
> -elif [[ $(uname -r) == 2.6.* ]]; then
> - make user
> -fi
> +make all
> diff --git a/kernels/lm_sensors/DEPENDS b/kernels/lm_sensors/DEPENDS
> index 058b5e9..36541bf 100755
> --- a/kernels/lm_sensors/DEPENDS
> +++ b/kernels/lm_sensors/DEPENDS
> @@ -1,2 +1 @@
> -depends sysfsutils &&
> -optional_depends i2c "" "" "for 2.4.X kernels, 2.6.X kernels must build
> from kernel tree"
> +depends sysfsutils
> diff --git a/kernels/lm_sensors/HISTORY b/kernels/lm_sensors/HISTORY
> index bdf0d61..36a4af6 100644
> --- a/kernels/lm_sensors/HISTORY
> +++ b/kernels/lm_sensors/HISTORY
> @@ -1,3 +1,7 @@
> +2007-12-01 Ladislav Hagara <hgr AT vabo.cz>
> + * DEPENDS, BUILD, INSTALL: removed support for 2.4.X linux kernels
> + lm_sensors 3.0 support only linux kernels > 2.6.5
> +
> 2007-11-26 Pol Vinogradov <vin.public AT gmail.com>
> * DETAILS: updated to 3.0.0, changed tarball and signature extensions
> * lm_sensors.gpg: now contains 38F02FC8 key
> diff --git a/kernels/lm_sensors/INSTALL b/kernels/lm_sensors/INSTALL
> index a1dff2e..621f3f8 100755
> --- a/kernels/lm_sensors/INSTALL
> +++ b/kernels/lm_sensors/INSTALL
> @@ -1,17 +1 @@
> -if [[ $(uname -r) == 2.4.* ]] ; then
> - make I2C_HEADERS=/usr/include \
> - PREFIX=${INSTALL_ROOT}/usr \
> - install &&
> - if [[ "`ls /dev/ | grep i2c-`" == "" ]]
> - then
> - prog/mkdev/mkdev.sh
> - fi
> - # ignore depmod errors
> - ( depmod -a || true )
> -elif [[ $(uname -r) == 2.6.* ]]; then
> - make PREFIX=${INSTALL_ROOT}/usr user_install &&
> - if [[ "`ls /dev/ | grep i2c-`" == "" ]]
> - then
> - prog/mkdev/mkdev.sh
> - fi
> -fi
> +make PREFIX=${INSTALL_ROOT}/usr install
> _______________________________________________
> SM-Commit mailing list
> SM-Commit AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-commit

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page