commit: efdd9595bd4af8e636b46f4eb10a7f75637d4b6e
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 05:37:12 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 05:37:12 2015 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=efdd9595
grs/ISOIt.py: do not remove /boot from system root.
grs/ISOIt.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/grs/ISOIt.py b/grs/ISOIt.py
index dcf05fe..ff63506 100644
--- a/grs/ISOIt.py
+++ b/grs/ISOIt.py
@@ -117,7 +117,8 @@ class ISOIt(HashIt):
kernelimage_dir = os.path.join(self.portage_configroot, 'boot')
kernelimage_path = os.path.join(kernelimage_dir, 'kernel')
shutil.copy(kernelimage_path, isoboot_dir)
- shutil.rmtree(kernelimage_dir, ignore_errors=True)
+ # If this fails, we'll have to rebuild the kernel!
+ #shutil.rmtree(kernelimage_dir, ignore_errors=True)
# 3. make the squashfs image and copy it into the iso/boot
squashfs_path = os.path.join(iso_dir, 'rootfs')