Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150353

Summary: booststrap.sh changes for Gentoo/FreeBSD
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: FreeBSDAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: bootstrap.sh patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 01:04:42 UTC
The attached patch is needed to get bootstrap.sh working fine on Gentoo/FreeBSD to bootstrap the stage1:

- as readlink -f is not available on *BSD userlands, it uses realpath if present, as for catalyst;
- the sed line used before didn't work as expected with BSD sed, but the only problem was the replacement of a space with a newline, and exg suggested to just add a | tr | on the pipe to do the replacement, without need to identify GNU sed or not.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 01:11:10 UTC
Created attachment 99028 [details, diff]
bootstrap.sh patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-07 05:54:59 UTC
Nice and short... excellent... added to CVS