We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49115b4 commit 681b8cdCopy full SHA for 681b8cd
udroid/src/proot-utils/proot-fixes.sh
@@ -23,6 +23,10 @@ PROG_PRINT() {
23
24
fs=${root_fs_path}
25
26
+# fix permission to write into proc
27
+[[ ! -d ${fs}/proc ]] && mkdir -p ${fs}/proc
28
+chmod 700 ${fs}/proc
29
+
30
# /proc/version
31
PROG_PRINT "writing fake /proc/version"
32
cat << EOF > ${fs}/proc/.version
udroid/src/udroid.sh
@@ -22,7 +22,7 @@ fetch_distro_data() {
22
gum_spin dot "Fetching distro data.." curl -L -s -o $_path $URL || {
ELOG "[${0}] failed to fetch distro data"
}
-
if [[ -f $_path ]]; then
LOG "set distro_data to $_path"
distro_data=$_path
0 commit comments