Skip to content

Commit 4f341fd

Browse files
committed
adds runroot command
1 parent ff5407f commit 4f341fd

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

includes.container/usr/bin/runroot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
exec pkexec --keep-cwd "$@"

recipe.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ stages:
6161
commands:
6262
- echo -e "ALGO=lz4\nPERCENT=50" >> /etc/default/zramswap
6363

64+
- name: runroot
65+
type: shell
66+
commands:
67+
- chmod +x /usr/bin/runroot
68+
6469
- name: fsguard-runtime-deps
6570
type: apt
6671
sources:

0 commit comments

Comments
 (0)