| 
				
			 | 
			
			
				@@ -112,15 +112,61 @@ case "$1" in 
			 | 
		
	
		
			
			| 
				112
			 | 
			
				112
			 | 
			
			
				         stop_cimserver 
			 | 
		
	
		
			
			| 
				113
			 | 
			
				113
			 | 
			
			
				         ;; 
			 | 
		
	
		
			
			| 
				114
			 | 
			
				114
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				115
			 | 
			
				
			 | 
			
			
				-    OL) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				115
			 | 
			
			
				+    olmk*) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				116
			 | 
			
			
				+        # let's build *anything* 
			 | 
		
	
		
			
			| 
				
			 | 
			
				117
			 | 
			
			
				+        case $2 in 
			 | 
		
	
		
			
			| 
				
			 | 
			
				118
			 | 
			
			
				+            p|openlmi-providers) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				119
			 | 
			
			
				+                withjm=0 
			 | 
		
	
		
			
			| 
				
			 | 
			
				120
			 | 
			
			
				+                rtag_word=$(guess_rtag_word) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				121
			 | 
			
			
				+                rtag_num=$(guess_rtag_num) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				122
			 | 
			
			
				+                test "$rtag_word" == "fc" \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				123
			 | 
			
			
				+                    -a 0$rtag_num -ge 22 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				124
			 | 
			
			
				+                    && withjm=1 
			 | 
		
	
		
			
			| 
				
			 | 
			
				125
			 | 
			
			
				+                ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				126
			 | 
			
			
				+                    mkdir -p openlmi-providers/build 
			 | 
		
	
		
			
			| 
				
			 | 
			
				127
			 | 
			
			
				+                    cd openlmi-providers/build 
			 | 
		
	
		
			
			| 
				
			 | 
			
				128
			 | 
			
			
				+                    cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				129
			 | 
			
			
				+                             -DWITH-FAN=0 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				130
			 | 
			
			
				+                             -DWITH-POWER=0 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				131
			 | 
			
			
				+                             -DWITH-SSSD=0 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				132
			 | 
			
			
				+                             -DWITH-JOBMANAGER=$withjm 
			 | 
		
	
		
			
			| 
				
			 | 
			
				133
			 | 
			
			
				+                    make 
			 | 
		
	
		
			
			| 
				
			 | 
			
				134
			 | 
			
			
				+                    make doc 
			 | 
		
	
		
			
			| 
				
			 | 
			
				135
			 | 
			
			
				+                    make install 
			 | 
		
	
		
			
			| 
				
			 | 
			
				136
			 | 
			
			
				+                    make register-Service 
			 | 
		
	
		
			
			| 
				
			 | 
			
				137
			 | 
			
			
				+                ) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				138
			 | 
			
			
				+                ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				139
			 | 
			
			
				+            t|openlmi-tools) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				140
			 | 
			
			
				+                ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				141
			 | 
			
			
				+                    cd openlmi-tools 
			 | 
		
	
		
			
			| 
				
			 | 
			
				142
			 | 
			
			
				+                    make clean 
			 | 
		
	
		
			
			| 
				
			 | 
			
				143
			 | 
			
			
				+                    make setup 
			 | 
		
	
		
			
			| 
				
			 | 
			
				144
			 | 
			
			
				+                ) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				145
			 | 
			
			
				+                ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				146
			 | 
			
			
				+            *) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				147
			 | 
			
			
				+                die "don't know how to build: $2" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				148
			 | 
			
			
				+                ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				149
			 | 
			
			
				+        esac 
			 | 
		
	
		
			
			| 
				
			 | 
			
				150
			 | 
			
			
				+        ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				151
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				152
			 | 
			
			
				+    olyum) 
			 | 
		
	
		
			
			| 
				116
			 | 
			
				153
			 | 
			
			
				         save_repo_for openlmi-scripts 
			 | 
		
	
		
			
			| 
				117
			 | 
			
				154
			 | 
			
			
				         think "Installing OpenLMI software" 
			 | 
		
	
		
			
			| 
				118
			 | 
			
				155
			 | 
			
			
				         iniread -s mk.requires.sut mk-ol.ini | any_install 
			 | 
		
	
		
			
			| 
				119
			 | 
			
				156
			 | 
			
			
				         think "Installing testing tools" 
			 | 
		
	
		
			
			| 
				120
			 | 
			
				157
			 | 
			
			
				         iniread -s mk.requires.test mk-ol.ini | any_install 
			 | 
		
	
		
			
			| 
				
			 | 
			
				158
			 | 
			
			
				+        ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				159
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				160
			 | 
			
			
				+    OL) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				161
			 | 
			
			
				+        $0 olyum 
			 | 
		
	
		
			
			| 
				121
			 | 
			
				162
			 | 
			
			
				         $0 olconfig 
			 | 
		
	
		
			
			| 
				122
			 | 
			
				163
			 | 
			
			
				         ;; 
			 | 
		
	
		
			
			| 
				123
			 | 
			
				164
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				165
			 | 
			
			
				+    OLB) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				166
			 | 
			
			
				+        think "Installing build dependencies" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				167
			 | 
			
			
				+        iniread -s mk.requires.build mk-ol.ini | any_install 
			 | 
		
	
		
			
			| 
				
			 | 
			
				168
			 | 
			
			
				+        ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				169
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				124
			 | 
			
				170
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				125
			 | 
			
				171
			 | 
			
			
				     ## --------- ## 
			 | 
		
	
		
			
			| 
				126
			 | 
			
				172
			 | 
			
			
				     ## BEAKERLIB ## 
			 |