Skip to content

Event

Root-free image packaging solution for RDK X5 using x5-rdk-gen

1 reports · 1 sources

In a reply on the D-Robotics Developer Community forum, a method was provided to solve the need for root privileges when packaging images for RDK X5 using x5-rdk-gen, enabling packaging to be completed on servers with only ordinary user permissions. The cause of the problem is that pack_image.sh requires loop mounting and uses chroot to package the rootfs partition, while the official documentation does not provide a root-free solution.

Report timeline

  1. RDK X5: Importing a custom sensor driver with x5-rdk-gen — a solution for packaging images without root privileges

    A forum reply addressed the problem on RDK X5 where pack_image.sh in x5-rdk-gen requires sudo, while the server only grants ordinary user permissions. The cause is that the script needs loop mounting and chroot to package the rootfs partition, and the official documentation provides no root-free approach.

    D-Robotics Developer Community ·

Related topics