ReadyNAS - Wiki¶
Random Thoughts¶
- Some Linux tools need an updated pair of config.guess/config.sub to compile correctly
- Even using the adapted config files, this won't give perfect CPU support
- Possible solutions:
- Try using EXTRA_CFLAGS="-mcpu=v8 -mtune=v8 -mno-fpu" in the environment (still untested)
- Patch the Makefile of the project in question (did that for iSCSI target "beta")
Recover Addon from .bin file¶
Actually, that's easier than I thought. Say you've got the file test-1.0.bin which contains all the files of your addon named "test" that got lost somehow.
Then all you have to do to get your work back is:
dd bs=512 if=test-1.0.bin of=test-1.0.tar skip=1 mkdir TEST cd TEST tar xf ../test-1.0.tar mkdir files cd files tar xzf ../files.tgz
In case you're on an Intel based ReadyNAS, instead of bs=512 use bs=16384.
After the unpacking is done, you've got to copy some files around. Or to be more precise: Just copy all the stuff that is scattered throughout the various directories below files/etc/frontview back to the root directory of your project (in this case: TEST),