mirror of
				https://github.com/hzyitc/openwrt-redmi-ax3000
				synced 2025-10-30 07:50:32 +08:00 
			
		
		
		
	build: replace true with a custom noop script
				
					
				
			`true` might be a shell built-in, or simply not accessible in the hardcoded locations. Replace it with a custom script that does nothing. Signed-off-by: Ilya Katsnelson <me@0upti.me>
This commit is contained in:
		 Ilya Katsnelson
					Ilya Katsnelson
				
			
				
					committed by
					
						 David Bauer
						David Bauer
					
				
			
			
				
	
			
			
			 David Bauer
						David Bauer
					
				
			
						parent
						
							45a50a06fb
						
					
				
				
					commit
					2c22589782
				
			| @ -238,4 +238,4 @@ prereq: $(STAGING_DIR_HOST)/bin/mkhash $(STAGING_DIR_HOST)/bin/xxd | ||||
|  | ||||
| # Install ldconfig stub | ||||
| $(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \ | ||||
| 	$(LN) $(firstword $(wildcard /bin/true /usr/bin/true)) $(STAGING_DIR_HOST)/bin/ldconfig)) | ||||
| 	$(LN) $(SCRIPT_DIR)/noop.sh $(STAGING_DIR_HOST)/bin/ldconfig)) | ||||
|  | ||||
							
								
								
									
										2
									
								
								scripts/noop.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								scripts/noop.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,2 @@ | ||||
| #!/bin/sh | ||||
| # This script does nothing, intentionally. | ||||
		Reference in New Issue
	
	Block a user