Browse Source

Create tcedir with correct permissions

Condense dir creation and change permissions in a single command.

Change-Id: I2021f6b4ee4992aa72b0d686bab57408c27fd10b
changes/84/785884/1
Riccardo Pittau 1 year ago
parent
commit
43486c21c0
  1. 3
      tinyipa/build-tinyipa.sh

3
tinyipa/build-tinyipa.sh

@ -143,8 +143,7 @@ if [ -n "$CI_DIR" ]; then
done
fi
$CHROOT_CMD mkdir /etc/sysconfig/tcedir
$CHROOT_CMD chmod a+rwx /etc/sysconfig/tcedir
$CHROOT_CMD mkdir -m777 /etc/sysconfig/tcedir
$CHROOT_CMD touch /etc/sysconfig/tcuser
$CHROOT_CMD chmod a+rwx /etc/sysconfig/tcuser

Loading…
Cancel
Save