Removed a non-working option: copytoram
Keep the code clean. For more reference see FS#17182 to view what is the issue Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
6462dc6e70
commit
be521f8658
@ -15,13 +15,6 @@ _mnt_squashfs() {
|
||||
img_name="${img_fullname%.*}"
|
||||
tmp_mnt="/tmpfs/mnt/${img_name}"
|
||||
|
||||
# FIX: This options does not work (see FS#17182)
|
||||
if [ "${copytoram}" = "y" ]; then
|
||||
msg ":: Copying squashfs image to RAM"
|
||||
/bin/cat ${img} > "/tmpfs/${base_img}"
|
||||
img="/tmpfs/${base_img}"
|
||||
fi
|
||||
|
||||
msg "::: Adding new aufs branch: ${img_name}"
|
||||
mkdir -p "${tmp_mnt}"
|
||||
/bin/mount -r -t squashfs "${img}" "${tmp_mnt}"
|
||||
|
Loading…
Reference in New Issue
Block a user