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

Want /proc to be mounted when running Ansible #583

Open
basil opened this issue Aug 5, 2021 · 0 comments
Open

Want /proc to be mounted when running Ansible #583

basil opened this issue Aug 5, 2021 · 0 comments

Comments

@basil
Copy link
Contributor

basil commented Aug 5, 2021

@pzakha writes that as an alternative to #582 we could mount /proc when processing the Ansible scripts:

For reference you can see what you are doing in set_bootfs_not_mounted() in upgrade/upgrade-scripts/rootfs-container. The Ansible scripts are launched from live-build/config/hooks/configuration/80-build-configuration.binary, so perhaps we could just do:

mount --rbind /proc binary/proc
mount --make-rslave binary/proc

ansible-playbook -vv -c chroot -i binary, ansible/playbook.yml

umount -R binary/proc

If this issue is fixed, then #582 can be closed. If #582 is fixed, then this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant