fixing "raspi firmware" errors on the official amd64 ISO

More
1 year 3 weeks ago #336308 by unknown
This is kind of preplexing, shouldn't the architecture be arm or similar
Code:
Package: raspi-firmware Architecture: all Version: 1.20220830+ds-1 Priority: optional Section: non-free-firmware/misc Maintainer: pkg-raspi <pkg-raspi-maintainers@lists.alioth.debian.org> Installed-Size: 22281 Pre-Depends: dpkg (>= 1.17.14) Depends: dosfstools Suggests: firmware-brcm80211, firmware-misc-nonfree, bluez-firmware Breaks: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~) Replaces: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~) Filename: pool/non-free-firmware/r/raspi-firmware/raspi-firmware_1.20220830+ds-1_all.deb Size: 4815784 MD5sum: 02766adeeeea1246010c8a3c2851a73b SHA1: f37dba3e827325667381703815ac227ee1aa9b64 SHA256: 0094ced47a7fbb6a220ff83e7b43aa637a5d8f6802461e2e4e474597fb796f62 SHA512: 2ef6547b160b9207ce6bdf33572a4eed389c56db0b7172e049c5bf4c8471ee60f7fd5f05fd8bf08075ec4e8baae8a602e219b5592a854ed3e6678222a989a2d7 Homepage: https://github.com/raspberrypi/firmware Description: Raspberry Pi family GPU firmware and bootloaders This package contains all the proprietary files necessary to boot a Raspberry Pi board. This should work with all models in the 0, 1, 2, 3 and 4 families. . Raspberry Pi is a trademark of the Raspberry Pi Foundation.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336310 by unknown
OK I think I've found a fix for this thing when installing from the ISO. The ISO needs rebuilding, the one built failed during the grub install, this was tracked down to an issue to dpkg install when building the ISO.
So I had to do some messing about, to install grub inside the installed system in my virtual machine. I haven't had chance to fix/find out why I had the issue with the ISO.

A small edit is required to the config/includes.install/preseed.cfg
At the end of the file add this line:
Code:
d-i preseed/late_command string in-target apt-get -y purge raspi-firmeware
Obviously a new image ISO will need to be created, for this mod to be included.


Whilst the installer still installs raspi-firmware at the end of the install process the above line removes the package. The live session will still have the raspi-firmware but I really haven't heard of anyone attempting to update the kernel on a live session. Still a bit of a hack, but the system once installed to a HDD\SSD or large storage rock it wont have the raspi-firmware installed.

The ISO issue maybe cos I was using Mint to build the image and had to install live-build from the debian repo & there might have been a mis-match......I dunno

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336314 by rodw

bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640

It looks to have been recently fixed upstream.

(I am still not clear if you are blaming me, Rod or Roland Clobus)
I blame Debian for not fixing this 12.0 bug in their builder in subsequent releases of Bookworm eg 12.1

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago - 1 year 2 weeks ago #336316 by unknown
Still even if it was Debian's fault we should have come up with a fix. I'm attempting to use Live-Build on a Debian install and hopefully I wont have the issue with dpkg and grub. Somehow start-stop-daemon was left out whilst building the ISO.

And it does appear the added line to preseed does what it should do when running the installer from the ISO.


Update:
ISO Build completed successfully on my Debian partition.
Quick eval via install on VirtualBox, successful no raspi-firmware installed, Linuxcnc-2.9.6 installed,
Issues: asks for root passwd, my fault will fix on another build, ISO still identifies as 2.9.4, need to update the config file.
Last edit: 1 year 2 weeks ago by unknown. Reason: Removed link

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336332 by andypugh

Issues: asks for root passwd, my fault will fix on another build, ISO still identifies as 2.9.4, need to update the config file.
That should be fixed by this:
github.com/LinuxCNC/linuxcnc-live-build/...aller/preseed.cfg#L1
The following user(s) said Thank You: unknown

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336342 by rodw
I was able to block the installation on the ISO (which was done on our installer) but as soon as you do a sudo apt upgrade, the issue comes back. 
Ref:  github.com/LinuxCNC/linuxcnc-live-build/...sts/desktop.list#L23
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum