Minimal rootfs with graphics, sound & apt for chroot container, how-to? #1108
Replies: 3 comments 1 reply
-
Hi sunarowicz. Please modify scripts/build-rootfs.sh. if [ "${PROJECT}" == "ubuntu" ]; then Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your interest, but this is not what I meant. If I understand that well, I can specify couple of Joshua's "meta" packages as ubuntu-desktop-rockchip or ubuntu-server-rockchip where you are pointing me at, but I expect these to install a lot of stuff I do not want to install. E.g. LibreOffice in case of ubuntu-desktop-rockchip. Maybe I should proceed from the opposite side and to debootstrap the minimal rootfs from http://archive.ubuntu.com/ubuntu, add Joshua's rockchip PPAs and then install what is needed to make accelerated graphics and sound to work. To be able run accelerated chromium browser with working sound for example from the chroot container. Would it work this way? What packages needs to be installed after adding PPAs if so? |
Beta Was this translation helpful? Give feedback.
-
Hi, no problem at all, really. I mentioned LibreOffice just as an example. There is a ton of other packages that are not necessary for the minimalist rootfs. I definitely prefer to make as small as possible working rootfs and then add what is needed for the current purpose of chroot container over making the "fat" desktop rootfs and then removing what I sometime know and sometime just guess to be not necessary. This would be really ineffective and could lead into broken system. |
Beta Was this translation helpful? Give feedback.
-
I would like to make a minimal rootfs with working graphics acceleration, sound and apt to be able to install anything needed. My intention is to use this rootfs for setting up the chroot container. As I understand I can make rootfs like this:
sudo ./build.sh --board=rock-5b --suite=noble --flavor=server -l -ro
But I expect to get still too large rootfs with many unnecessary stuff and have no idea if graphics and sound will be working in the server type flavor.
Can someone give me an idea how to do that, please?
Any help much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions