Skip to content

Commit

Permalink
add hook to remove gnome
Browse files Browse the repository at this point in the history
  • Loading branch information
jriddell committed Sep 7, 2021
1 parent c8a4f87 commit f358c18
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions nci/imager/build-hooks-neon-mobile/099-calamares-settings.chroot
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2020 Jonathan Riddell <[email protected]>
# SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL

set -e

echo 'installing calamares-setings'

# calamares-settings-debian seems to want to install on testing so force this here
apt install -y calamares-settings
6 changes: 0 additions & 6 deletions nci/imager/build-hooks-neon-mobile/91-apt-update.chroot

This file was deleted.

3 changes: 3 additions & 0 deletions nci/imager/config-hooks-neon-mobile/30-remove-gnome.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# For some reason it installs gnome so remove it
apt remove -y ubuntu-session
apt -y autoremove
3 changes: 3 additions & 0 deletions nci/imager/config-hooks-neon-mobile/30-remove-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# We now use 20.04 HWE linux but this one still gets isntalled for some reason, jriddell 2021-06-15
apt remove -y linux-image-5.4.0-74-generic linux-headers-5.4.0-74-generic linux-headers-5.4.0-74 linux-generic linux-headers-generic

0 comments on commit f358c18

Please sign in to comment.