add zisofs-tools to support compressed iso images
PATCH 1/1 add zisofs-tools to support compressed iso images
From: Heiko Zuerker <[email protected]>
--- package/zisofs-tools/Config.in | 11 +++++++++++ package/zisofs-tools/zisofs-tools.mk | 17 +++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 package/zisofs-tools/Config.in create mode 100644 package/zisofs-tools/zisofs-tools.mk
package/zisofs-tools/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_ZISOFSTOOLS + bool "zisofstools" + select BR2_PACKAGE_ZLIB + help + The zisofs filesystem is an extension to the ISO9660 filesystem that + allows files, on a file-by-file basis, to be stored compressed and + decompressed in real time. The zisofs filesystem is supported by recent + versions of Linux (2.4.14 or later). Legacy systems can still read + uncompressed files. zisofs-tools contains the tools necessary to create + such a compressed ISO9660 filesystem and to read compressed files on a + legacy system.
package/zisofs-tools/zisofs-tools.mk new file +17 -0
@@ -0,0 +1,17 @@ +############################################################# +# +# zisofs-tools +# +############################################################# +ZISOFS_TOOLS_VERSION = 1.0.8 +ZISOFS_TOOLS_SOURCE = zisofs-tools-$(ZISOFS_TOOLS_VERSION).tar.bz2 +ZISOFS_TOOLS_SITE = http://www.kernel.org/pub/linux/utils/fs/zisofs + +ZISOFS_TOOLS_INSTALL_TARGET_OPT = INSTALLROOT=$(TARGET_DIR) +ZISOFS_TOOLS_INSTALL_HOST_OPT = INSTALLROOT=$(HOST_DIR) + +ZISOFS_TOOLS_DEPENDENCIES=zlib +HOST_ZISOFS_TOOLS_DEPENDENCIES=host-zlib + +$(eval $(call AUTOTARGETS,package,zisofs-tools)) +$(eval $(call AUTOTARGETS,package,zisofs-tools,host))
Signature · 1 line
1.7.3.2
PATCH 1/1 add zisofs-tools to support compressed iso images
@@ -5606,6 +5623,10 @@ fi\
# Replace all uninstalled libtool libraries with the installed ones newdependency_libs=
for deplib in $dependency_libs; do
+ # Replacing uninstalled with installed can easily break crosscompilation, + # since the installed path is generally the wrong architecture. -CL + newdependency_libs="$newdependency_libs $deplib" + continue
case $deplib in
*.la)
name=$echo "X$deplib" | $Xsed -e 's%^.*/%%'
@@ -5927,10 +5948,13 @@ relink_command=\"$relink_command\""
# At present, this check doesn't affect windows .dll's that
# are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. - if test "$inst_prefix_dir" = "$destdir"; then - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 - exit $EXIT_FAILURE - fi + # + # This breaks install into our staging area. -PB + # + # if test "$inst_prefix_dir" = "$destdir"; then + # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + # exit $EXIT_FAILURE + # fi
if test -n "$inst_prefix_dir"; then
# Stick the inst_prefix_dir data into the link command.
PATCH 1/1 add zisofs-tools to support compressed iso images
In reply to heiko at zuerker.org if test -n "$inst_prefix_dir"; then
# Stick the inst_prefix_dir data into the link command.
@@ -5412,8 +5415,14 @@ func_mode_link ()
absdir="$abs_ladir"
libdir="$abs_ladir"
else
- dir="$libdir"
- absdir="$libdir"
+ # Adding 'libdir' from the .la file to our library search paths + # breaks crosscompilation horribly. We cheat here and don't add + # it, instead adding the path where we found the .la. -CL + dir="$abs_ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + #dir="$libdir" + #absdir="$libdir"
fi
test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
else
@@ -5564,7 +5573,7 @@ func_mode_link ()
*)
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
+ need_relink=no
fi
;;
esac
@@ -8052,6 +8061,10 @@ EOF
# Replace all uninstalled libtool libraries with the installed ones newdependency_libs=
for deplib in $dependency_libs; do
+ # Replacing uninstalled with installed can easily break crosscompilation, + # since the installed path is generally the wrong architecture. -CL + newdependency_libs="$newdependency_libs $deplib" + continue
case $deplib in
*.la)
func_basename "$deplib"
PATCH 1/1 add zisofs-tools to support compressed iso images
In reply to heiko at zuerker.orgOops.
I was sitting in the packages directory and accidentally also sent too much. Please use only the latest one I sent (Sun 12/5/2010 9:06 AM CST).
Sorry for that!
Signature · 3 lines
Regards Heiko Zuerker http://www.devil-linux.org
Quoted 12 lines
-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] On Behalf Of heiko at zuerker.org
Sent: Sunday, December 05, 2010 9:04 AM
To: buildroot at busybox.net
Subject: [Buildroot] [PATCH] add zisofs-tools to support compressed iso imagesFrom: Heiko Zuerker <[email protected]>
Signed-off-by Heiko Zuerker <[email protected]>
Review
Quoted 8 lines
--- package/zisofs-tools/Config.in | 11 +++++++++++ package/zisofs-tools/zisofs-tools.mk | 17 +++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644package/zisofs-tools/Config.in create mode 100644 package/zisofs-
tools/zisofs-tools.mk(quoted diff) +0
-0
b/package/zisofs-tools/Config.in
package/zisofs-tools/Config.in line 5
Quoted 9 lines
new file mode 100644 index 0000000..ed88646
package/zisofs-tools/Config.in new file +5
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_ZISOFSTOOLS + bool "zisofstools" + select BR2_PACKAGE_ZLIB + help + The zisofs filesystem is an extension to the ISO9660 filesystem
that
Quoted 42 lines
package/zisofs-tools/Config.in new file +2
-0+ allows files, on a file-by-file basis, to be stored compressed and + decompressed in real time. The zisofs filesystem is supported byrecent
package/zisofs-tools/Config.in new file +2
-0+ versions of Linux (2.4.14 or later). Legacy systems can still read + uncompressed files. zisofs-tools contains the tools necessary tocreate
package/zisofs-tools/Config.in new file +1
-0+ such a compressed ISO9660 filesystem and to read compressed fileson a
package/zisofs-tools/Config.in new file +1
-0+ legacy system.package/zisofs- renamed from package/zisofs-tools/zisofs-tools.mk +0
-0
tools/zisofs-tools.mk
new file mode 100644
index 0000000..e81b31cpackage/zisofs-tools/zisofs-tools.mk new file +1
-0@@ -0,0 +1,17 @@ +#############################################################
package/zisofs-tools/zisofs-tools.mk new file +4
-0+# +# zisofs-tools +# +#############################################################
package/zisofs-tools/zisofs-tools.mk new file +12
-1+ZISOFS_TOOLS_VERSION = 1.0.8 +ZISOFS_TOOLS_SOURCE = zisofs-tools-$(ZISOFS_TOOLS_VERSION).tar.bz2 +ZISOFS_TOOLS_SITE = http://www.kernel.org/pub/linux/utils/fs/zisofs + +ZISOFS_TOOLS_INSTALL_TARGET_OPT = INSTALLROOT=$(TARGET_DIR) +ZISOFS_TOOLS_INSTALL_HOST_OPT = INSTALLROOT=$(HOST_DIR) + +ZISOFS_TOOLS_DEPENDENCIES=zlib +HOST_ZISOFS_TOOLS_DEPENDENCIES=host-zlib + +$(eval $(call AUTOTARGETS,package,zisofs-tools)) +$(eval $(call AUTOTARGETS,package,zisofs-tools,host)) --1.7.3.2
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot