Jump to content

Any fix for installing stuff on the sd card ?


nrohsakul

Recommended Posts

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 ?

Link to comment
Share on other sites

  • 2 months later...
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.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...