minor fix for installing packages in live system
This commit is contained in:
		
							parent
							
								
									2545d0742a
								
							
						
					
					
						commit
						ac7bfa7320
					
				| @ -138,11 +138,12 @@ def chrootTrim(build): | ||||
|                                                         humanize.naturalsize( | ||||
|                                                             os.path.getsize(tarball)), | ||||
|                                                         dbdir)) | ||||
|         for d in ('etc/pacman.d/gnupg', 'var/empty/.gnupg'): | ||||
|             if os.path.isdir('{0}/root.{1}/{2}'.format(chrootdir, a, d)): | ||||
|                 shutil.rmtree('{0}/root.{1}/{2}'.format(chrootdir, a, d)) | ||||
|         #for d in ('etc/pacman.d/gnupg', 'var/empty/.gnupg'):  # actually, we should probably keep these. | ||||
|         # they don't take much space, and it's a PITA to pacman-key --init && pacman-key --populate again on boot. | ||||
|         #    if os.path.isdir('{0}/root.{1}/{2}'.format(chrootdir, a, d)): | ||||
|         #        shutil.rmtree('{0}/root.{1}/{2}'.format(chrootdir, a, d)) | ||||
|         # TODO: move the self-cleanup in pre-build.sh to here. | ||||
|         delme = ['/root/.gnupg', | ||||
|         delme = [#'/root/.gnupg',  # see above | ||||
|                 '/root/.bash_history', | ||||
|                 #'/var/log/chroot_install.log',  # disable for now. maybe always disable if debug is enabled? TODO. | ||||
|                 '/.git', | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| ## Missing v2.x functionality ## | ||||
| -i_am_a_racecar optimizations | ||||
| - different distro guests (debian, etc.)- https://stackoverflow.com/questions/2349991/python-how-to-import-other-python-files/20749411#20749411 | ||||
| -incorporate this into the manual? | ||||
| -TFTP configs generated for pxelinux | ||||
| -fix the branding, etc. on ipxe. :( | ||||
| @ -47,4 +48,4 @@ | ||||
| --note that iPXE VESAFB console is not (yet) supported in EFI, so this is on hold. check into this to see if it has changed. | ||||
| -include WinMTR, build Mac OS X MTR for dist/tools on CD | ||||
| -include pre-compiled LibreCrypt for opening LUKS parts on Windows (https://github.com/t-d-k/LibreCrypt) | ||||
| --curl -s https://raw.githubusercontent.com/t-d-k/LibreCrypt/master/README.md | egrep 'InstallLibreCrypt_v[A-Za-z0-9\.]*.exe' | cut -f2 -d'"' | ||||
| --curl -s https://raw.githubusercontent.com/t-d-k/LibreCrypt/master/README.md | egrep 'InstallLibreCrypt_v[A-Za-z0-9\.]*.exe' | cut -f2 -d'"' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user