Skip to content
Snippets Groups Projects
Commit 54240d3b authored by Emanuele Aina's avatar Emanuele Aina Committed by Andrej Shadura
Browse files

setup_sysroot: Replace with a single `install` invocation


No need to run `chown` separatedly, `install` can set the right
ownership from the start.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 047b66b9
No related branches found
Tags upstream/0.4.7
1 merge request!57setup_sysroot: Replace with a single `install` invocation
......@@ -714,7 +714,7 @@ actions:
- action: run
description: "Setting up sysroot storage"
chroot: true
script: scripts/setup_sysroot.sh
script: install -d -m 0755 -o user -g user /home/sysroot
{{ end }}
- action: run
......
......@@ -719,7 +719,7 @@ actions:
- action: run
description: "Setting up sysroot storage"
chroot: true
script: scripts/setup_sysroot.sh
script: install -d -m 0755 -o user -g user /home/sysroot
{{ end }}
- action: run
......
#!/bin/sh
set -e
echo "I: create sysroot directory on home partition"
install -d -m 0755 /home/sysroot
chown user.user /home/sysroot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment