Created
May 18, 2015 09:05
-
-
Save tcatm/7abc56c14e5654e08d54 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
set -e | |
export GLUON_BRANCH=experimental | |
export GLUON_IMAGEDIR=$(mktemp -d) | |
export GLUON_SITEDIR=$(pwd)/site-ffhl | |
export GLUON_TARGET=ar71xx-generic | |
git -C site-ffhl pull | |
pushd gluon | |
git pull | |
make update | |
make clean | |
make all BROKEN=1 V=s | |
make manifest BROKEN=1 | |
popd | |
ln -s experimental.manifest $GLUON_IMAGEDIR/sysupgrade/manifest | |
gluon/contrib/sign.sh nightly.secret $GLUON_IMAGEDIR/sysupgrade/experimental.manifest | |
tar cf firmwares.tar -C $GLUON_IMAGEDIR/ . | |
rm -rf $GLUON_IMAGEDIR |
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
#!/bin/bash | |
./build.sh | |
./upload.sh |
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
[Unit] | |
Description=Gluon nightly FFHL | |
[Service] | |
Type=oneshot | |
RemainAfterExit=no | |
WorkingDirectory=/home/gluon/gluon-nightly | |
ExecStart=/home/gluon/gluon-nightly/do.sh | |
User=gluon | |
Group=gluon |
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
[Timer] | |
OnCalendar=*-*-* 02:30:00 | |
[Install] | |
WantedBy=multi-user.target |
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
#!/bin/bash | |
scp firmwares.tar [email protected]: | |
ssh [email protected] 'cd autoupdates/experimental/; rm -r factory sysupgrade; tar xf ~/firmwares.tar; chmod a+rx .' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment