seattletestbed / installer-packaging Goto Github PK
View Code? Open in Web Editor NEWEverything required to build and package Seattle installers for different platforms
License: MIT License
Everything required to build and package Seattle installers for different platforms
License: MIT License
seattleinstaller.py
creates a file installInfo.old
(or .new
) in the servicevessel directory where it stores results of the system benchmark, donated percentage, and amount of resources that will be used by Seattle. However, on installs running a V2 nodemanager, files in vessels can only be accessed if their names have lower-case characters (and a few other things) exclusively. As a result, you cannot retrieve or otherwise manipulate installInfo
via seash (see below).
This issue is RepyV2-specific. RepyV1 files may contain upper-case characters. We need to be able to see the information contained in the file for debugging purposes on any version of Seattle, so let's make the base filename installinfo
(all lower-case) instead.
This requires changes in anything that depends on this exact file name:
seash log:
servicevessel@%1 !> cat installInfo.old
An error occurred: Node Manager error 'Filename has disallowed character 'I''
Affected vessels: ee7eb6c1bb4389a62812a9c47b76a0c5f47b0b3e:1224:v9.
servicevessel@%1 !> download installInfo.old
An error occurred: Node Manager error 'Filename has disallowed character 'I''
Affected vessels: ee7eb6c1bb4389a62812a9c47b76a0c5f47b0b3e:1224:v9.
servicevessel@%1 !> delete installInfo.old
An error occurred: Node Manager error 'Filename has disallowed character 'I''
Affected vessels: ee7eb6c1bb4389a62812a9c47b76a0c5f47b0b3e:1224:v9.
The current OpenWrt installer (in the form of @XuefengHuang's .ipk
) will install Seattle as the root user. We should provide an option to use a non-privileged account if the user has (or is willing to install) the required tools such as useradd
. See the OpenWrt docs for details: http://wiki.openwrt.org/doc/howto/secure.access
rebuild_base_installers.py
currently populates and packages (tar
s, gzip
s or zip
s) base installer directories for the Custom Installer Builder. However, it does other things that might be out of scope as they are tied closely to the layout and config of the CIB: It copies tarballs to the deployment dir, backups previous base installers, chown
s files, etc.
All of these things are important for deploying a set of new base installers, none of them are actual packaging tasks however. I think we should remove the unrelated parts.
(However, it will probably make sense to still include checking for the softwareupdater URL and key etc., just so that CIB operators don't shoot themselves in the foot).
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.