From 8164a87e1998ffbe32ec2066623c50d5c639c91f Mon Sep 17 00:00:00 2001 From: Marcelo Politzer <251334+mpolitzer@users.noreply.github.com> Date: Mon, 18 Dec 2023 12:55:20 -0300 Subject: [PATCH] feat!: renamed kernel device. --- sys-utils/cartesi-init/cartesi-init | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sys-utils/cartesi-init/cartesi-init b/sys-utils/cartesi-init/cartesi-init index c787e036..ac160ffd 100755 --- a/sys-utils/cartesi-init/cartesi-init +++ b/sys-utils/cartesi-init/cartesi-init @@ -36,13 +36,10 @@ if [ -n "$ENTRYPOINT" ]; then HOME=$(eval echo ~$USER) WORKDIR=${WORKDIR:-"$HOME"} - # give user group access to rollup and yield devices - [ -c /dev/rollup ] && \ - busybox chown :$(busybox id -g $USER) /dev/rollup && \ - busybox chmod g+rw /dev/rollup - [ -c /dev/yield ] && - busybox chown :$(busybox id -g $USER) /dev/yield && \ - busybox chmod g+rw /dev/yield + # give user group access to cmio device + [ -c /dev/cmio ] && \ + busybox chown :$(busybox id -g $USER) /dev/cmio && \ + busybox chmod g+rw /dev/cmio # execute entrypoint (cd $WORKDIR &&