bin/151442: pc-sysinstall patch to fix bug in image decompression
code
John Hixson
john at ixsystems.com
Thu Oct 14 01:50:04 UTC 2010
>Number: 151442
>Category: bin
>Synopsis: pc-sysinstall patch to fix bug in image decompression code
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 14 01:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: John Hixson
>Release: 9.0-CURRENT
>Organization:
iXsystems
>Environment:
FreeBSD thinkbsd 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Sat Sep 25 05:21:08 PDT 2010 john at thinkbsd:/usr/obj/usr/src/sys/THINKBSD amd64
>Description:
Leftover code from a previous patch being removed.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- usr.sbin/pc-sysinstall/backend/functions-disk.sh 2010-10-13 15:28:33.000000000 -0700
+++ usr.sbin/pc-sysinstall.decompress/backend/functions-disk.sh 2010-09-28 20:24:03.000000000 -0700
@@ -507,6 +507,17 @@
DEST="${DISK}"
fi
+ if iscompressed "${IMAGE}"
+ then
+ local COMPRESSION
+
+ get_compression_type "${IMAGE}"
+ COMPRESSION="${VAL}"
+
+ decompress_file "${IMAGE}" "${COMPRESSION}"
+ IMAGE="${VAL}"
+ fi
+
write_image "${IMAGE}" "${DEST}"
check_disk_layout "${DEST}"
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list