Skip to content

Commit

Permalink
Add update-binfmts action
Browse files Browse the repository at this point in the history
Meant to be used in conjunction with the Freedesktop SDK based images to
enable QEMU architecture emulation for flatpak-builder using
update-binfmts and its templates.
  • Loading branch information
tytan652 committed Feb 12, 2024
1 parent bffd288 commit a9b99bb
Show file tree
Hide file tree
Showing 7 changed files with 7,517 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/flatpak-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ jobs:
working-directory: flat-manager
- run: yarn run eslint .
working-directory: flat-manager
- run: yarn install --also=dev
working-directory: update-binfmts
- run: yarn run eslint .
working-directory: update-binfmts
14 changes: 14 additions & 0 deletions update-binfmts/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"ignorePatterns": ["dist"],
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"standard"
],
"parserOptions": {
"ecmaVersion": 12
}
}
8 changes: 8 additions & 0 deletions update-binfmts/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: "Update Binfmts"
description: "Enable QEMU architecture emulation for flatpak-builder"
branding:
icon: "package"
color: "blue"
runs:
using: "node20"
main: "dist/index.js"
Loading

0 comments on commit a9b99bb

Please sign in to comment.