adding a file/symlink to the rpm during checkinstall

Kurt Wall kwall
Mon May 17 11:56:26 PDT 2004


Consuming 0.9K bytes, M.W. Chang blathered:
> 
> I recompiled and installed bash-2.05b. But make install doesn't create 
> the symlink /bin/sh for /bin/bash. As a result, it's not part of the rpm 
> produced by running checkinstall, making it impossible for other 
> packates to check dependency on /bin/sh.
> 
> The Makefile for bash has the target install in the script. can I just 
> append a line "ln -sf /bin/bash /bin/sh" to the end of the block of text 
> prefixed by install: in the Makefile and expect checkinstall to include 
> the symlink /bin/sh?

Don't use a symlink. Create a hard link. Lots of utilities 
won't follow symlinks, and there's enough stuff that expects
/bin/sh to be the real deal thaat creating hard link is worth
the extra disk space and inodes it consumes.

Kurt
-- 
If a 6600 used paper tape instead of core memory, it would use up tape
at about 30 miles/second.
		-- Grishman, Assembly Language Programming


More information about the Linux-users mailing list