mirror of https://github.com/OpenIPC/firmware.git
Update sysupgrade
parent
3765435a5f
commit
51b594933b
|
@ -76,7 +76,7 @@ check_release() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mount_rootfs() {
|
mount_rootfs() {
|
||||||
mkdir /tmp/rootfs
|
mkdir -p /tmp/rootfs
|
||||||
loop=$(losetup -f)
|
loop=$(losetup -f)
|
||||||
[ $? -eq 0 ] && losetup "${loop}" "${1}" && mount "${loop}" /tmp/rootfs
|
[ $? -eq 0 ] && losetup "${loop}" "${1}" && mount "${loop}" /tmp/rootfs
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue