summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-01-29 06:44:50 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-01-29 06:44:50 -0500
commit42acee1d418bea6de4fd5f983852bec52e66c05e (patch)
tree93b282259951048af594953f0add73d021cc957c
parent55f7e2c1d77db9e063234428b131e1ae21206356 (diff)
downloadvyatta-cfg-system-42acee1d418bea6de4fd5f983852bec52e66c05e.tar.gz
vyatta-cfg-system-42acee1d418bea6de4fd5f983852bec52e66c05e.zip
Update location of the squashfs image.
-rwxr-xr-xscripts/install/install-image-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-new b/scripts/install/install-image-new
index 7965b939..91cb27fa 100755
--- a/scripts/install/install-image-new
+++ b/scripts/install/install-image-new
@@ -73,7 +73,7 @@ boot_dir=${CD_SQUASH_ROOT}/boot
boot_files=$(find $boot_dir -maxdepth 1 -type f -o -type l 2>/dev/null)
if [ ! -f "$squash_img" ] || [ -z "$boot_files" ]; then
# maybe installing from a live CD boot?
- squash_img=/live/image/live/filesystem.squashfs
+ squash_img=/lib/live/mount/medium/live/filesystem.squashfs
boot_dir=/boot
boot_files=$(find $boot_dir -maxdepth 1 -type f -o -type l 2>/dev/null)
if [ ! -f "$squash_img" ] || [ -z "$boot_files" ]; then