Skip to content

Commit

Permalink
Work-around for #56: visudo not found on GitHub Agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Mar 29, 2024
1 parent ceaff6c commit 33ec554
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stage5-common/00-install/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ cat "${ROOTFS_DIR}/home/node-red/.node-red/aryaos-flows.json" > "${ROOTFS_DIR}/h
install -v -m 640 files/node-red.sudoers "${ROOTFS_DIR}/etc/sudoers.d/node-red"
SUDO_SERVICES="dump1090-fa dump978-fa gpsd comitup ${AOS_SERVICES}"
gen_aos_service_sudoers "${SUDO_SERVICES}" >> "${ROOTFS_DIR}/etc/sudoers.d/node-red"
/usr/sbin/visudo -c "${ROOTFS_DIR}/etc/sudoers.d/node-red"

# FIXME: Disabled to work-around https://github.com/snstac/aryaos/issues/56
# visudo -c "${ROOTFS_DIR}/etc/sudoers.d/node-red"

# LINCOT tracker
install -v -m 755 files/get_position.sh "${ROOTFS_DIR}/usr/local/bin/"
Expand Down

0 comments on commit 33ec554

Please sign in to comment.