aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2016-10-01 16:03:28 -0500
committerZev Weiss <zev@bewilderbeest.net>2016-10-27 23:19:00 -0500
commite0c06ae374bdd561c8be2468388df820395f6f0c (patch)
tree21fb003a8cd8c7739405976a043a40dc49215be3
parentfb07b7577a0b815be62364bc45a209c6c2aea7af (diff)
downloadvirtme-e0c06ae374bdd561c8be2468388df820395f6f0c.tar.gz
mkinitramfs: Remove leading slash from /run_virtme/data
Doesn't make any real difference to the guest, but avoids trying to put things in / when unpacking the cpio archive for debugging purposes. Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
-rw-r--r--virtme/mkinitramfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtme/mkinitramfs.py b/virtme/mkinitramfs.py
index a84e014..9ea8afe 100644
--- a/virtme/mkinitramfs.py
+++ b/virtme/mkinitramfs.py
@@ -157,7 +157,7 @@ def mkinitramfs(out, config):
if config.modfiles is not None:
install_modules(cw, config.modfiles)
for name,contents in config.virtme_data.items():
- cw.write_file(b'/run_virtme/data/' + name, body=contents, mode=0o755)
+ cw.write_file(b'run_virtme/data/' + name, body=contents, mode=0o755)
cw.write_file(b'init', body=generate_init(),
mode=0o755)
cw.write_trailer()