projects
/
snf-image
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4f15f
)
Pass a new (SNF_IMAGE_)ROOT variable to the helper
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Thu, 3 Nov 2011 15:15:15 +0000
(17:15 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Thu, 3 Nov 2011 15:15:15 +0000
(17:15 +0200)
For {ext,ntfs}dump this is always 1.
For diskdump this is an image property
snf-image-host/create
patch
|
blob
|
history
diff --git
a/snf-image-host/create
b/snf-image-host/create
index
22c44c0
..
7c3d896
100755
(executable)
--- a/
snf-image-host/create
+++ b/
snf-image-host/create
@@
-68,6
+68,7
@@
case "$IMAGE_TYPE" in
target="$(map_disk0 "$blockdev")-1" #the root device
add_cleanup unmap_disk0 "$blockdev"
+ snf_export_ROOT=1
;;
diskdump)
target="$blockdev"