Cross compilation framework to create native packages for the Western Digital My Cloud
806
I (Stefaan / TFL) am refactoring this repo for compatibility with OS5. Please use issues tab if something is broken.
Several OS5 packages are now available on CloudSmith. The wdcommunity website is still to be updated.
This project contains the source and tools for software packages for Western Digital My Cloud (OS3) NAS devices. The packages are made available via the WDCommunity website. Most of the packages are simply scripts to fetch the applications from the official sources and configure them with a sensible default. Only a few packages were compiled with the OS3 toolchain with the help of the SynoCommunity project tools.
Most of the packages are published on the WD community forum_ in their own thread. Use the search bar.
For simple script based apps (most of the current packages), you only need mksapkg to create a binary.
On Ubuntu 18.04:
.. code::
apt-get install libxml2 openssl
The build environment is also available in a docker image.
.. code::
docker build -t wdpk .
docker run -it -v $(pwd):/wdpksrc wdpk /bin/bash
cd wdpk/<somepackage>
./build.sh
.. code::
./build_and_install.sh <package> <host>
This builds the package, installs it on a PR4100 host device and runs a sanity check if a test is available.
If you want to compile native apps, you'll need a complete wdpksrc / spksrc toolchain.
Currently, these custom WD targets are available in this SynoCommunity fork_
UPDATE: it now creates WD binary packages right away.
cd wdpk/someappmake apkg-wdarmpackages directorySome installer script changes might be necessary.
Package repository hosting is graciously provided by Cloudsmith. Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that enables your organization to create, store and share packages in any format, to any place, with total confidence.
Thanks, but I'm good. Feel free to donate to these other projects instead
When not explicitly set, files are placed under a 3 clause BSD license
Content type
Image
Digest
Size
176.7 MB
Last updated
over 4 years ago
docker pull helmuthb/wdpksrc