mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
mount_apex_loop() less useless debug messages
This commit is contained in:
parent
b7246faf9b
commit
efed9da25a
@ -242,14 +242,14 @@ mount_apex_loop () {
|
||||
apex_mount="${1}"
|
||||
mkdir -p "${apex_mount}"
|
||||
|
||||
echo " *** mount_apex_loop [apex_mount]: ${apex_mount}"
|
||||
|
||||
while [ ${number} -lt 64 ]; do
|
||||
loop=/dev/block/loop${number}
|
||||
[ -e ${loop} ] || mknod ${loop} b 7 $((number * minorx))
|
||||
|
||||
echo " *** mount_apex_loop [loop] ${loop}"
|
||||
echo " *** mount_apex_loop [apex_mount] ${apex_mount}"
|
||||
|
||||
if losetup "${loop}" /apex/apex_payload.img; then
|
||||
if losetup "${loop}" /apex/apex_payload.img 2>/dev/null; then
|
||||
echo " *** mount_apex_loop [loop]: ${loop}"
|
||||
if mount -text4 -oro,noatime "${loop}" "${apex_mount}"; then
|
||||
rm -f /apex/apex_payload.img
|
||||
break
|
||||
|
@ -62,7 +62,7 @@ mount_apex_loop () {
|
||||
loop=/dev/block/loop${number}
|
||||
[ -e ${loop} ] || mknod ${loop} b 7 $((number * minorx))
|
||||
|
||||
if losetup "${loop}" /apex/apex_payload.img; then
|
||||
if losetup "${loop}" /apex/apex_payload.img 2>/dev/null; then
|
||||
echo " *** mount_apex_loop [loop]: ${loop}"
|
||||
if mount -text4 -oro,noatime "${loop}" "${apex_mount}"; then
|
||||
rm -f /apex/apex_payload.img
|
||||
|
@ -48,14 +48,14 @@ mount_apex_loop () {
|
||||
apex_mount="${1}"
|
||||
mkdir -p "${apex_mount}"
|
||||
|
||||
echo " *** mount_apex_loop [apex_mount]: ${apex_mount}"
|
||||
|
||||
while [ ${number} -lt 64 ]; do
|
||||
loop=/dev/block/loop${number}
|
||||
[ -e ${loop} ] || mknod ${loop} b 7 $((number * minorx))
|
||||
|
||||
echo " *** mount_apex_loop [loop] ${loop}"
|
||||
echo " *** mount_apex_loop [apex_mount] ${apex_mount}"
|
||||
|
||||
if losetup "${loop}" /apex/apex_payload.img; then
|
||||
if losetup "${loop}" /apex/apex_payload.img 2>/dev/null; then
|
||||
echo " *** mount_apex_loop [loop]: ${loop}"
|
||||
if mount -text4 -oro,noatime "${loop}" "${apex_mount}"; then
|
||||
rm -f /apex/apex_payload.img
|
||||
break
|
||||
|
@ -125,14 +125,14 @@ mount_apex_loop () {
|
||||
apex_mount="${1}"
|
||||
mkdir -p "${apex_mount}"
|
||||
|
||||
echo " *** mount_apex_loop [apex_mount]: ${apex_mount}"
|
||||
|
||||
while [ ${number} -lt 64 ]; do
|
||||
loop=/dev/block/loop${number}
|
||||
[ -e ${loop} ] || mknod ${loop} b 7 $((number * minorx))
|
||||
|
||||
echo " *** mount_apex_loop [loop] ${loop}"
|
||||
echo " *** mount_apex_loop [apex_mount] ${apex_mount}"
|
||||
|
||||
if losetup "${loop}" /apex/apex_payload.img; then
|
||||
if losetup "${loop}" /apex/apex_payload.img 2>/dev/null; then
|
||||
echo " *** mount_apex_loop [loop]: ${loop}"
|
||||
if mount -text4 -oro,noatime "${loop}" "${apex_mount}"; then
|
||||
rm -f /apex/apex_payload.img
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user