mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
What is going on here?
This commit is contained in:
parent
ffda41f38a
commit
a9f253108a
1 changed files with 19 additions and 4 deletions
23
.github/workflows/qemu.yml
vendored
23
.github/workflows/qemu.yml
vendored
|
|
@ -13,11 +13,20 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Run under bubblewrap
|
name: Run under QEMU
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install qemu
|
- name: Install qemu
|
||||||
run: sudo apt-get install qemu-system-x86
|
run: >
|
||||||
|
sudo apt-get install build-essential libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build &&
|
||||||
|
curl -L -O https://download.qemu.org/qemu-10.1.1.tar.xz &&
|
||||||
|
tar -xf qemu-10.1.1.tar.xz &&
|
||||||
|
cd qemu-10.1.1 &&
|
||||||
|
mkdir build &&
|
||||||
|
cd build &&
|
||||||
|
../configure --disable-user --without-default-features --target-list=i386-softmmu --enable-system --enable-kvm &&
|
||||||
|
ninja &&
|
||||||
|
sudo ninja install
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -47,12 +56,18 @@ jobs:
|
||||||
mirror-state
|
mirror-state
|
||||||
key: cache-${{ hashFiles('steps/*/sources') }}
|
key: cache-${{ hashFiles('steps/*/sources') }}
|
||||||
- name: Run bootstrap
|
- name: Run bootstrap
|
||||||
run: sudo ./rootfs.py --qemu --external-sources --cores 2 --mirror file://${PWD}/mirror
|
run: >
|
||||||
|
ulimit -c unlimited &&
|
||||||
|
sudo ./rootfs.py --qemu --qemu-cmd qemu-system-i386 --external-sources --cores 2 --mirror file://${PWD}/mirror ;
|
||||||
|
echo $? ;
|
||||||
|
sudo coredumpctl list;
|
||||||
|
sudo coredumpctl dump
|
||||||
|
|
||||||
- name: Remount package disk
|
- name: Remount package disk
|
||||||
if: always()
|
if: always()
|
||||||
run: >
|
run: >
|
||||||
DEV=$(sudo losetup -f --show target/external.img) &&
|
DEV=$(sudo losetup -f --show target/external.img) &&
|
||||||
sudo partprobe ${DEV}p1 &&
|
sudo partprobe ${DEV} &&
|
||||||
mkdir -p mnt &&
|
mkdir -p mnt &&
|
||||||
sudo mount ${DEV}p1 mnt
|
sudo mount ${DEV}p1 mnt
|
||||||
- name: Archive created packages
|
- name: Archive created packages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue