Skip to content

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