Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeagleBone Black and Green running Amazon Greengrass IOT #87

Open
electricpocket opened this issue Jun 20, 2018 · 0 comments
Open

BeagleBone Black and Green running Amazon Greengrass IOT #87

electricpocket opened this issue Jun 20, 2018 · 0 comments

Comments

@electricpocket
Copy link

Hi,

/etc/fstab needs a cgroups entry to run Amazon's IOT Greengrass core like this:-

cgroup /sys/fs/cgroup cgroup defaults 0 0

The flasher creates its fstab afresh and does not add/copy this line from the old fstab so a newly flashed BB Greengrass device has to be manually edited again to add the line. We solved this by adding the following line to init-eMMC-flasher-v3.sh

echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /tmp/rootfs/etc/fstab

between these two lines in functions.sh (see line 972/3

echo "debugfs  /sys/kernel/debug  debugfs  defaults  0  0" >> ${tmp_rootfs_dir}/etc/fstab
echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> ${tmp_rootfs_dir}/etc/fstab
	echo_broadcast "===> /etc/fstab generated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant