From: Lonnie A. <li...@lo...> - 2020-10-14 16:44:08
|
Hi David, Since you build your own images, look at the first 'for' line in /etc/profile, add your /mnt/kd/bin path to: https://github.com/astlinux-project/astlinux/blob/master/project/astlinux/target_skeleton/etc/profile For those who don't build their own images, or just want to keep things 'clean', look at the end of the same /etc/profile where ~/.bashrc gets sourced if it exists. For a 'root' user you need a persistent /mnt/kd/root directory or use rc.local to populate /root/.bashrc with -- export PATH="/mnt/kd/bin:$PATH" -- Lonnie > On Oct 14, 2020, at 8:31 AM, David Kerr <da...@ke...> wrote: > > Can anyone tell me how I can set the PATH environment variable to include an additional directory? I tried adding... > export PATH="/mnt/kd/bin:$PATH" > to rc.local but it is not working. > > Thanks > David > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |