Skip to content

init.d/50-import-pools: tailor text if using a binary release #1119

init.d/50-import-pools: tailor text if using a binary release

init.d/50-import-pools: tailor text if using a binary release #1119

Workflow file for this run

name: Build check
on:
push:
branches:
- master
paths:
- 'bin/**'
- 'zfsbootmenu/**'
- 'dracut/**'
- 'initcpio/**'
pull_request:
paths:
- 'bin/**'
- 'zfsbootmenu/**'
- 'dracut/**'
- 'initcpio/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build boot images
runs-on: ubuntu-latest
container:
image: ghcr.io/zbm-dev/zbm-builder
steps:
- uses: actions/checkout@master
- name: Prepare repository for build
run: |
mkdir -p /build
rm -rf /zbm
ln -s "$(pwd)" /zbm
echo "zfsbootmenu_module_root='/zbm/zfsbootmenu'" > /zbm/etc/zfsbootmenu/dracut.conf.d/zbm_modroot.conf
yq-go e '.Global.DracutFlags += ["--no-early-microcode"]' /zbm/etc/zbm-builder/config.yaml > /build/config.yaml
- name: Build release artifacts
run: |
rm -rf /build/dracut.conf.d
mkdir -p /build/dracut.conf.d
cp /zbm/etc/zfsbootmenu/release.conf.d/*.conf /build/dracut.conf.d/
/zbm/releng/docker/build-init.sh -- --debug
- name: Archive release EFI
uses: actions/upload-artifact@v4
with:
name: Release-EFI
path: /build/build/*.EFI
- name: Archive release components
uses: actions/upload-artifact@v4
with:
name: Release-Components
path: |
/build/build/*
!/build/build/*.EFI
- name: Prune release artifacts
run: |
rm -r /build/build
- name: Build recovery artifacts
run: |
rm -rf /build/dracut.conf.d
mkdir -p /build/dracut.conf.d
cp /zbm/etc/zfsbootmenu/recovery.conf.d/*.conf /build/dracut.conf.d/
/zbm/releng/docker/build-init.sh -- --debug
- name: Archive recovery EFI
uses: actions/upload-artifact@v4
with:
name: Recovery-EFI
path: /build/build/*.EFI
- name: Archive recovery components
uses: actions/upload-artifact@v4
with:
name: Recovery-Components
path: |
/build/build/*
!/build/build/*.EFI