mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Switch CI to chroot mode.
This commit is contained in:
parent
c168a3bd4c
commit
f77466bc99
2 changed files with 5 additions and 19 deletions
|
|
@ -6,10 +6,8 @@
|
|||
|
||||
set timeout -1
|
||||
|
||||
spawn python3 rootfs.py --qemu-cmd qemu-system-x86_64 --qemu-ram 3500
|
||||
spawn python3 rootfs.py --chroot
|
||||
expect {
|
||||
"not syncing: Attempted to kill init" {}
|
||||
"Bootstrapping completed." {}
|
||||
}
|
||||
send -- "\x01"
|
||||
send -- "x"
|
||||
|
|
|
|||
20
.cirrus.yml
20
.cirrus.yml
|
|
@ -38,26 +38,14 @@ reuse_lint_task:
|
|||
- reuse lint
|
||||
|
||||
run_task:
|
||||
timeout_in: 180m
|
||||
timeout_in: 120m
|
||||
container:
|
||||
image: potyarkin/molecule:host-kvm
|
||||
kvm: true
|
||||
cpu: 2
|
||||
memory: 4G
|
||||
# Required background services
|
||||
dbus_background_script:
|
||||
- mkdir -p /var/run/dbus
|
||||
- /usr/bin/dbus-daemon --system --nofork --nopidfile
|
||||
virtlogd_background_script:
|
||||
- /usr/sbin/virtlogd
|
||||
libvirtd_background_script:
|
||||
- sleep 2 && /usr/sbin/libvirtd
|
||||
iptables_legacy_script:
|
||||
- update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
image: debian:stable
|
||||
use_in_memory_disk: true
|
||||
deps_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install sudo git cpio linux-image-4.19.0-16-amd64 expect wget
|
||||
- apt-get -y install sudo git cpio linux-image-4.19.0-16-amd64 expect wget python3-distutils python3-requests
|
||||
- apt-get -y clean
|
||||
submodule_script:
|
||||
- git submodule update --init --recursive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue