Heads up: bfu breakage


Date: Sat, 26 Nov 2005 13:57:01 -0800 (PST)
From: "Roger A. Faulkner" <Roger dot Faulkner at eng dot sun dot com>
To: on-all at eng dot sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Heads up: bfu breakage

All users of bfu, read this:

On Wednesday, November 23, this putback was done to /ws/onnv-gate:

Comment:
6210677 dirname and basename are slower than they should be
Files:
update: usr/src/Makefile.lint
update: usr/src/cmd/basename/Makefile
update: usr/src/cmd/basename/basename.c
update: usr/src/cmd/dirname/Makefile
rename from: usr/src/cmd/basename/basename.sh
         to: deleted_files/usr/src/cmd/basename/basename.sh
create: usr/src/cmd/dirname/dirname.c
rename from: usr/src/cmd/dirname/dirname.sh
         to: deleted_files/usr/src/cmd/dirname/dirname.sh

This converted /usr/bin/basename and /usr/bin/dirname from
being shell scripts to being ELF executables.

This is a Good Thing, but unfortunately bfu really expects them
to be shell scripts and applies transformations to them
for its own bfu-safe environment that are appropriate only
for shell scripts, not ELF executables.

This leads to bfu errors when the system being bfu'd has already
been bfu'd once to include the above change.

I just putback a fix to bfu for this problem:

Comment:
6355592 fix for 6210677 breaks bfu
Files:
update: usr/src/tools/scripts/bfu.sh

This makes bfu behave properly for both pre- and post- updating
of /usr/bin/basename and /usr/bin/dirname

/ws/onnv-gate/public/bin/bfu will soon be updated by the gatekeepers.
If you use a bfu script from some other place, be sure to update
it as soon as possible from /ws/onnv-gate/usr/src/tools/scripts/bfu.sh

Roger Faulkner

last modified by danmcd on 2009/11/24 14:24
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.