nrohsakul Posted February 15, 2019 Share Posted February 15, 2019 Just wondering if there is any fix by now to easily install packages over opkg to the sd card. If I try to install packages from opkg using "-d sd", I cant use them afterwards because of the PATH not correctly set. Is there a way to permanently add the correct paths for installed stuff on the sd card ? Or any other easy fix ? Quote Link to comment Share on other sites More sharing options...
0mniteck Posted May 13, 2019 Share Posted May 13, 2019 Someone else figured it out I was having the same issues Quote Link to comment Share on other sites More sharing options...
0mniteck Posted May 13, 2019 Share Posted May 13, 2019 On 3/7/2019 at 2:30 AM, Just_a_User said: Hey all, When installing stuff to the sd card, it often needs symlinking to the working directory on the pineapple nano to complete the installation. For one-off's its fine to do manually, but on larger git install's or opkg packages with many folders/files it can be a PITA. So I got to looking around for tools/scripts, I found a few (some better than others) but think I found something that works, and works well on the pineapple YMMV. It has one small sized dependency so can be installed to pineapple nano rather than sd : - opkg update && opkg install coreutils-realpath You can run it multiple times and it will only create links for unlinked files so could be run on the base directory after adding new files like: - aln -s /sd/usr/ -d /usr/ I have been using it for a few days and so far so good, so figured I would share for others to try out. https://github.com/eyit/aln Hopefully its useful to others. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.