Skip to content

Commit 06b3f22

Browse files
committed
Add option to refresh manifest before build
Signed-off-by: Nicolas Bock <[email protected]>
1 parent 7398c5e commit 06b3f22

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ebuildtester/docker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ def _tweak_settings(self):
203203

204204
# Disable the usersandbox feature, it's not working well inside a
205205
# docker container.
206-
self.execute("echo FEATURES=\\\"{}\\\" "
207-
">> /etc/portage/make.conf".format(features))
206+
self.execute(f"echo FEATURES=\\\"{features}\\\" "
207+
">> /etc/portage/make.conf")
208208

209209
self.execute(("echo MAKEOPTS=\\\"-j%d\\\" " %
210210
(options.options.threads)) +

ebuildtester/parse.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ def parse_commandline(args):
1919
help="The package atom(s) to install",
2020
nargs="+",
2121
action="append")
22+
parser.add_argument(
23+
"--refresh-manifest",
24+
help="Refresh the package manifest before installing",
25+
action="store_true"
26+
)
2227
parser.add_argument(
2328
"--binhost",
2429
help="Binhost URI")

0 commit comments

Comments
 (0)