Skip to content

Instantly share code, notes, and snippets.

@steigr
Last active October 2, 2020 14:31
Show Gist options
  • Save steigr/17c22dd0b5a6296a62055038bd55421d to your computer and use it in GitHub Desktop.
Save steigr/17c22dd0b5a6296a62055038bd55421d to your computer and use it in GitHub Desktop.
Fake runc package to use crun
#!/bin/sh
printf "7avu2wMAAAAAAWZha2UtcnVuYy0xLjAuMC0xNgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAUAAAAAAAAAAAAAAAAAAAAAjq3oAQAAAAAAAAAHAAAQtAAAAD4AAAAHAAAQpAAAABAAAAENAAAABgAAAAAAAAABAAABEQAAAAYAAAApAAAAAQAAA+gAAAAEAAAAbAAAAAEAAAPsAAAABwAAAHAAAAAQAAAD7wAAAAQAAACAAAAAAQAAA/AAAAAHAAAAhAAAECBjNDBmZTIzZDZmNjgxZjk4Njc2YmQ2ZDJkOTkwNzFkNTUxM2Q1YjA3ADdhOWQzNjc1ZGQ5MTUzNjlmMmUwNjg2NGE1MTJiMDYyY2UyN2FmOTg2MzJjNGJmOGM5Mjg4NTZmNGUxNzI5NTMAAAAAAAX1jA2uPu66Rqgo4QgZaIqMOgAAAHwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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KQBycG1saWIoRmlsZURpZ2VzdHMpAHJwbWxpYihQYXlsb2FkRmlsZXNIYXZlUHJlZml4KQBycG1saWIoUGF5bG9hZElzWnN0ZCkAMy4wLjQtMQA0LjYuMC0xADQuMC0xADUuNC4xOC0xADQuMTYuMC1yYzEAAAAAAAgAAAAAMS4wLjAtMTYAAC1PMiAtZmx0bz1hdXRvIC1mZmF0LWx0by1vYmplY3RzIC1mZXhjZXB0aW9ucyAtZyAtZ3JlY29yZC1nY2Mtc3dpdGNoZXMgLXBpcGUgLVdhbGwgLVdlcnJvcj1mb3JtYXQtc2VjdXJpdHkgLVdwLC1EX0ZPUlRJRllfU09VUkNFPTIgLVdwLC1EX0dMSUJDWFhfQVNTRVJUSU9OUyAtc3BlY3M9L3Vzci9saWIvcnBtL3JlZGhhdC9yZWRoYXQtaGFyZGVuZWQtY2MxIC1mc3RhY2stcHJvdGVjdG9yLXN0cm9uZyAtc3BlY3M9L3Vzci9saWIvcnBtL3JlZGhhdC9yZWRoYXQtYW5ub2Jpbi1jYzEgIC1tNjQgLW10dW5lPWdlbmVyaWMgLWZhc3luY2hyb25vdXMtdW53aW5kLXRhYmxlcyAtZnN0YWNrLWNsYXNoLXByb3RlY3Rpb24AY3BpbwB6c3RkADE5AG5vYXJjaC1yZWRoYXQtbGludXgtZ251AAAAAAAAAAh1dGYtOABhYWFkYTI5ZTdhOWNhYjY0M2VlM2NjNGVlZTg3NmVhMjQwNjY4Yjc3NmExMjllOTc4N2IyNzVmNTdjMWU5MWQ1AAAAAAAIMjNkMDQyMmI0ZmVhMjhmNzcxZTg3Mjc0MWJiMzcwNzkwYjNjZDA1MzhlYWZiNDYxMjMzZTgyMGI4NGI1N2EyZQAAAAA/AAAAB////gAAAAAQKLUv/QBoHQEAwDA3MDcwMTAxMGJUUkFJTEVSISEhAAAAAAMALIQYOPEHGAE=" \
| base64 -d \
| rpm -i /dev/stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment