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(
|
humanize.naturalsize(
|
||||||
os.path.getsize(tarball)),
|
os.path.getsize(tarball)),
|
||||||
dbdir))
|
dbdir))
|
||||||
for d in ('etc/pacman.d/gnupg', 'var/empty/.gnupg'):
|
#for d in ('etc/pacman.d/gnupg', 'var/empty/.gnupg'): # actually, we should probably keep these.
|
||||||
if os.path.isdir('{0}/root.{1}/{2}'.format(chrootdir, a, d)):
|
# they don't take much space, and it's a PITA to pacman-key --init && pacman-key --populate again on boot.
|
||||||
shutil.rmtree('{0}/root.{1}/{2}'.format(chrootdir, a, d))
|
# 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.
|
# TODO: move the self-cleanup in pre-build.sh to here.
|
||||||
delme = ['/root/.gnupg',
|
delme = [#'/root/.gnupg', # see above
|
||||||
'/root/.bash_history',
|
'/root/.bash_history',
|
||||||
#'/var/log/chroot_install.log', # disable for now. maybe always disable if debug is enabled? TODO.
|
#'/var/log/chroot_install.log', # disable for now. maybe always disable if debug is enabled? TODO.
|
||||||
'/.git',
|
'/.git',
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
## Missing v2.x functionality ##
|
## Missing v2.x functionality ##
|
||||||
-i_am_a_racecar optimizations
|
-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?
|
-incorporate this into the manual?
|
||||||
-TFTP configs generated for pxelinux
|
-TFTP configs generated for pxelinux
|
||||||
-fix the branding, etc. on ipxe. :(
|
-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.
|
--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 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)
|
-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…
Reference in New Issue
Block a user