projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f139a
)
- support xz decoder helper script
author
Michael Schroeder
<mls@suse.de>
Mon, 14 Jun 2010 15:10:58 +0000
(17:10 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 14 Jun 2010 15:10:58 +0000
(17:10 +0200)
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
a0fbc87
..
c1c7e33
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-141,6
+141,11
@@
preinstall()
test -f "$BUILD_DIR/lzmadec.sh" && PAYLOADDECOMPRESS="bash $BUILD_DIR/lzmadec.sh"
fi
fi
+ if test "$PAYLOADDECOMPRESS" = "xz -d" ; then
+ if ! xz </dev/null >/dev/null 2>&1 ; then
+ test -f "$BUILD_DIR/xzdec.sh" && PAYLOADDECOMPRESS="bash $BUILD_DIR/xzdec.sh"
+ fi
+ fi
if test "$PAYLOADDECOMPRESS" = cat ; then
rpm2cpio "$BUILD_ROOT/.init_b_cache/rpms/$1.rpm" | $CPIO
else