commit: 6f93749d08da2eac91cfc424eac5b5afaf23ab3b
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 09:25:45 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 09:25:45 2017 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=6f93749d
grs/Netboot.py: fix alt digest name
grs/Netboot.py | 4 ++--
1 file 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)