I had this:
- Code: Select all
# begin copying (or uncompressing)
mkdir "${copyto}"
You had this (line 81):
- Code: Select all
# begin copying (or uncompressing)
mkdir -p "${copyto}/${LIVE_MEDIA_PATH}"
Welcome |
---|
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today! |
# begin copying (or uncompressing)
mkdir "${copyto}"
# begin copying (or uncompressing)
mkdir -p "${copyto}/${LIVE_MEDIA_PATH}"
dzz wrote:miyolinux, it's fine, no can of worms! Some of us actually enjoy hacking this stuff! Keeps me out of the pub. You can help test if you want.
fsmithred wrote:Messing it up is how you figure out what it really does.
fsmithred wrote:Messing it up is how you figure out what it really does.
if [ -z "${MODULETORAM}" ]
then
# size the squashfs, not the entire partition
size=$(fs_size "" ${copyfrom}/${LIVE_MEDIA_PATH}/filesystem.squashfs "used")
Was there a reason you re-ordered that section?
if [ -x /bin/rsync ]
then
echo " * Copying squashfs to RAM" 1>/dev/console
mkdir -p "${copyto}/${LIVE_MEDIA_PATH}"
rsync -a --progress ${copyfrom}/${LIVE_MEDIA_PATH}/*.squashfs ${copyto}/${LIVE_MEDIA_PATH}/ 1>/dev/console
if [ -d ${copyfrom}/${LIVE_MEDIA_PATH}/hooks
then
rsync -a --progress ${copyfrom}/${LIVE_MEDIA_PATH}/hooks ${copyto}/${LIVE_MEDIA_PATH}/ 1>/dev/console
fi
else
mkdir -p ${copyto}/${LIVE_MEDIA_PATH}
cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH}
if [ -d ${copyfrom}/${LIVE_MEDIA_PATH}/hooks
then
cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/hooks ${copyto}/${LIVE_MEDIA_PATH}/
fi
if [ -e ${copyfrom}/${LIVE_MEDIA_PATH}/.disk ]
then
cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/.disk ${copyto}
fi
fi
Users browsing this forum: No registered users and 0 guests