diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
commit | 59240c87059fd207b3ec38238851f6fe6982e48c (patch) | |
tree | c308dcd9622c3f748bc2da542eff9328b4548f8c /scripts/vyatta-boot-image.pl | |
parent | b4275461305f74798c7805ce2a5d25105e82caea (diff) | |
download | vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.tar.gz vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.zip |
Update debian live mountpoint directories.
Diffstat (limited to 'scripts/vyatta-boot-image.pl')
-rwxr-xr-x | scripts/vyatta-boot-image.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index e1d4a8c..52b4769 100755 --- a/scripts/vyatta-boot-image.pl +++ b/scripts/vyatta-boot-image.pl @@ -409,7 +409,7 @@ sub curVer { # On Xen/pygrub systems, we figure out the running version by # looking at the bind mount of /boot. $vers = `mount | awk '/on \\/boot / { print \$1 }'`; - $vers =~ s/\/live\/image\/boot\///; + $vers =~ s/\/lib\/live\/mount\/persistence\/boot\///; chomp($vers); } |