Skip to content

Instantly share code, notes, and snippets.

View taaem's full-sized avatar

Tim Klocke taaem

  • Hamburg/Germany
View GitHub Profile
@taaem
taaem / updater-script
Created March 26, 2016 16:14
Updater Script
ui_print("");
ui_print("========================================");
ui_print("Hybris Installer");
ui_print("========================================");
ui_print(" Device: onyx");
ui_print(" Version: 2.0.0.10");
ui_print(" Image: sailfishos-onyx-release-2.0.0.10-alpha-1.tar.bz2");
ui_print(" Size: 303M");
ui_print(" Partitions:");
ui_print(" /boot -> /dev/block/platform/msm_sdcc.1/by-name/boot");
@taaem
taaem / keybase.md
Created June 20, 2016 11:26
keybase.md

Keybase proof

I hereby claim:

  • I am taaem on github.
  • I am taaem (https://keybase.io/taaem) on keybase.
  • I have a public key whose fingerprint is 1869 7FDA 2976 34B7 0855 CAD0 8693 CFC8 CF02 48B2

To claim this, I am signing this object:

From a0f7f405fb726bdee1d0c2388da80ea62cf93f34 Mon Sep 17 00:00:00 2001
From: taaem <taaem@mailbox.org>
Date: Sun, 26 Jun 2016 13:41:45 +0200
Subject: [PATCH] [build_packages] Add ffmemless and remove other vibrator
---
helpers/build_packages.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/helpers/build_packages.sh b/helpers/build_packages.sh
@taaem
taaem / promote.py
Last active September 22, 2016 15:29
Promote all packages from devel: to testing:, pipe this into sh
import subprocess
import os
trepo = "nemo:testing:hw:{0}:{1}".format(os.environ["VENDOR"],os.environ["DEVICE"])
drepo = "nemo:devel:hw:{0}:{1}".format(os.environ["VENDOR"],os.environ["DEVICE"])
cmd = "osc ls {0}".format(drepo)
process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
packages = process.communicate()[0]
@taaem
taaem / HowTo.md
Last active May 4, 2017 14:26
How-To Promote from devel: to testing: for onyx

Promote

This describes how to promote all packages from devel: repo to testing: repo on build.merproject.org.

Get all package names and make a shell script for use with OSC

curl -O https://gist.githubusercontent.com/taaem/c80d094d31545f10f6d58f2ba4dcb675/raw/88846751b1be9df489ad56afa0376014a9331acb/promote.py
python promote.py > promote.sh

Copy all packages

@taaem
taaem / ota.md
Last active July 30, 2016 09:02

Communication design

  • server: images.devaamo.fi
  • folder $DEVICE/releases/
  • new file for each release:
    • $SAILFISHOS_VERSION-$RELEASE_NUMBER
    • content = yaml, json?
      • upgradable from which releases
      • release date
  • Human-Readable Version, eg. Alpha-1,...
From a0f7f405fb726bdee1d0c2388da80ea62cf93f34 Mon Sep 17 00:00:00 2001
From: taaem <taaem@mailbox.org>
Date: Sun, 26 Jun 2016 13:41:45 +0200
Subject: [PATCH] [build_packages] Add ffmemless and remove other vibrator
---
helpers/build_packages.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/helpers/build_packages.sh b/helpers/build_packages.sh
#!/usr/bin/python
# Created For Solus Operating System
from pisi.actionsapi import pisitools, shelltools
NoStrip = ["/opt", "/usr"]
IgnoreAutodep = True
def setup():
@taaem
taaem / keybase.md
Created April 9, 2018 16:08
Keybase

Keybase proof

I hereby claim:

  • I am taaem on github.
  • I am taaem (https://keybase.io/taaem) on keybase.
  • I have a public key whose fingerprint is 2FB1 5FE0 7DFB 495D 12D0 C344 E12F E62F 78BF 776D

To claim this, I am signing this object: