diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-06 22:21:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-06 22:21:20 +0900 |
| commit | 1db0148a5087ed77c40440c1c9035dcc51b894e8 (patch) | |
| tree | a17eff02578506114c23a25456092320fa496ce2 /internal | |
| parent | 5bccbf32c8c7bc3c570b8bcc3c92cacc447e7616 (diff) | |
internal/rosa/package/images: make contents owned by root
Keeping these owned by the hardcoded build uid (1023) is pointless and
breaks setuid wrappers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/package/images/package.az | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/rosa/package/images/package.az b/internal/rosa/package/images/package.az index 5701b6b4..71589a90 100644 --- a/internal/rosa/package/images/package.az +++ b/internal/rosa/package/images/package.az @@ -39,7 +39,11 @@ package system-image { exec = generic { cross = "\x00"; - build = "mksquashfs /mnt"+prefix+" /work/system.img"; + build = ` +mksquashfs \ + /mnt`+prefix+` \ + /work/system.img \ + -all-root`; }; tools = [ squashfs-tools ]; |
