sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
921 stars 126 forks source link

Are 17 profiles safe? #35

Closed kde99 closed 6 years ago

kde99 commented 6 years ago

Well since the 17 profiles are out for along time (at least on x86). Is it safe to use the 17 profiles just by themselves or do I need to modify them manually? Well I just installed the ISO but I don't wanna recompile a lot on my pi and the 17 profiles comes with a rebuild. Also is it safe to use systemd instead of initd? Or would it be better if I tried bootstrapping a new gentoo from a tarball since I wanna use this as a server (without desktop, managed through ssh)?

yourpleasure commented 6 years ago

I used 17 profiles, but i have recompile everything myself. By the way, my system is all compiled by myself and not use the ISO by sakaki-. And i use systemd.

kde99 commented 6 years ago

@yourpleasure How did you do it? The tutorial on the wiki doesn't boot on my pi :(

sakaki- commented 6 years ago

@kde99 - You can use the 17 profiles, but not with the binhost currently, as all the packages there are 13 profile-based and so are not built with pie. I plan to release a 17 based version of the image once I have it stabilized my end. As to systemd, yes this is also possible, but if you want to modify the image to use it you'll need to provide units for a few of the existing OpenRC startup services.

yourpleasure commented 6 years ago

@kde99 Sorry to response so late. I want to know which part you have program on. If you have problem to use systemd, you may need to check some kernel configuration and recompile your kernel. You can read systemd - Gentoo Wiki. After emerge systemd, you should edit /boot/cmdline.txt and change init to init=/usr/lib/systemd/systemd. If you have further problem, you can ask me again.

sakaki- commented 6 years ago

I've just pushed v1.2.0 of the image, which is built on the 17.0 profile.

sakaki- commented 6 years ago

Closing, the 17.0 profile does not seem to have any pie-specific issues (other than compiling the kernel, due to a known binutils problem #39). You should be fine to switch to systemd if you want; I just don't have the bandwidth to support / test two different init systems on an image this size, so going to stick with OpenRC for now.