Skip to content

Commit

Permalink
Draft.
Browse files Browse the repository at this point in the history
  • Loading branch information
mirage335 committed Mar 4, 2024
1 parent 1e169c8 commit f16998c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,11 @@ jobs:
mkdir -p ./_local/analysis/screenshots
./_create_ubDistBuild-bootOnce | sudo -n tee ./_local/_create_ubDistBuild-bootOnce.log && exit ${PIPESTATUS[0]}
- name: _create_ubDistBuild-bootOnce
shell: bash
continue-on-error: true
run: |
./ubiquitous_bash.sh _zSpecial_report
- name: artifacts
uses: actions/upload-artifact@v3
Expand All @@ -955,6 +960,7 @@ jobs:
./_local/lsmodReport
./_local/binReport
./_local/coreReport
./_local/cfgFW.log
- name: check! FAIL_bootOnce
shell: bash
Expand Down
22 changes: 17 additions & 5 deletions _prog/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2329,11 +2329,7 @@ _zSpecial_qemu_memory() {
qemuUserArgs+=(-m "1664")
}

# ATTENTION: Override with 'ops.sh' or similar.
_zSpecial_qemu_chroot() {
! "$scriptAbsoluteLocation" _openChRoot && _messagePlain_bad 'fail: _openChRoot' && _messageFAIL


_zSpecial_report_procedure() {
if [[ ! -e "$globalVirtFS"/dpkg ]]
then
#_chroot dpkg -l | sudo -n tee "$globalVirtFS"/dpkg > /dev/null
Expand Down Expand Up @@ -2376,6 +2372,22 @@ _zSpecial_qemu_chroot() {

sudo -n cp -f "$globalVirtFS"/boot/grub/grubenv "$scriptLocal"/grubenv
sudo -n chown "$USER":"$USER" "$scriptLocal"/grubenv
}
_zSpecial_report() {
! "$scriptAbsoluteLocation" _openChRoot && _messagePlain_bad 'fail: _openChRoot' && _messageFAIL

_zSpecial_report_procedure "$@"

! "$scriptAbsoluteLocation" _closeChRoot && _messagePlain_bad 'fail: _closeChRoot' && _messageFAIL
return 0
}

# ATTENTION: Override with 'ops.sh' or similar.
_zSpecial_qemu_chroot() {
! "$scriptAbsoluteLocation" _openChRoot && _messagePlain_bad 'fail: _openChRoot' && _messageFAIL


_zSpecial_report_procedure "$@"


_chroot rmdir /var/lib/docker/runtimes
Expand Down

0 comments on commit f16998c

Please sign in to comment.