Skip to content

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

Open
FrancisTurner wants to merge 1 commit into
RPi-Distro:masterfrom
FrancisTurner:patch-1
Open

FrancisTurner wants to merge 1 commit into
RPi-Distro:masterfrom
FrancisTurner:patch-1

Conversation

@FrancisTurner

Copy link
Copy Markdown

@tcv-git

tcv-git commented Jul 19, 2020

Copy link
Copy Markdown

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
Copy Markdown
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

tcv-git commented Jul 26, 2020

Copy link
Copy Markdown

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