Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I4cbc0b38333938836dac738f2240a05be1d6a09f
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Adds a link to installable target image corresponding to the current
SDK. The easest way to implement this was to manage a pair of suffix
for earch source of SDKs (AGL or IoT.bzh), The input data are
refactored as following: each source has an URL prefix, a list of
directories (possibly including wildcard) to be browsed, relative to
prefix URL, and a pair of suffixes : one for SDK, one for ilage
(relative to prefix + directory).
When an SDK installation file is found, the corresponding image is
searched by replacing the SDK suffix by the image one, requesting this
URL, and grepping for a filename matching agl-demo-plaform-crosssdk-*
With different possible extensions:
- .vmdk(.xz) in case of qEMU image, or
- .rootfs.wic(.xz), when avaible, or
- .rrotfs.tar(.xz)
If no matching image file is found, the image_url is set to the
directory URL containing the image file candidates.
If requesting the image directory URL content leads to server error
(mainly error 404 Not Found, but also any other error), the image_url
value will be set to null in the JSON output.
Makes the trace system more flexible, using an verbose -v|vv option.
KNOWN ISSUES:
- '-nogfx' images are not named agl-demo-plaform-crosssdk-* on the
AGL server. image_url is set to the image directory URL for such
SDKs/images
- on IoT.bzh, older images directories are named 'image' while
newer ones are named 'images'. Advantage given to newer images,
this lead to have older SDKs' image_url set to null.
Change-Id: I8c029d3ebbdef1a096c5cb225fd40405e91b312d
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
|
|
arch for qemu sdk is qemux86-64 in sdk-latest.json but
extracted value for environement file is corei7-64.
Change-Id: Id2656de1648b6c9289d42c9f55fa8e1e4e056760
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
scripts/package-update: bash scripts to update xds-server package in docker
monitor updates: default time is 24h, a update is tried at startup
api/v1: 2 new requests:
- get(updates): return various information about xds-server packages
- post(updates): update xds-server packages
Change-Id: I1673f7860e57cfe1d4abe5a24609ee46a90b67d8
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Add an additional verification about uuid that is based on url
field to identify SDK.
Change-Id: Iefe43ff37d928c7592c0c9c8c14b9f537080b0b6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I83df3abdb19c5075353510cba9dc296de8c04548
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Also ignored some known file when parsing SDK directory
Change-Id: I8f9f127325b7743ebe3866d1145f928ded49322b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I1a9efa4818f1d12409b6a04b0f4ce08363d2258f
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
SPEC-1777
only match what defines a variable
remove set because it adds simple quote with special characters
Change-Id: Ib7c13869c9d965c0c0dae1ae69eeeaf446b1ce58
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I2ccadbd30705c4726152a9e86108cdb25608e872
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Remove functions (using set -o posix) and values contaning
new lines.
Without that change on some environment, the script
scripts/sdks/agl/db-dump may fail line 51
Change-Id: I5118c0054d50ab3c7ac2757aff820adec2584cb3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Workaround about issue with the particular GPG keyserver:
trying several explicit keyservers until the command succeeds
Change-Id: I7410c07e25d25006c9252b97036c3b33ca183ae6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- fix packaging to be compliant with latest subprojects hierarchy
(Master, Master-Next, ElectricEel, ...)
- fix rpmlint warnings/error
Change-Id: Ib8c2014624542d3dfb81818ed605dc7a2dedf2c5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Rework sdk uuid management because previous code prevented to install
local sdk using following command:
xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh
Change-Id: I20bac8a76d32b005a6775e936756c96048651766
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I239b052f2d2bf4caf6fe4e756ee372e4ae6060ec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Default SDK directory is $HOME/xds-workspace/.sdks expect if /xdt/sdk
exists (backward compatibility).
Default SDK directory can be set by defining XDT_SDK variable in
/etc/xdtrc file
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- install sdk in a directory that includes a unique id (built from install url
or path). SDKs are now install under:
<SDK_ROOT_DIR>/<PROFILE>/<VERSION>/<ARCH>/<UID>
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Auto update db is enable by default (setting sdkDbUpdate = "startup")
but it can be disable by setting sdkDbUpdate to "disable" in server config
file.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- Also, workaround SPEC-1252 matching first detected SDK and break.
- Fixed SDK date extraction.
Bug-AGL: SPEC-1249
Change-Id: Ia1cb3e9466d0f8f958f6e8759287f801a5b81d04
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- config file name is : server-config.json
- xds-server settings under user's home is: $HOME/.xds/server
- xds-server settings under etc is: /etc/xds/server
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Some users may have the default id_rsa/id_rsa.pub be a softlink to one
of a set of rsa keys. In this case, the cp would result in a dangling
softlink in the container and the startup fails. Adding a -L to the cp
command results in copying whatever the softlink points to into the
container, which seems like the desired behaviour.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
- detect uid/gid conflict
- add -id option
- improved help
- cleanup invalid container on error (unless -nc option is set)
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Also removed useless volume (residual settings of AGL SDK container)
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|