mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	Remove unnecessary locale files at build time to reduce the image size.
This commit is contained in:
		
							parent
							
								
									dda8ec6f3a
								
							
						
					
					
						commit
						bb30358048
					
				
							
								
								
									
										12
									
								
								data/live-build-config/hooks/live/90-localepurge.chroot
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								data/live-build-config/hooks/live/90-localepurge.chroot
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,12 @@ | ||||
| #!/bin/sh | ||||
| 
 | ||||
| LPCONF=/etc/locale.nopurge | ||||
| 
 | ||||
| echo MANDELETE > $LPCONF | ||||
| echo DONTBOTHERNEWLOCALE >> $LPCONF | ||||
| echo SHOWFREEDSPACE >> $LPCONF | ||||
| echo QUICKNDIRTYCALC >> $LPCONF | ||||
| echo en >> $LPCONF | ||||
| echo en_US.UTF-8 >> $LPCONF | ||||
| 
 | ||||
| /usr/sbin/localepurge | ||||
| @ -23,3 +23,4 @@ htop | ||||
| atop | ||||
| iotop | ||||
| aptitude | ||||
| localepurge | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user