Skip to content

Instantly share code, notes, and snippets.

View simotek's full-sized avatar

Simon Lees simotek

View GitHub Profile
import enum
import subprocess
from osctiny import *
from pyrpm.spec import Spec, replace_macros
from lxml import etree
class Distro(enum.Enum):
Factory = "openSUSE:Factory"
FrontRunner = "openSUSE:Step:FrontRunner" # Used to determine info from SLE
@simotek
simotek / ulp_apply.sh
Created July 23, 2021 09:13
Auto Live Patch
Usage: ./ulp_apply.sh "/usr/lib64/libcrypto.so.1.1" /usr/lib64/openssl-1_1-livepatches/libcrypto_livepatch1.ulp
31156 [2018-02-08 10:35:12.214] [main] [info] Identity created at 1517844588 - using ID Schema 0
31156 [2018-02-08 10:35:12.216] [main] [info] ------------- Starting Sync (sflees@suse.de) ---------------
31156 [2018-02-08 10:35:12.219] [background] [info] Marking all folders as `busy`
31156 [2018-02-08 10:35:12.219] [metadata] [info] Metadata delta stream starting...
31156 [2018-02-08 10:35:12.416] [background] [info] Syncing folder list...
31156 [2018-02-08 10:35:16.009] [background] [info] Syncing folder list...
31156 [2018-02-08 10:35:17.079] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 265568 to 266249, uidnext 123143 to 123756
31156 [2018-02-08 10:35:18.894] [foreground] [info] [local-8cbbbc0d-ccee] Running ChangeFolderTask performRemote:
31156 [2018-02-08 10:35:19.637] [background] [info] syncFolderChangesViaCondstore - Changes since HMODSEQ 265568: 574 changed, 116738 vanished
31156 [2018-02-08 10:35:19.863] [background] [warning] Ignoring changes to New comment in project SUSE:Mai
### Keybase proof
I hereby claim:
* I am simotek on github.
* I am simotek (https://keybase.io/simotek) on keybase.
* I have a public key ASCd6VbCkLL20Ha_Ht6nsL3aRHWpgBEXnGeZJfojOAhn8wo
To claim this, I am signing this object: