fix packager script
This commit is contained in:
		
							parent
							
								
									75c94324dd
								
							
						
					
					
						commit
						193426b041
					
				| @ -29,12 +29,13 @@ if [ "$prerequisites" == "--prep" ]; then | ||||
|     chown -R root:root /root/.ssh | ||||
|     chmod 600 /root/.ssh/id_ed25519 | ||||
|     ssh-keyscan -H gitea.detee.cloud > ~/.ssh/known_hosts | ||||
| 
 | ||||
|     echo "Building the occlum fork" | ||||
|     git clone git@gitea.detee.cloud:SGX/occlum.git | ||||
|     (cd occlum && make submodule) | ||||
|     (cd tools/toolchains/utils_lib && ./build.sh) | ||||
| fi | ||||
| 
 | ||||
| echo "Building the occlum fork" | ||||
| git clone git@gitea.detee.cloud:SGX/occlum.git | ||||
| (cd occlum && make submodule) | ||||
| (cd tools/toolchains/utils_lib && ./build.sh) | ||||
| 
 | ||||
| echo "Building the hacker-challenge signed bundle" | ||||
| occlum-cargo build --release | ||||
| @ -52,7 +53,7 @@ targets: | ||||
|     copy: | ||||
|       - files: | ||||
|         - /opt/occlum/toolchains/dcap_lib/musl/libocclum_dcap.so.0.1.0 | ||||
|         - /opt/occlum/toolchains/utils_lib/musl/libutils_dcap.so.0.1.0 | ||||
|         - /opt/occlum/toolchains/utils_lib/musl/libocclum_utils.so.0.1.0 | ||||
| EOF | ||||
| 
 | ||||
| rm -rf challenge_instance && mkdir challenge_instance && cd challenge_instance | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user