From e719fac8f86c2eb0fb462cb348b0bfe4db0ad9dd Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Fri, 21 Feb 2014 22:16:35 -0500 Subject: [PATCH] Add i2c-tools --- config/packages-list | 1 + stage5/hv-install-1 | 2 ++ stage5/packages-update | 2 ++ stage5/pkg/i2c-tools | 9 +++++++++ 4 files changed, 14 insertions(+) create mode 100644 stage5/pkg/i2c-tools diff --git a/config/packages-list b/config/packages-list index e9ea0e3..74784e8 100644 --- a/config/packages-list +++ b/config/packages-list @@ -173,6 +173,7 @@ HTTPD="httpd-2.4.3" HVCLOCK="hvclock-1.0.2" HV_UTILITIES="hv-utilities-0.1.0" +I2C_TOOLS="i2c-tools-3.1.1" IANA="iana-etc-2.30" ICON_NAMING_UTILS="icon-naming-utils-0.8.90" ICU="icu4c-49_1_2-src" diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 21dcf85..be896c0 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -270,6 +270,8 @@ ipkg -m noac ${STELLARIUM} ipkg ${GTKGLEXT} ipkg -m acnb ${CELESTIA} "--with-gtk" +ipkg -m noac ${I2C_TOOLS} + rscr mult "Performing post-install" post-install write_completed_stage diff --git a/stage5/packages-update b/stage5/packages-update index bcd82c6..c36b265 100755 --- a/stage5/packages-update +++ b/stage5/packages-update @@ -223,4 +223,6 @@ fpkg -e "tar.gz" -m hv ${STELLARIUM} fpkg -m sf ${GTKGLEXT} fpkg -e "tar.gz" -m hv ${CELESTIA} +fpkg ${I2C_TOOLS} "http://dl.lm-sensors.org/i2c-tools/releases" + exit $? diff --git a/stage5/pkg/i2c-tools b/stage5/pkg/i2c-tools new file mode 100644 index 0000000..7926741 --- /dev/null +++ b/stage5/pkg/i2c-tools @@ -0,0 +1,9 @@ +#!/bin/bash + +hvbuild() +{ + cd ${LFS_TMP}/${PACKAGE} + + ${HVMAKE} + ${HVMAKE} prefix=/usr install +} -- 2.20.1