Lines 14-19
from __future__ import unicode_literals
Link Here
|
14 |
import io |
14 |
import io |
15 |
import logging |
15 |
import logging |
16 |
import os |
16 |
import os |
|
|
17 |
import subprocess |
17 |
|
18 |
|
18 |
from portage import _encodings |
19 |
from portage import _encodings |
19 |
from portage.util import writemsg_level |
20 |
from portage.util import writemsg_level |
Lines 112-118
def linux_ro_checker(dir_list):
Link Here
|
112 |
except KeyError: |
113 |
except KeyError: |
113 |
pass |
114 |
pass |
114 |
|
115 |
|
115 |
return ro_filesystems |
116 |
for mountpoint in ro_filesystems: |
|
|
117 |
subprocess.call(['mount', '-o', 'remount,rw', mountpoint]) |
118 |
|
119 |
return set() |
116 |
|
120 |
|
117 |
|
121 |
|
118 |
def empty_ro_checker(dir_list): |
122 |
def empty_ro_checker(dir_list): |
119 |
- |
|
|