File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -100,21 +100,23 @@ kernel image with a Ubuntu 24.04 rootfs from our CI:
100100``` bash
101101ARCH=" $( uname -m) "
102102
103- latest=$( wget " http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.10 /$ARCH /vmlinux-5.10&list-type=2" -O - 2> /dev/null | grep -oP " (?<=<Key>)(firecracker-ci/v1.10 /$ARCH /vmlinux-5\.10\.[0-9]{1,3})(?=</Key>)" )
103+ latest=$( wget " http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.11 /$ARCH /vmlinux-5.10&list-type=2" -O - 2> /dev/null | grep -oP " (?<=<Key>)(firecracker-ci/v1.11 /$ARCH /vmlinux-5\.10\.[0-9]{1,3})(?=</Key>)" )
104104
105105# Download a linux kernel binary
106106wget " https://s3.amazonaws.com/spec.ccfc.min/${latest} "
107107
108108# Download a rootfs
109- wget -O ubuntu-24.04.squashfs.upstream " https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10 /${ARCH} /ubuntu-24.04.squashfs"
109+ wget -O ubuntu-24.04.squashfs.upstream " https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.11 /${ARCH} /ubuntu-24.04.squashfs"
110110
111111# Create an ssh key for the rootfs
112112unsquashfs ubuntu-24.04.squashfs.upstream
113113ssh-keygen -f id_rsa -N " "
114114cp -v id_rsa.pub squashfs-root/root/.ssh/authorized_keys
115115mv -v id_rsa ./ubuntu-24.04.id_rsa
116- # re-squash
117- mksquashfs squashfs-root ubuntu-24.04.squashfs -all-root -noappend -comp zstd
116+ # create ext4 filesystem image
117+ sudo chown -R root:root squashfs-root
118+ truncate -s 400M ubuntu-24.04.ext4
119+ sudo mkfs.ext4 -d squashfs-root -F ubuntu-24.04.ext4
118120```
119121
120122### Getting a Firecracker Binary
Original file line number Diff line number Diff line change @@ -890,6 +890,7 @@ cmd_sh() {
890890
891891cmd_sandbox () {
892892 cmd_build --release
893+ ensure_ci_artifacts
893894 cmd_sh " tmux new env PYTEST_ADDOPTS=--pdbcls=IPython.terminal.debugger:TerminalPdb PYTHONPATH=tests IPYTHONDIR=\$ PWD/.ipython ipython -i ./tools/sandbox.py $@ "
894895}
895896
You can’t perform that action at this time.
0 commit comments