Open devSarry opened 6 years ago
This is due to a permissions issue with the PiBakery boot scripts. I presume you're running Windows? Did you clone the repository and build from source, or use the downloads from https://github.com/davidferguson/pibakery/releases/tag/v2.0.0 ?
I'll try and publish a new release with this fixed soon.
Ya I'm running windows and used downloaded the release.
Same issue here with PiBakery 2.0 downloaded as binary from release tag. Everything seems to work when editing SD card, but then Pi ends with Kernel panic...
Is there a manual workaround till it is fixed?
A manual workaround would be to download the zip of the repo, and replace the resources
folder in PiBakery with the resources
folder from the downloaded zip.
Or manually set the line endings for the files in resources
directory to be LF.
A manual workaround would be to download the zip of the repo, and replace the
resources
folder in PiBakery with theresources
folder from the downloaded zip.
Just tried this, still getting kernel panic :(
I am also having this issue. I exported the recipe and built it on my Mac and I do not have the Kernel panic issue.
Is there any way we can get the line endings fix pushed to a release?
Put this Powershell script in the Pibakery root folder execute it, and it will convert the files to Unix style LF
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
Get-ChildItem -Path $scriptPath -Include @(".py", ".sh") -Recurse | ForEach-Object {
$_.FullName
$originalfile =$.FullName
$text = [IO.File]::ReadAllText($original_file) -replace "r
n", "`n"
[IO.File]::WriteAllText($original_file, $text)
}
Hi,
I used PiBakery V2 with a custom raspbian image from Donkey Car https://docs.donkeycar.com/guide/install_software/#get-the-raspberry-pi-working and even without any configuration blocks just having PiBakery write the image to the SD card fails. I get an
I've tried the image without pibaker and it works.