Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150353 - booststrap.sh changes for Gentoo/FreeBSD
Summary: booststrap.sh changes for Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 01:04 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-10-07 05:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bootstrap.sh patch (bootstrap-sh-patch,1.03 KB, patch)
2006-10-07 01:11 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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