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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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