-
Notifications
You must be signed in to change notification settings - Fork 21
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
apt update fails on debian #43
Comments
Greetings, |
I am on commit 64c2a4b (HEAD -> master, tag: v4.7-beta, origin/master, origin/HEAD) |
Greetings, |
I am running Debian sid. What would you define as my build environment? I am happy to give more information. I will try the next-4.x branch hopefully this weekend. |
Greetings, |
The error is still there:
|
Hello,
when I try to run ./cryptmypi.sh examples/debian-encrypted-basic-dropbear/ it fails at this point:
But I think that the root error is that apt update fails before that because /etc/resolv.conf has the wrong permissions:
When I look in the RPi chroot I find this:
And inside the chroot "apt update" fails.
When I change /etc/resolv.conf to the imho correct 644 permission "apt update" works inside the chroot.
It also works again if I add this line in functions/chroot.fns (after the resolv.conf is created)
chmod 644 "${CHROOTDIR}/etc/resolv.conf"
Btw, thanks for this great project!
The text was updated successfully, but these errors were encountered: