forked from Mirror/pmbootstrap
pmbootstrap chroot --xauth: new option (MR 1944)
Make it easy to start any X11 application from the native chroot.
This commit is contained in:
parent
2dd707a7ea
commit
6d013b4472
2 changed files with 17 additions and 2 deletions
|
@ -493,6 +493,10 @@ def arguments():
|
|||
default="tui")
|
||||
chroot.add_argument("command", default=["sh", "-i"], help="command"
|
||||
" to execute inside the chroot. default: sh", nargs='*')
|
||||
chroot.add_argument("-x", "--xauth", action="store_true",
|
||||
help="Copy .Xauthority and set environment variables,"
|
||||
" so X11 applications can be started (native"
|
||||
" chroot only)")
|
||||
for action in [build_init, chroot]:
|
||||
suffix = action.add_mutually_exclusive_group()
|
||||
if action == chroot:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue