Annotation of /trunk/dracut/patches/dracut-027-busybox-compat-lsinitrd.patch
Parent Directory | Revision Log
Revision 2171 -
(hide annotations)
(download)
Tue May 7 11:19:52 2013 UTC (11 years, 4 months ago) by niro
File size: 517 byte(s)
Tue May 7 11:19:52 2013 UTC (11 years, 4 months ago) by niro
File size: 517 byte(s)
-more busybox-compat patches
1 | niro | 2171 | diff -Naur dracut-027/lsinitrd.sh dracut-027-busybox/lsinitrd.sh |
2 | --- dracut-027/lsinitrd.sh 2013-03-26 15:55:03.000000000 +0000 | ||
3 | +++ dracut-027-busybox/lsinitrd.sh 2013-05-07 13:32:56.720000000 +0000 | ||
4 | @@ -77,9 +77,8 @@ | ||
5 | CAT=zcat | ||
6 | FILE_T=$(file --dereference "$image") | ||
7 | |||
8 | -if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then | ||
9 | - XZ_SINGLE_STREAM="--single-stream" | ||
10 | -fi | ||
11 | +# no single-stream support with xz from busybox | ||
12 | +XZ_SINGLE_STREAM="" | ||
13 | |||
14 | if [[ "$FILE_T" =~ :\ gzip\ compressed\ data ]]; then | ||
15 | CAT=zcat |