Skip to content

Commit cdd4703

Browse files
committed
chore: strip out unnecessary dependencies from QEMU builds
1 parent 4f45470 commit cdd4703

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/90-cleanup-qemu.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ elif [ -n "$(command -v apt-get)" ]; then
4343
add-apt-repository --yes --remove ppa:ansible/ansible
4444

4545
source /etc/os-release
46-
apt-get -y remove --purge linux-headers-5.11.0-1021-aws
46+
47+
apt-get -y remove --purge ansible-core apport appstream bash-completion bcache-tools bind9-dnsutils bind9-host bind9-libs bolt btrfs-progs byobu command-not-found console-setup distro-info eject fonts-ubuntu-console friendly-recovery ftp fwupd gawk gdisk keyboard-configuration libvolume-key1 libicu66 libssl-dev lvm2 lxd-agent-loader man-db mdadm modemmanager mtd-utils nano netcat-openbsd nfs-common ntfs-3g parted pastebinit python3-setuptools python3-twisted screen strace thin-provisioning-tools tmux usb-modeswitch vim vim-runtime wget whiptail xfsprogs
48+
apt remove --purge libc6-dev linux-libc-dev libevent-dev libpcre3-dev libsystemd-dev
4749

4850
apt-get -y update
4951
apt-get -y upgrade

0 commit comments

Comments
 (0)