Print a message when copytoram is being used
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
parent
c79d2147d0
commit
8a198aa131
@ -38,6 +38,7 @@ run_hook ()
|
|||||||
|
|
||||||
base_img="${BOOT_MOUNT}/archlive.sqfs"
|
base_img="${BOOT_MOUNT}/archlive.sqfs"
|
||||||
if [ "${copytoram}" = "y" ]; then
|
if [ "${copytoram}" = "y" ]; then
|
||||||
|
msg ":: Copying squashfs image to RAM"
|
||||||
/bin/cat ${base_img} > /tmpfs/archlive.sqfs
|
/bin/cat ${base_img} > /tmpfs/archlive.sqfs
|
||||||
base_img="/tmpfs/archlive.sqfs"
|
base_img="/tmpfs/archlive.sqfs"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user