How to add a app to the rootfs, that when the rootfs being burned, the app will be there when boot the system. For example, if I need a samba service from TX2 NX ,not by the apt cmd to install the app,how can it be inside after flashing the system.
You could refer to the following steps before flashing the board on your host PC.
1. Put .deb package in <Linux_for_Tegra>/nv_tegra/l4t_deb_packages/ 2. Run the following command to Selecting/Preparing/Unpacking/Setting Up the debian packages $ sudo ./apply_binaries.sh
So,after ./apply_binaries.sh , if the config file in roosfs/etc directory can be updated mannully for I want to change something in the rootfs/etc/samba/smb.conf for example ?
If you have added the package (such as through what @KevinFFF just suggested, and run
apply_binaries.sh), then almost all files you edit related to it will remain edited after flash. You only have to do that once.
One of the exceptions is that flash arguments might change some
/boot content, e.g., the kernel
smb.conf exist after you’ve added the
.deb package to the correct place and have run “
sudo ./apply_binaries.sh”? Then you should be able to edit that file, flash, and have that file exist on the Jetson which was just flashed.