qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/shared/qemu binaries


From: Liviu Ionescu
Subject: Re: /usr/shared/qemu binaries
Date: Wed, 12 Jan 2022 16:14:04 +0200


> On 12 Jan 2022, at 15:56, Peter Maydell <peter.maydell@linaro.org> wrote:
> 
> Those are UEFI firmware images which are suitable for using with
> the arm/aarch64 "virt" board. 

Then it would probably be useful to keep them.

For the xPack QEMU Arm package, I ended up with the following script:

```
    cd .../share/qemu
    find . -type f -maxdepth 2 \
      -not \( -path './efi-*.rom' -prune \) \
      -not \( -path './npcm7xx_bootrom.bin' -prune \) \
      -not \( -path './edk2-arm*.*' -prune \) \
      -not \( -path './edk2-aarch64*.*' -prune \) \
      -not \( -path './edk2-licenses.*' -prune \) \
      -not \( -path './firmware/*-edk2-arm*.*' -prune \) \
      -not \( -path './firmware/*-edk2-aarch64*.*' -prune \) \
      -not \( -path './keymaps/*' -prune \) \
      -exec rm -rf {} \;
```

I hope it covers most use cases.

Thank you,

Liviu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]