For the moment I will keep FFP since my NAS is running well now. But as other have said I'll try to move to Entware-ng and clean FFP.
At least the good point is that they can both co-exist

Cheers!
You can update normally, and then run /opt/sbin/kernel-2.6.24-support.sh to restore the 2.6.24 symlinks. (Or reboot. The startscript will also run that script)monami wrote:Entware-ng package repos updated recently with some primary packages going from 2.22 > 2.23. I have to use "opkg flag hold libc ldconfig libpthread librt locales" to avoid opt from breaking.
Last time I tried (2 weeks ago, or something like that) the git didn't contain the 2.23 patches. But I'll retry.@Mijzelf Is it possible to update your kernel-2.6.24-support package? Thank you again for your efforts.
Code: Select all
mkdir /ffp/opt
Code: Select all
/ffp/start
Code: Select all
/ffp/bin/sh /ffp/start/entwareMount.sh
Code: Select all
/ffp/tmp
Code: Select all
/ffp/bin/sh /ffp/tmp/installEntwareFFPusb.sh
Code: Select all
PATH=$PATH:/opt/bin:/opt/sbin
is a misunderstanding. Entware-ng is running next to the firmware, and so it doesn't care about firmware updates. (As long as the usb_key_func.sh script is called, and the kernel keeps compatible). The old kernel patch is needed when Entware pulls a new libc version.infrareddude wrote:Note that since entware-ng is installed on FFP USB stick, you don't need to run the patch for old kernel on every firmware update.
Awesome, worked a treat.Mijzelf wrote:I updated the kernel 2.6.24 packages to 2.23. But beware, upgrading will break your installation, as it will also upgrade the stock libc. And there can be only 1 /opt/lib/libc.so.
So after upgrading run /opt/sbin/kernel-2.6.24-support.sh, or reboot your box.
Thanks for this pointer Mijzelf! Would adding the lib patching script to /ffp/start do the trick after every upgrade and then a reboot of box for entware installed alongside FFP on the USB stick?Mijzelf wrote:Nice!
butis a misunderstanding. Entware-ng is running next to the firmware, and so it doesn't care about firmware updates. (As long as the usb_key_func.sh script is called, and the kernel keeps compatible). The old kernel patch is needed when Entware pulls a new libc version.infrareddude wrote:Note that since entware-ng is installed on FFP USB stick, you don't need to run the patch for old kernel on every firmware update.
Code: Select all
#!/ffp/bin/sh
ln -sf /ffp/opt /opt
[ -x /opt/sbin/kernel-2.6.24-support.sh ] && /opt/sbin/kernel-2.6.24-support.sh
/opt/etc/init.d/rc.unslung start
Many thanks Mijzelf! I've modified the startup script in github as per your instructions.Mijzelf wrote:If you change the startscript toit will work fine, even on boxes without the patch (NAS5xx). On each boot the script will check if the symlinks have to be re-created.Code: Select all
#!/ffp/bin/sh ln -sf /ffp/opt /opt [ -x /opt/sbin/kernel-2.6.24-support.sh ] && /opt/sbin/kernel-2.6.24-support.sh /opt/etc/init.d/rc.unslung start