Skip to content

Commit

Permalink
Update qemu-user-static url (#67)
Browse files Browse the repository at this point in the history
* Update qemu-user-static url
* Run builds on ubuntu 22.04
* Remove usage of deprecated warn parameter in ansible playbooks
  • Loading branch information
jcapona authored Apr 26, 2024
1 parent 3b52261 commit 5f084ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
# Install 'qemu-user-static' >v5 to allow 'arm64' chroot
# 'ubuntu-20.04' (currently latest) does not have an up-to-date version, so we install from `ubuntu-security` repo
run: |
wget https://mirror.ip-projects.de/ubuntu-security/pool/universe/q/qemu/qemu-user-static_5.2+dfsg-9ubuntu3.1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_5.2+dfsg-9ubuntu3.1_amd64.deb
sudo apt-get update && sudo apt-get install -y \
ansible \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pt-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
# Install 'qemu-user-static' >v5 to allow 'arm64' chroot
# 'ubuntu-20.04' (currently latest) does not have an up-to-date version, so we install from `ubuntu-security` repo
run: |
wget https://mirror.ip-projects.de/ubuntu-security/pool/universe/q/qemu/qemu-user-static_5.2+dfsg-9ubuntu3.1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_5.2+dfsg-9ubuntu3.1_amd64.deb
sudo apt-get update && sudo apt-get install -y \
ansible \
Expand Down
2 changes: 0 additions & 2 deletions playbooks/finalise_pi_top_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
- name: Get the rootfs loopback device
# The trailing space is important, zerofree only applies to extN file systems not fat so can only be used on the rootfs
shell: "mount -v | grep '/tmp/pi-top-os ' | cut -f1 -d' '"
args:
warn: false
register: rootfs_lo_device

- set_fact:
Expand Down
8 changes: 0 additions & 8 deletions playbooks/mount_pi_top_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,15 @@
- name: Mount proc
become: true
command: mount -t proc /proc "{{ pt_os_mount_point }}/proc"
args:
warn: false

- name: Mount sys
become: true
command: mount -t sysfs /sys "{{ pt_os_mount_point }}/sys"
args:
warn: false

- name: Mount dev
become: true
command: mount -o bind /dev "{{ pt_os_mount_point }}/dev"
args:
warn: false

- name: Mount dev/pts
become: true
command: mount -o bind /dev/pts "{{ pt_os_mount_point }}/dev/pts"
args:
warn: false

0 comments on commit 5f084ce

Please sign in to comment.