diff options
| author | 2024-12-22 02:16:49 -0800 | |
|---|---|---|
| committer | 2024-12-22 02:16:49 -0800 | |
| commit | 50ab47481f1a4e8130c6c56fd1b9b6365f4cfeec (patch) | |
| tree | e3692f081a8d1c08306fe564421e2483642739b6 | |
| parent | a6b222f6d9ecbe55cc229d477b190a69cd9ba77d (diff) | |
| parent | b5b3e1bd27b84e97ef050970e6697f86d3e11d73 (diff) | |
qemu: Update to Ubuntu 24.04 LTS (Noble Numbat) am: fb6116af25 am: b5b3e1bd27
Original change: https://android-review.googlesource.com/c/platform/art/+/3380273
Change-Id: I7e56d1c1aca8bda9fca937a8a772ce724811f224
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rwxr-xr-x | tools/buildbot-utils.sh | 2 | ||||
| -rwxr-xr-x | tools/buildbot-vm.sh | 16 | ||||
| -rw-r--r-- | tools/user-data.img | bin | 372736 -> 372736 bytes |
3 files changed, 13 insertions, 5 deletions
diff --git a/tools/buildbot-utils.sh b/tools/buildbot-utils.sh index 78d22431c0..6bddfef777 100755 --- a/tools/buildbot-utils.sh +++ b/tools/buildbot-utils.sh @@ -88,7 +88,7 @@ if [[ -n "$ART_TEST_ON_VM" ]]; then export RSYNC_RSH="ssh -q -F $SSH_CONFIG -p $ART_TEST_SSH_PORT" # don't prefix with "ART_", rsync expects this name if [[ "$TARGET_ARCH" =~ ^(arm64|riscv64)$ ]]; then - export ART_TEST_VM_IMG="ubuntu-23.10-server-cloudimg-$TARGET_ARCH.img" + export ART_TEST_VM_IMG="ubuntu-24.04-server-cloudimg-$TARGET_ARCH.img" export ART_TEST_VM_DIR="$ANDROID_BUILD_TOP/vm/$TARGET_ARCH" export ART_TEST_VM="$ART_TEST_VM_DIR/$ART_TEST_VM_IMG" else diff --git a/tools/buildbot-vm.sh b/tools/buildbot-vm.sh index 356b781a3e..054608d362 100755 --- a/tools/buildbot-vm.sh +++ b/tools/buildbot-vm.sh @@ -45,11 +45,11 @@ if [[ $action = create ]]; then # sudo apt install qemu-system-<arch> qemu-efi cloud-image-utils - # Get the cloud image for Ubunty 23.10 (Mantic Minotaur) - wget "http://cloud-images.ubuntu.com/releases/23.10/release/$ART_TEST_VM_IMG" + # Get the cloud image for Ubuntu 24.04 LTS (Noble Numbat) + wget "http://cloud-images.ubuntu.com/releases/24.04/release/$ART_TEST_VM_IMG" if [[ "$TARGET_ARCH" = "riscv64" ]]; then - # Get U-Boot for Ubuntu 22.04 (Jammy) + # Get U-Boot get_stable_binary \ u/u-boot/u-boot-qemu_2024.01+dfsg-5ubuntu2_all.deb \ usr/lib/u-boot/qemu-riscv64_smode/uboot.elf @@ -82,10 +82,18 @@ chpasswd: users: - default - name: $ART_TEST_SSH_USER - ssh-authorized-keys: + ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCOYmwd9qoYd7rfYI6Q8zzqoZ3BtLC/SQo0WCvBFoJT6JzwU8F7nkN57KBQPLtvX2OBeDnFbtEY8uLtuNEp1Z19VcDbRd3LhyAMYFz6Ox/vWtPfl0hv0kUMQMAne1Bg0tawlNxawP2HXrLOh/FaXdSBSRUHNqMTQEnkIYw4faArDS/zKjVDs0/+e9mhtjL0akLcK04crlk2KD8Q2csya5givdAD7fVNOx7DtckRR47FLM1bERe0t0FlUESx/x7oLjNEmNUrPXV6GSkCoskmKSZC1vwgAf0VrxFADv1EywQXmlNaa4+rzqS4jMYuwi5QCtQXFFZl5qQ1Sh1rnliTRJvJzjXCeq3QPsPzUJInfVGzrPClfHG7whlJE/Uwv8UOF7WHzUt5OBOsW6nZrplldvfYif/qz6dR+RX2G0zi8tC/2Mzahr6toAqtsqbdp3coYvpi/OjHIV3RhyJxG1FtyGYQRnmGPs8R9ic3pupjLFWM9qIilUCjFrUoiw7QAgfUrUc= ubuntu_user@example.com sudo: ALL=(ALL) NOPASSWD:ALL groups: users, admin +write_files: + - path: /etc/sysctl.d/60-apparmor.conf + permissions: 0644 + owner: root + content: | + kernel.apparmor_restrict_unprivileged_userns=0 +runcmd: + - systemctl restart systemd-sysctl EOF # meta-data is necessary, even if empty. cat >meta-data <<EOF diff --git a/tools/user-data.img b/tools/user-data.img Binary files differindex 76a614c52b..245bdbdc39 100644 --- a/tools/user-data.img +++ b/tools/user-data.img |