Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 608556 Details for
Bug 707318
sys-apps/portage: add FEATURE to remount readonly filesystems as writable (or mount unmounted filesystems) on-demand
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quick patch for testing purposes, automatically remount rw
ro_checker-automatically-remount-rw.patch (text/plain), 1.03 KB, created by
Zac Medico
on 2020-01-29 21:07:58 UTC
(
hide
)
Description:
quick patch for testing purposes, automatically remount rw
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2020-01-29 21:07:58 UTC
Size:
1.03 KB
patch
obsolete
>From bfbf01863879a97f89493536c5318167c8c2c46f Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Wed, 29 Jan 2020 13:02:35 -0800 >Subject: [PATCH] ro_checker: automatically remount rw > >Bug: https://bugs.gentoo.org/707318 >Signed-off-by: Zac Medico <zmedico@gentoo.org> >--- > lib/portage/util/writeable_check.py | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/lib/portage/util/writeable_check.py b/lib/portage/util/writeable_check.py >index e5b14c023..fcfb4b2f9 100644 >--- a/lib/portage/util/writeable_check.py >+++ b/lib/portage/util/writeable_check.py >@@ -14,6 +14,7 @@ from __future__ import unicode_literals > import io > import logging > import os >+import subprocess > > from portage import _encodings > from portage.util import writemsg_level >@@ -112,7 +113,10 @@ def linux_ro_checker(dir_list): > except KeyError: > pass > >- return ro_filesystems >+ for mountpoint in ro_filesystems: >+ subprocess.call(['mount', '-o', 'remount,rw', mountpoint]) >+ >+ return set() > > > def empty_ro_checker(dir_list): >-- >2.24.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 707318
: 608556