-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joe Roberts
committed
Jun 23, 2017
1 parent
77af373
commit 2035fe4
Showing
7 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Set all files to use line feed endings (since we can't match only ones without an extension) | ||
* eol=lf | ||
# And then reset all the files with extensions back to default | ||
*.* -eol | ||
|
||
*.sh text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "resin-yocto-scripts"] | ||
path = resin-yocto-scripts | ||
url = https://github.com/resin-os/resin-yocto-scripts.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
# resin-generic | ||
Resin support for generic devices | ||
|
||
## Clone/Initialize the repository | ||
|
||
There are two ways of initializing this repository: | ||
* Clone this repository with "git clone --recursive". | ||
|
||
or | ||
|
||
* Run "git clone" and then "git submodule update --init --recursive". This will | ||
bring in all the needed dependencies. | ||
|
||
## Contributing | ||
|
||
### Issues | ||
|
||
For issues we use an aggregated github repository available [here](https://github.com/resin-os/resinos/issues). When you create issue make sure you select the right labels. | ||
|
||
### Pull requests | ||
|
||
To contribute send github pull requests targeting this repository. | ||
|
||
Please refer to: [Yocto Contribution Guidelines](https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#General_Information) and try to use the commit log format as stated there. Example: | ||
``` | ||
test.bb: I added a test | ||
[Issue #01] | ||
I'm going to explain here what my commit does in a way that history | ||
would be useful. | ||
Signed-off-by: Joe Developer <joe.developer@example.com> | ||
``` | ||
|
||
Make sure you mention the issue addressed by a PR. See: | ||
* https://help.github.com/articles/autolinked-references-and-urls/#issues-and-pull-requests | ||
* https://help.github.com/articles/closing-issues-via-commit-messages/#closing-an-issue-in-a-different-repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
MACHINE=$1 | ||
|
||
$WORKSPACE/resin-yocto-scripts/build/build-device-type-json.sh | ||
|
||
# Write deploy artifacts | ||
BUILD_DEPLOY_DIR=$WORKSPACE/deploy | ||
DEVICE_TYPE_JSON=$WORKSPACE/$MACHINE.json | ||
|
||
mkdir -p $BUILD_DEPLOY_DIR | ||
|
||
cp $WORKSPACE/$MACHINE.json $BUILD_DEPLOY_DIR/device-type.json | ||
cp $WORKSPACE/VERSION $BUILD_DEPLOY_DIR/VERSION | ||
cp $WORKSPACE/VERSION_HOSTOS $BUILD_DEPLOY_DIR/VERSION_HOSTOS | ||
mkdir $WORKSPACE/empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = | ||
version: 1 | ||
slug: 'generic-amd64' | ||
name: 'Generic amd64 device' | ||
arch: 'amd64' | ||
state: 'released' | ||
yocto: | ||
machine: '' | ||
deployArtifact: 'empty' | ||
archive: true |
Submodule resin-yocto-scripts
added at
af9e2b