add use-fuse patch
This commit is contained in:
parent
486a3cd272
commit
fd2276f41b
1 changed files with 3 additions and 7 deletions
|
@ -7,15 +7,10 @@ jobs:
|
||||||
runs-on: x86_64
|
runs-on: x86_64
|
||||||
container:
|
container:
|
||||||
image: alpine:3.20
|
image: alpine:3.20
|
||||||
env:
|
|
||||||
CI_PROJECT_DIR: ${{ github.workspace }}
|
|
||||||
CI_DEBUG_BUILD: ${{ runner.debug }}
|
|
||||||
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
|
||||||
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
apk add rpm wget losetup coreutils eudev e2fsprogs xen doas sudo curl nodejs git alpine-sdk
|
apk add rpm wget losetup coreutils eudev e2fsprogs xen doas sudo curl nodejs git alpine-sdk fuse2fs patch
|
||||||
cd /etc/apk/keys
|
cd /etc/apk/keys
|
||||||
curl -JO https://ayakael.net/api/packages/forge/alpine/key
|
curl -JO https://ayakael.net/api/packages/forge/alpine/key
|
||||||
- name: Repo pull
|
- name: Repo pull
|
||||||
|
@ -26,9 +21,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/QubesOS/qubes-builder
|
git clone https://github.com/QubesOS/qubes-builder
|
||||||
mkdir qubes-builder/qubes-src
|
mkdir qubes-builder/qubes-src
|
||||||
ln -s $CI_PROJECT_DIR qubes-builder/qubes-src/builder-alpine
|
ln -s $GITHUB_WORKSPACE qubes-builder/qubes-src/builder-alpine
|
||||||
cp builder.conf qubes-builder/.
|
cp builder.conf qubes-builder/.
|
||||||
git clone https://github.com/QubesOS/qubes-linux-template-builder qubes-builder/qubes-src/linux-template-builder
|
git clone https://github.com/QubesOS/qubes-linux-template-builder qubes-builder/qubes-src/linux-template-builder
|
||||||
|
patch -d qubes-builder/qubes-src/linux-template-builder -p1 -i $GITHUB_WORKSPACE/patches/linux-template-builder_use-fuse.patch
|
||||||
echo "%define _arch x86_64" >> qubes-builder/qubes-src/linux-template-builder/templates.spec
|
echo "%define _arch x86_64" >> qubes-builder/qubes-src/linux-template-builder/templates.spec
|
||||||
cd qubes-builder
|
cd qubes-builder
|
||||||
make linux-template-builder
|
make linux-template-builder
|
||||||
|
|
Loading…
Reference in a new issue