I am already hosting a Macports repo, I would consider hosting a Void mirror if there is interest and the author agrees. Let me know!
It's a pity because it's light and fast and works perfect on our PowerPC machines.
Is there any way to save it? It took so much work. All for nothing?
The latest Linux kernel 6.4.1 seems to work just fine with few basic modifications:
and then edit the ~/void-packages/srcpkgs/linux6.4/template file with whatever text editor you want and modify the third line that says version to the latest version (you should check the https://www.kernel.org website to see which one is the latest in the 6.4 series, as of writing this guide the latest is 6.4.1):Code:$: cd ~/void-packages/srcpkgs/ srcpkgs $: rm -rf linux6.3-dbg srcpkgs $: rm -rf linux6.3-headers srcpkgs $: cp -a linux6.3 linux6.4 srcpkgs $: ln -s linux6.4 linux6.4-headers srcpkgs $: ln -s linux6.4 linux6.4-dbg srcpkgs $: cd linux6.4 linux6.4 $: sed -i "s/# Template file for 'linux6.3'/# Template file for 'linux6.4'/" template linux6.4 $: sed -i 's/pkgname=linux6.3/pkgname=linux6.4/' template linux6.4 $: sed -i 's/linux6.3-headers_package()/linux6.4-headers_package()/' template linux6.4 $: sed -i 's/linux6.3-dbg_package()/linux6.4-dbg_package()/' templateand save the file. Now you can simply go back to the void-packages root directory to regenerate the correct checksums for the template and start the compilation process:Code:version=6.4.1Code:linux6.4 $: cd ~/void-packages void-packages $: xgensum -i linux6.4 void-packages $: screen bash void-packages $: ./xbps-src pkg linux6.4 void-packages $: sudo xbps-install --repository hostdir/binpkgs linux6.4-headers linux6.4
I'm pretty sure this same guide can be reused for 6.5 and later kernels whenever they are eventually released.
And I can now confirm that it works with Linux 6.6 too without any issues. I'm probably going to switch to Debian at some point, but at least I'm glad that Void still works for me even if it's not supported in any way whatsoever.I can confirm that this guide also works with 6.5 series of kernels, you'll just have to replace parts about 6.4 with 6.5 and set the version in the template file to whatever the latest one is (as of writing this post the latest one is 6.5.2).
qemu-system-ppc -M mac99,via=pmu -cpu G4 -hda ~/AndrewR/5gb_ppc.qcow -device ati-vga -cdrom ~/AndrewR/void-live-ppc-20210825.iso -boot d -m 1G -accel tcg,tb-size=512
How well does TDE run on PPC? I'd imagine pretty well, right?
It was long road. For some reason startx in chrooted system was not working (dead keyboard/mouse) but plain X worked, so I used X& as single command from console, set DISPLAY to ":0" , and from another virtual console launched xterm, monitored and finally killed X (in qemu it was ctrl-alt-2, then "sendkey ctrl-alf-f2/f7/f1" in qemu monitor . Graphics output on ctrl-alt-1, in gtk display)
Code:qemu-system-ppc -M mac99,via=pmu -cpu G4 -hda ~/AndrewR/5gb_ppc.qcow -device ati-vga -cdrom ~/AndrewR/void-live-ppc-20210825.iso -boot d -m 1G -accel tcg,tb-size=512
Note that I set Evdev X input driver in /etc/X11/xorg.conf for both keyboard and Mouse, and then for keyboard picked up /dev/input/event1 and for mouse /dev/input/event2 as devices, for usb kbd/mouse. Screen was set to fbdev driver, 1024x768 modeline/mode. Not sure why r128 driver was saying "No modes" and failing hard ...
No, sorry, TDE was on i586/AMD FX 4300 host! It compiles in 6 hours here, so multiply x40 for now long it will take in emulated machine , if nothing breaks ...How well does TDE run on PPC? I'd imagine pretty well, right?