technorabilia / build-synouidmod

Build synouidmod
GNU General Public License v3.0
4 stars 1 forks source link

Does this work for DSM 7.0+? #1

Closed tonycpsu closed 2 years ago

tonycpsu commented 2 years ago

Tried building with VERSION=7.0.1 and PLATFORM=v1000 and getting this error:

 => ERROR [8/8] RUN cp /toolkit/pkgscripts-ng/include/platform.v1000 ./tmp/platform.env &&   chroot . /bin/bash -c ". /tmp/build.sh" &&   cp ./tmp/synouidmod /tmp                                                                                           0.3s
------
 > [8/8] RUN cp /toolkit/pkgscripts-ng/include/platform.v1000 ./tmp/platform.env &&   chroot . /bin/bash -c ". /tmp/build.sh" &&   cp ./tmp/synouidmod /tmp:
#13 0.267 chroot: failed to run command '/bin/bash': No such file or directory
------
executor failed running [/bin/sh -c cp /toolkit/pkgscripts-ng/include/platform.$PLATFORM ./tmp/platform.env &&   chroot . /bin/bash -c ". /tmp/build.sh" &&   cp ./tmp/synouidmod /tmp]: exit code: 127
Unable to find image 'synobuild:latest' locally
Error response from daemon: pull access denied for synobuild, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
"docker rm" requires at least 1 argument.
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
technorabilia commented 2 years ago

If I look at this file, I think this only works for DSM v6.x.

$ ./pkgscripts-ng/EnvDeploy -v 6.2 -l
Available platforms: 6281 alpine alpine4k apollolake armada370 armada375 armada37xx armada38x armadaxp avoton braswell broadwell broadwellnk bromolow cedarview comcerto2k denverton dockerx64 evansport geminilake grantley hi3535 kvmx64 monaco purley qoriq rtd1296 v1000 x64
$ ./pkgscripts-ng/EnvDeploy -v 7.0 -l
Available platforms: 
$