Changeset 25078

Show
Ignore:
Timestamp:
04/20/08 10:00:31 (7 months ago)
Author:
bonefish
Message:

Added HAIKU_IMAGE_HOST_NAME build system variable. Can be used to set
the host name of the Haiku installation.

Location:
haiku/trunk/build/jam
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • haiku/trunk/build/jam/HaikuImage

    r25050 r25078  
    430430 
    431431 
     432#pragma mark - Host Name 
     433 
     434 
     435if $(HAIKU_IMAGE_HOST_NAME) { 
     436        actions BuildHaikuImageHostnameFile 
     437        { 
     438                echo "$(HAIKU_IMAGE_HOST_NAME)" > $(1)  
     439        } 
     440 
     441        local file = <haiku-image>hostname ; 
     442        Always $(file) ; 
     443        MakeLocate $(file) : $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ; 
     444        BuildHaikuImageHostnameFile $(file) ; 
     445        AddFilesToHaikuImage common settings network : $(file) ; 
     446} 
     447 
     448 
    432449#pragma mark - Build The Image 
    433450 
  • haiku/trunk/build/jam/UserBuildConfig.ReadMe

    r24775 r25078  
    139139HAIKU_ROOT_USER_NAME = bond  ; 
    140140HAIKU_ROOT_USER_REAL_NAME = "James Bond" ; 
     141 
     142# Set host name to "mybox". By default the installation doesn't have a host 
     143# name. 
     144HAIKU_IMAGE_HOST_NAME = mybox ; 
    141145 
    142146# Add user "walter" with user ID 1000 and group ID 100 (note, that a group with