Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Commit

Permalink
fix: ramdisk extracts now again directly to /
Browse files Browse the repository at this point in the history
the main reason for this are errors on dev/ sys/ etc which
cannot be moved once the ramdisk gets extracted.

Change-Id: Ia07cf597b3a9c5423bd8f072d0105d5155ddc1ba
  • Loading branch information
steadfasterX committed Jun 14, 2017
1 parent c8595e1 commit a72a538
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fishing/FIsH
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ if [ -f ${BTMGRPATH}/${RAMDISK} ];then

# extract the food
ECHOL "### Extracting uncompressed ramdisk (${RAMDISK/.gz}).."
#EXECL ${CPIO} -i -u < $TMPFISHDIR/${RAMDISK/.gz}
EXECL ${CPIO} -i -u < $TMPFISHDIR/${RAMDISK/.gz}
# busybox cpio does not support exclusions by pattern ..
[ -d /res/food ] && EXECL $RM -rf /res/food
EXECL $MKDIR /res/food
EXECL cd /res/food
EXECL ${CPIO} -i -u < $TMPFISHDIR/${RAMDISK/.gz}
EXECL $MV /res/food/* /
EXECL cd /
#EXECL $MKDIR /res/food
#EXECL cd /res/food
#EXECL ${CPIO} -i -u < $TMPFISHDIR/${RAMDISK/.gz}
#EXECL $MV /res/food/* /
#EXECL cd /

echo -e "\n\n ***** directory before exec init ***** \n" >> $LOGFILE
${LS} -la >> $LOGFILE
Expand Down

0 comments on commit a72a538

Please sign in to comment.