Giter Club home page Giter Club logo

pkgscripts-ng's Introduction

Synology package toolkit framework

Prepare Build Environment

You can download and set up pre-built environments by using EnvDeploy as follows. Use -v to specify DSM version and -p to specify desired platform. If -p is not given, all available platforms for given version will be set up.

cd /toolkit/pkgscripts
./EnvDeploy -v 6.1 -p x64 # for example

Finally, the whole working directory will look like the following figure, and ds.x64-6.1 is the chroot environment to build your own projects.

toolkit/
├── pkgscripts/
└── build_env/
    ├── ds.x64-6.1/
    ├── ...
    └── ds.x64-6.1/

Available Platforms

You can use one of following commands to show available platforms. If -v is not given, available platforms for all versions are listed.

./EnvDeploy -v 6.1 --list
./EnvDeploy -v 6.1 --info platform

Update Environment

Use EnvDeploy again to update your environments. For example, update x64 for DSM {{ book.ToolkitVersion }} by running the following command.

./EnvDeploy -v 6.1 -p x64

Remove Environment

Removing a building environment is very easy. First chroot to the building environment, umount the /proc folder and exit chroot. After that, remove the building environment folder. The following command illustrates how to remove a building environment with version 5.2 and platform x64.

chroot /toolkit/build_env/ds.x64-6.1 umount /proc
rm -rf /toolkit/build_env/ds.x64-6.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.