Add --offline flag

Allow working offline with pmbootstrap, as long as all packages that
are being used have already been downloaded.
This commit is contained in:
Oliver Smith 2018-09-30 03:53:55 +02:00
parent 5b33eb7520
commit e458b1fdbc
5 changed files with 15 additions and 1 deletions

View file

@ -281,6 +281,8 @@ def arguments():
" recommended, may screw up your work folders"
" directory permissions!)", dest="as_root",
action="store_true")
parser.add_argument("-o", "--offline", help="Do not attempt to update"
" the package index files", action="store_true")
# Compiler
parser.add_argument("--ccache-disable", action="store_false",