[neon/infrastructure/pangea-data] imager/build-hooks-neon-mobile: add hook to remove packages requested by juno

Jonathan Riddell null at kde.org
Wed Jun 26 09:37:07 BST 2024


Git commit 104726bc180b6c84d0f6a84e045fc0e047d453b6 by Jonathan Riddell.
Committed on 26/06/2024 at 08:37.
Pushed by jriddell into branch 'master'.

add hook to remove packages requested by juno

A  +9    -0    imager/build-hooks-neon-mobile/092-apt-remove-unnecessary.chroot

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/104726bc180b6c84d0f6a84e045fc0e047d453b6

diff --git a/imager/build-hooks-neon-mobile/092-apt-remove-unnecessary.chroot b/imager/build-hooks-neon-mobile/092-apt-remove-unnecessary.chroot
new file mode 100644
index 0000000..7aa099a
--- /dev/null
+++ b/imager/build-hooks-neon-mobile/092-apt-remove-unnecessary.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -ex
+
+echo 'removing unnecessary packages'
+
+apt-get remove linux-generic -y || true
+
+echo 'removing unnecessary packages done'


More information about the Neon-commits mailing list