Permalink
Browse files

toram now will copy to RAM only /live folder

toram will copy to RAM only /live folder content loading all .squashfs, .dir, .ext2,3,4 inside
folder ending with .dir will be loaded without using loop device - recommended to use them
instead more .squashfs, .ext2,3,4 (limit of 8 loop devices for them).
  • Loading branch information...
MintPup committed Aug 9, 2017
1 parent 6f24fa1 commit e34943eb4585eddb1877be655ed6b36911bc9158
Showing with 2 additions and 1 deletion.
  1. +2 −1 live-boot-2/scripts/live
View
@@ -554,7 +554,8 @@ copy_live_to ()
if [ -x /bin/rsync ]
then
echo " * Copying whole medium to RAM" 1>/dev/console
rsync -a --progress ${copyfrom}/* ${copyto} 1>/dev/console # "cp -a" from busybox also copies hidden files
mkdir -p ${copyto}/${LIVE_MEDIA_PATH} # 20170809 saintless - using toram copy only /live and its content (useful for hdd or usb frugal install).
rsync -a --progress ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH} 1>/dev/console # "cp -a" from busybox also copies hidden files # 20170809 saintless - using toram copy only /live and its content (useful for hdd or usb frugal install).
else
mkdir -p ${copyto}/${LIVE_MEDIA_PATH}
cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH}

0 comments on commit e34943e

Please sign in to comment.