summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgw25295 <none@none>2008-04-14 18:59:46 -0700
committergw25295 <none@none>2008-04-14 18:59:46 -0700
commita58bf6f9bf3ac28074d58e73ab1862b06422b9fd (patch)
treedbbdd54a7a86843f7d579f15a42d723ca0f3a4f0
parent5da9ad7bc7967714b6c6e02dcfe8e6f7cc2d6098 (diff)
downloadillumos-gate-a58bf6f9bf3ac28074d58e73ab1862b06422b9fd.tar.gz
6553503 bfu can't find 'rootdev' from /etc/vfstab on a zfs root filesystem (fix bfu)
-rw-r--r--usr/src/tools/scripts/bfu.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/src/tools/scripts/bfu.sh b/usr/src/tools/scripts/bfu.sh
index c83341b802..1fab224581 100644
--- a/usr/src/tools/scripts/bfu.sh
+++ b/usr/src/tools/scripts/bfu.sh
@@ -7282,15 +7282,17 @@ mondo_loop() {
# End of pre-archive extraction hacks.
if [ $diskless = no -a $zone = global ]; then
- print "Extracting $rootfstype modules for boot block ... \c" | \
- tee -a $EXTRACT_LOG
# extract both /platform and /usr/platform bootblks
# for compatibility with older bootblk delivery
+ print "Extracting platform $rootfstype modules for boot " \
+ "block ... \c" | tee -a $EXTRACT_LOG
do_extraction $cpiodir/$karch.root$ZFIX \
- 'platform/'$karch'/lib/fs/$rootfstype/*' | \
+ 'platform/'$karch'/lib/fs/'$rootfstype'/*' | \
tee -a $EXTRACT_LOG
+ print "Extracting usr/platform $rootfstype modules for boot " \
+ "block ... \c" | tee -a $EXTRACT_LOG
do_extraction $cpiodir/$karch.usr$ZFIX \
- 'usr/platform/'$karch'/lib/fs/$rootfstype/*' | \
+ 'usr/platform/'$karch'/lib/fs/'$rootfstype'/*' | \
tee -a $EXTRACT_LOG
case $target_isa in
sparc)