diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-07-02 19:50:29 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-07-02 19:50:29 +0000 |
commit | 069f192ff7938d4b435fdd0519a82c8a22fdbd25 (patch) | |
tree | 0c59fbd706fd64d2031d48c5bd9eaefae16e4c1a | |
parent | 823c04d8be6c837aa063642fe03d098ad1dcffed (diff) | |
download | dh-illumos-069f192ff7938d4b435fdd0519a82c8a22fdbd25.tar.gz |
Set empty NIGHTLY_OPTIONS
-rwxr-xr-x | dh_illumos_gate | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate index 2f913fb..a7f0372 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -22,7 +22,7 @@ C<dh_illumos_gate> is responsible for unpacking illumos sources and adjusting th for Debian build environment (paths to programs, command options, linker and compiler flags, etc.). It unpacks illumos gate sources, creates F<illumos.sh> and F<bldenv.sh> in the root of source tree, -sets variables in F<illumos.sh> (CODEMGR_WS, and VERSION). +sets variables in F<illumos.sh> (CODEMGR_WS and VERSION). VERSION is set as in F<debian/changelog> for package being built, e. g. C<export VERSION='uts_5.11.0-1~pre1'>. @@ -184,6 +184,8 @@ if ( -e $Makefile_lib) { Copy F<illumos-gate/usr/src/tools/env/illumos.sh> to F<illumos-gate/illumos.sh> and make this changes: +Set empty C<NIGHTLY_OPTIONS>, options are controlled by L<dh_illumos_make(1)>. + Adjust C<CODEMGR_WS> to be C<current_dir/illumos-gate>. Set C<VERSION> to be C<source_version> by parsing F<debian/chnagelog>. @@ -207,6 +209,7 @@ my $version = $changelog->{'Source'} . '_' . $changelog->{'Version'}; doit('cp', '-f', $illumos_sh, 'illumos-gate/illumos.sh'); doit('sed', '-r', '-i', " +/export +NIGHTLY_OPTIONS=/ s,.*,export NIGHTLY_OPTIONS='',; /export +CODEMGR_WS=/ s,.*,export CODEMGR_WS='$codemgr_ws',; /export +VERSION=/ s,.*,export VERSION='$version',; ", 'illumos-gate/illumos.sh'); |