https://github.com/agherzan/resin-f2t
Script for transfering a config.json file from a resin raw image to another
https://github.com/agherzan/resin-f2t
Last synced: 12 months ago
JSON representation
Script for transfering a config.json file from a resin raw image to another
- Host: GitHub
- URL: https://github.com/agherzan/resin-f2t
- Owner: agherzan
- License: apache-2.0
- Created: 2015-09-30T12:55:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T13:15:35.000Z (over 9 years ago)
- Last Synced: 2025-03-03T02:22:25.228Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tool for transfering a config file from a raw resin image to another one
## Description
This repository enables building resin.io for various devices.
## Usage
```
$ ./resin-f2t -h
```
## Example / use-case
### production / staging
The resin staging server is known to be a testing environment and due to this nature we happen to break it from time to time. On the other hand, we have users who want to get their hands on the new devices features as soon as possible.
Under the obvious notice that **this is ment to be used only in development and not in production**, we recommend these users to run resin staging images on the resin production server. Here is the way to do it:
1. Download a staging image (dashboard.resinstaging.io).
2. Download a production image (dashboard.resin.io) - make sure you currectly input the download configuration as this will the final config file used.
3. $ ./resin-f2t --from production.img --to staging.img
4. Use the staging.img for provisioning and the dashboard.resin.io for device manipulation.
### custom builds
There are cases when we want to run custom builds with resinio. This might happen for testing purposes for example. When finishing a build, the resulting artifact will not have a config. Injecting one from a already downloaded image can be done as follows:
1. Download a staging image (dashboard.resinstaging.io).
2. $ ./resin-f2t --from staging.img --to build-image-artifact.img
3 Use the build-image-artifact.img for provisioning and the dashboard.resinstaging.io for device manipulation.