Project

General

Profile

Bug #11764

Ship .env files for building on various distributions

Added by Andy Fiddaman 14 days ago. Updated 14 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

It would be useful to ship working .env files to allow easier building of illumos-gate on various illumos distributions.

History

#1

Updated by Andy Fiddaman 14 days ago

Testing (on OmniOS)

% (cd usr/src/tools/env; make)
/data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/env
/usr/bin/rm -f illumos
cat illumos.sh > illumos
chmod +x illumos
/usr/bin/rm -f illumos-gate-omnios
/usr/bin/cat illumos.sh > illumos-gate-omnios
/usr/bin/sed '/^# CDDL HEADER START/,/^# CDDL HEADER END/d' < illumos-gate-omnios.sh >> illumos-gate-omnios
/usr/bin/chmod +x illumos-gate-omnios
/usr/bin/rm -f illumos-gate-openindiana
/usr/bin/cat illumos.sh > illumos-gate-openindiana
/usr/bin/sed '/^# CDDL HEADER START/,/^# CDDL HEADER END/d' < illumos-gate-openindiana.sh >> illumos-gate-openindiana
/usr/bin/chmod +x illumos-gate-openindiana

% chmod +x usr/src/tools/scripts/nightly.sh
% usr/src/tools/scripts/nightly.sh usr/src/tools/env/illumos-gate-omnios
% echo $?
0

Also available in: Atom PDF