[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#524928: initramfs-tools: wrong path for elilo



On Tue, Apr 21, 2009 at 06:31:47AM -0700, Steve Langasek wrote:
> On Tue, Apr 21, 2009 at 03:20:49PM +0200, maximilian attems wrote:
> > On Tue, 21 Apr 2009, Steve Langasek wrote:
> 
> > > Is 'command -v' in SUSv3?  'which' is the predominant idiom used in
> > > maintainer scripts...
> 
> > it is supported by dash as builtin.
> 
> Which isn't what I asked.  We shouldn't be using non-policy-compliant
> features in maintainer scripts just because they happen to be available,
> particularly when there are equally valid alternatives in Essential.

command is required by POSIX.  The -v option is only required of
implementations supporting the User Portability Utilities (UP) option.
It is unclear whether Debian supports that option.  I believe it does
not, because vi is required if an implementation supports both the UP
option and the getconf variable POSIX2_CHAR_TERM (which is set to 200112
on Debian), but (AFAIK) none of Debian's vi implementations support a
real open mode, which is required of POSIX vi implementations.

Also, SUSv3 is different from POSIX; TTBOMK, SUSv3 includes all the XSI
extensions, while POSIX leaves them as options.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: