aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-09-14 01:37:12 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-09-14 01:37:12 -0400
commitefdd9595bd4af8e636b46f4eb10a7f75637d4b6e (patch)
treea18fda39fc8a8bdd3916653bc01568a1e5ad1fd1
parentgrs/ISOIt.py: fix build of busybox. (diff)
downloadgrss-efdd9595bd4af8e636b46f4eb10a7f75637d4b6e.tar.gz
grss-efdd9595bd4af8e636b46f4eb10a7f75637d4b6e.tar.bz2
grss-efdd9595bd4af8e636b46f4eb10a7f75637d4b6e.zip
grs/ISOIt.py: do not remove /boot from system root.
-rw-r--r--grs/ISOIt.py3
1 files changed, 2 insertions, 1 deletions
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')