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

Fix issue 422 (stage2/01-sys-tweaks/01-run.sh ) #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FrancisTurner
Copy link

@tcv-git
Copy link

tcv-git commented Jul 19, 2020

Hi Francis, this doesn't need to be done in a chroot. Just use the host sed:

sed "s/pi/$FIRST_USER_NAME/" -i "${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd"

@FrancisTurner
Copy link
Author

Good point. I broke it out of another change I made that was using chroot. I'll update the patch

Hi Francis, this doesn't need to be done in a chroot. Just use the host sed:

sed "s/pi/$FIRST_USER_NAME/" -i "${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd"

@tcv-git
Copy link

tcv-git commented Jul 26, 2020

It would be great if they ever merged some of these!

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

Successfully merging this pull request may close these issues.

2 participants