Skip to content

sysupgrade: put the mounts back when the pivot does not happen #388

sysupgrade: put the mounts back when the pivot does not happen

sysupgrade: put the mounts back when the pivot does not happen #388

Workflow file for this run

name: shell-tests
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
jobs:
# Same guard build.yml and gcc-compat.yml carry. These two jobs are cheap, but
# they are the last billed entry point a clone inherits: on a private mirror
# every master sync push and every internal PR runs them on that owner's bill.
# Upstream the first disjunct is true, so the condition is a tautology here.
load-hisilicon-parsing:
name: load_hisilicon os_mem_size derivation
if: >-
github.repository == 'OpenIPC/firmware' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && !github.event.repository.private)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: bash .github/scripts/test_load_hisilicon.sh
sysupgrade-verify:
name: sysupgrade rootfs verification
if: >-
github.repository == 'OpenIPC/firmware' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && !github.event.repository.private)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Parse-check under both shells
run: |
sh -n general/overlay/usr/sbin/sysupgrade
dash -n general/overlay/usr/sbin/sysupgrade
- run: bash .github/scripts/test_sysupgrade.sh