DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-31 12:37:36

iSteve
New member
Registered: 2009-05-30
Posts: 4

ffp 0.5: $FFP_PATH restriction

Hello all,

I just wanted to share some information that I found out yesterday.

Short summary: If you change $FFP_PATH, use a path with "ffp" as the last component. Don't change the name of that last component.

You may stop reading now if you are not interested in the details. wink

Explanation:

On my NAS the ffp is installed on a USB device. I chose to use an installation directory that includes the ffp version, so I set FFP_PATH=/mnt/usb_1/ffp-0.5.

This worked fine until I started to install additional 'funpkg's. After installing a funpkg, the content of the tarball was NOT placed in the /ffp structure. Instead, a directory "ffp" had been created next to "ffp-0.5".

The reason is in /ffp/sbin/funpkg which expects the last component of the "/ffp" symlink target to have the same name as the symlink. This is caused by using $sysroot$prefix at various places in the script.

Last edited by iSteve (2009-05-31 12:41:50)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB