synologyopensource / minimalpkg Goto Github PK
View Code? Open in Web Editor NEWExample package for synology toolkit framework - MIT License (MIT)
License: MIT License
Example package for synology toolkit framework - MIT License (MIT)
License: MIT License
Hi,
I am trying to build this example package by documentation located at https://developer.synology.com/developer-guide/index.html.
I prepared my environment as is there described:
mkdir -p /toolkit
cd /toolkit
git clone https://github.com/SynologyOpenSource/pkgscripts-ng.git
cd /toolkit/pkgscripts-ng/
./EnvDeploy -v 6.0 -p bromolow
mkdir -p /toolkit/build_env/ds.bromolow-6.0/root/.gnupg/
cp ~/.gnupg/* /toolkit/build_env/ds.bromolow-6.0/root/.gnupg/
Then downloaded minimalPkg:
cd /toolkit
git clone https://github.com/SynologyOpenSource/minimalPkg.git
A builded with:
pkgscripts-ng/PkgCreate.py -p bromolow -c minimalPkg
Unfortunately this results with error:
============================================================
Parse argument result
------------------------------------------------------------
package : minimalPkg
env_section : default
branch : master
only_install : False
collect : True
update : True
build_opt :
suffix :
sdk_ver : 6.0
install_opt :
dep_level : 1
install : True
build : True
link : True
env_version : None
sign : True
print_log : False
Traceback (most recent call last):
File "pkgscripts-ng/PkgCreate.py", line 722, in <module>
main(sys.argv[1:])
File "pkgscripts-ng/PkgCreate.py", line 690, in main
worker_factory = WorkerFactory(args)
File "pkgscripts-ng/PkgCreate.py", line 136, in __init__
args.branch, args.suffix)
File "pkgscripts-ng/PkgCreate.py", line 573, in __init__
self.dict_env = getBaseEnvironment(package, env_section, version)
File "pkgscripts-ng/PkgCreate.py", line 682, in getBaseEnvironment
depends = config_parser.DependsParser(BuildEnv.Project(proj).depends_script)
File "/toolkit/pkgscripts-ng/include/python/config_parser.py", line 20, in __init__
raise ConfigNotFoundError(config)
config_parser.ConfigNotFoundError
Any idea what I am doing wrong?
the line
ret = sysinfo(&info);
is missing in minimalPkg.c
why "EXEC= minimalPkg_2 in Makefile ???
should not be EXEC= minimalPkg ???
Hy there,
could you please provide a link or a respective sample for a minimal Java-based package to integrate?
Thank you
I'm following the guide to create the minimalPkg. I've verified that the gpg key has been created by running gpg -K. I even ran this command by chroot into the build environment.
However, when I run the command to create the package pkgscripts-ng/PkgCreate.py -p x64 -c minimalPkg, I get the following error:
"SignPackageError:
[x64] Gpg key not exist. You can add -S to skip package code sign or import gpg key first."
Any ideas? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.