aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-12-27 04:25:45 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-12-27 04:25:45 -0500
commit6f93749d08da2eac91cfc424eac5b5afaf23ab3b (patch)
tree4f519af5078acbcbfd5a9bcbaefd124b1a35dac8
parentgrs/Netboot.py: move kernel/initramfs to tmpdir (diff)
downloadgrss-6f93749d08da2eac91cfc424eac5b5afaf23ab3b.zip
grss-6f93749d08da2eac91cfc424eac5b5afaf23ab3b.tar.gz
grss-6f93749d08da2eac91cfc424eac5b5afaf23ab3b.tar.bz2
grs/Netboot.py: fix alt digest namev0.6
-rw-r--r--grs/Netboot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grs/Netboot.py b/grs/Netboot.py
index 469418c..c4bb9ff 100644
--- a/grs/Netboot.py
+++ b/grs/Netboot.py
@@ -53,9 +53,9 @@ class Netboot(HashIt):
""" TODO """
if alt_name:
self.medium_name = 'initramfs-%s-%s%s%s' % (alt_name, self.year, self.month, self.day)
- self.digest_name = 'initramfs-%s.DIGESTS' % self.medium_name
+ self.digest_name = '%s.DIGESTS' % self.medium_name
- # 1. Move the kernel to the tmpdir directory.
+ # 1. Copy the kernel to the tmpdir directory.
kernel_src = os.path.join(self.portage_configroot, 'boot/kernel')
kernel_dst = os.path.join(self.tmpdir, self.kernelname)
shutil.copy(kernel_src, kernel_dst)