diff options
| author | Michal Suchanek <hramrach@centrum.cz> | 2008-05-31 17:41:42 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:47:59 +0100 |
| commit | 9be31760d902a1728a4b786f2a8844697bad5038 (patch) | |
| tree | 405ff140a7866fc823be063d1e4c935ae05a4fc8 /scripts | |
| parent | f7844126b88fd104016316b0dfa5a8c731a63a05 (diff) | |
| download | live-boot-9be31760d902a1728a4b786f2a8844697bad5038.tar.gz live-boot-9be31760d902a1728a4b786f2a8844697bad5038.zip | |
Fix toram (change mount --move to mount -o move)
Thanks to ChoBolT and taytay on irc
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/live b/scripts/live index 29832c9..3428cca 100755 --- a/scripts/live +++ b/scripts/live @@ -615,7 +615,7 @@ copy_live_to () cd "${copyto}" tar zxf "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})" rm -f "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})" - mount -r --move "${copyto}" "${rootmnt}" + mount -r -o move "${copyto}" "${rootmnt}" cd "${OLDPWD}" else if [ -n "${MODULETORAMFILE}" ] @@ -627,7 +627,7 @@ copy_live_to () livefs_root umount ${copyfrom} - mount -r --move ${copyto} ${copyfrom} + mount -r -o move ${copyto} ${copyfrom} fi rmdir ${copyto} @@ -1122,7 +1122,7 @@ setup_unionfs () ;; *) - mount --move "${d}" "${rootmnt}/live/${d##*/}" + mount -o move "${d}" "${rootmnt}/live/${d##*/}" ;; esac done |
