I have used ubuntu server images from wiki downloads, and wanted to save some size on SD card. Can we remove /packages
directory from root? Since as far I known linux does not uses it. Is there any use of it?
Can we remove packages directory from rootfs?
Yes you can delete it. It was for Rockchip Debian package installation during the image generation.
The prebuilt packages are: https://github.com/radxa/rk-rootfs-build/tree/master/packages/arm64
Thanks, I removed /packages
directory and also since I am using M.2 extension board, I was able to move the /var
directory to M.2 SSD. It greatly reduced the size of the SD card and also increases the life of SD card since linux mostly writes to /var
directory