aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-01-13 12:37:04 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-01-13 12:37:04 -0500
commit75b1b7cc4faf3c2fd455a5b6260e51c2b2a38c0b (patch)
tree52999328578249be2d3d58d5c25d61bd92fac568
parentgrs/Netboot.py: switch from xz to gzip compression (diff)
downloadgrss-75b1b7cc4faf3c2fd455a5b6260e51c2b2a38c0b.tar.gz
grss-75b1b7cc4faf3c2fd455a5b6260e51c2b2a38c0b.tar.bz2
grss-75b1b7cc4faf3c2fd455a5b6260e51c2b2a38c0b.zip
grs/Netboot.py: change name of source init script for netboot
Since we want an init script for ISO images too, we need to rename the netboot init script to avoid a name collision.
-rw-r--r--grs/Netboot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grs/Netboot.py b/grs/Netboot.py
index 307b3b3..ae5a0a4 100644
--- a/grs/Netboot.py
+++ b/grs/Netboot.py
@@ -99,7 +99,7 @@ class Netboot(HashIt):
Execute(cmd, timeout=None, logfile=self.logfile)
# 4. Copy in the init script
- init_src = os.path.join(self.libdir, 'scripts/init')
+ init_src = os.path.join(self.libdir, 'scripts/init.netboot')
init_dst = os.path.join(initramfs_root, 'init')
shutil.copy(init_src, init_dst)
os.chmod(init_dst, 0o0755)