sg3-utils new package.
PATCH 1/1 sg3-utils new package.
--- package/Config.in | 1 + package/sg3_utils/Config.in | 7 +++++++ package/sg3_utils/sg3_utils.mk | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 package/sg3_utils/Config.in create mode 100644 package/sg3_utils/sg3_utils.mk
package/Config.in +1 -0
@@ -253,6 +253,7 @@ source "package/rng-tools/Config.in" source "package/sane-backends/Config.in" source "package/sdparm/Config.in" source "package/setserial/Config.in" +source "package/sg3_utils/Config.in" source "package/smartmontools/Config.in" source "package/snowball-hdmiservice/Config.in" source "package/sredird/Config.in"
package/sg3_utils/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_SG3_UTILS + bool "sg3_utils" + help + sg3_utils is a package of utilities that send SCSI commands to the + given <scsi_device> via a SCSI pass through. + + http://sg.danny.cz/sg/
package/sg3_utils/sg3_utils.mk new file +10 -0
@@ -0,0 +1,10 @@ +############################################################# +# +# sg3_utils +# +############################################################# +SG3_UTILS_VERSION = 1.34 +SG3_UTILS_SITE = http://sg.danny.cz/sg/p/ +SG3_UTILS_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
PATCH 1/1 sg3-utils new package.
Quoted 1 line · Marek Belisko
Signed-off-by Marek Belisko<[email protected]>
[snip]
package/sg3_utils/Config.in line 2
Quoted 8 lines
package/sg3_utils/Config.in new file +2
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_SG3_UTILS + bool "sg3_utils"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
(actually only sgp_dd needs threads so that could be patched out in theMakefile).
Not sure about IPv6.
Otherwise, looks good.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 sg3-utils new package.
In reply to Marek BeliskoDear Marek Belisko,
Quoted 1 line · Marek Belisko
+SG3_UTILS_INSTALL_STAGING = YES
Hum, why is this needed? Does sg3_utils installs some libraries or headers that are useful for other packages?
Thanks,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 sg3-utils new package.
Hi Thomas,
Quoted 8 lines · Thomas Petazzoni
Dear Marek Belisko,
Quoted 1 line · Marek Belisko
+SG3_UTILS_INSTALL_STAGING = YES
Hum, why is this needed? Does
sg3_utilsinstalls some libraries or headers that are useful for other packages?
I'm working on adding udisks to buildroot and udisks have dependency on sg3-utils library so this is the reason why installing to staging. I've read somewhere on ML you was working also on udisks package. Was it successful?
Quoted 9 lines
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Cheers,
mbe
Signature · 10 lines
as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
PATCH 1/1 sg3-utils new package.
Dear Belisko Marek,
Quoted 4 lines · Belisko Marek
Quoted 2 lines
Hum, why is this needed? Does
sg3_utilsinstalls some libraries or headers that are useful for other packages?I'm working on adding udisks to buildroot and udisks have dependency on sg3-utils library so this is the reason why installing to staging.
Ok. A comment just before the _INSTALL_STAGING line would be useful, then, because for a "utils" package, we don't necessarily expect to have a library in it.
Quoted 2 lines
I've read somewhere on ML you was working also on udisks package. Was it successful?
It was a looong time ago. I think I managed to get udisks to build, but I hadn't had the time to do some real testing with it: I was first doing some testing of polkit, which is a dependency of udisks.
I've put online the 3 patches I had done at that time (note that they are old: they still use the old AUTOTARGETS macro name), see:
http://free-electrons.com/~thomas/pub/udisks-buildroot/
Best regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 sg3-utils new package.
Hi Thomas,
Quoted 16 lines · Thomas Petazzoni
Dear Belisko Marek,
Quoted 4 lines · Belisko Marek
Quoted 2 lines
Hum, why is this needed? Does
sg3_utilsinstalls some libraries or headers that are useful for other packages?I'm working on adding udisks to buildroot and udisks have dependency on sg3-utils library so this is the reason why installing to staging.
Ok. A comment just before the
_INSTALL_STAGINGline would be useful, then, because for a "utils" package, we don't necessarily expect to have a library in it.Quoted 2 lines
I've read somewhere on ML you was working also on udisks package. Was it successful?
Quoted 7 lines
It was a looong time ago. I think I managed to get udisks to build, but I hadn't had the time to do some real testing with it: I was first doing some testing of polkit, which is a dependency of udisks.
I've put online the 3 patches I had done at that time (note that they are old: they still use the old AUTOTARGETS macro name), see:
http://free-electrons.com/~thomas/pub/udisks-buildroot/
Thanks for patches. I made small update and I can compile polkit without problems but I have still problems with udisks.
Basically udisks have only autogen.sh script and I was trying to use:UDISKS_AUTORECONF = YES macro.
With this change it fails during autoreconfiguring:
configure.ac:13: the top level
configure.ac:225: warning: AM_NLS is m4_require'd but not m4_defun'd aclocal.m4:1204: IT_PROG_INTLTOOL is expanded from... configure.ac:225: the top level
configure:14234: error: possibly undefined macro: AM_NLS
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
Am I missing some dependency?
Quoted 9 lines
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Thanks,
marek
Signature · 10 lines
as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
PATCH 1/1 sg3-utils new package.
Dear Belisko Marek,
Quoted 9 lines · Belisko Marek
configure.ac:13: the top level
configure.ac:225: warning:AM_NLSis m4_require'd but not m4_defun'd aclocal.m4:1204:IT_PROG_INTLTOOLis expanded from... configure.ac:225: the top level
configure:14234: error: possibly undefined macro:AM_NLS
If this token and others are legitimate, please usem4_pattern_allow. See the Autoconf documentation.Am I missing some dependency?
I guess this macro is installed by gettext, but not sure.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 sg3-utils new package.
Hi Thomas,
Quoted 12 lines · Thomas Petazzoni
Dear Belisko Marek,
Quoted 8 lines · Belisko Marek
configure.ac:13: the top level
configure.ac:225: warning:AM_NLSis m4_require'd but not m4_defun'd aclocal.m4:1204:IT_PROG_INTLTOOLis expanded from... configure.ac:225: the top level
configure:14234: error: possibly undefined macro:AM_NLS
If this token and others are legitimate, please usem4_pattern_allow. See the Autoconf documentation.
Quoted 3 lines
Quoted 1 line
Am I missing some dependency?
I guess this macro is installed by gettext, but not sure.
Hmm it was my mistake somehow. I proceed forward but now have troubles in configuration phase:
checking for LIBPARTED... yes
checking for DEVMAPPER... no
configure: error: Package requirements (devmapper >= 1.02) were not met:
I choose BR2_PACKAGE_LVM2 and aso add dependency to lvm2 but error still exists. I was looking to stagin directory and libdevmapper is is /usr/lib. Not sure why it pkg-config cannot
find. Ideas?
Quoted 7 lines
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Thanks in advance,
Marek
Signature · 10 lines
as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com