diff --git a/helpers/DATA/software-properties/aramo_rm_livepatch.patch b/helpers/DATA/software-properties/aramo_rm_livepatch.patch new file mode 100644 index 0000000..f8afa78 --- /dev/null +++ b/helpers/DATA/software-properties/aramo_rm_livepatch.patch @@ -0,0 +1,398 @@ +--- data/gtkbuilder/main.ui 2022-07-08 00:34:50.006995542 +0000 ++++ data/gtkbuilder/main.ui.fix 2022-07-08 00:41:41.280173798 +0000 +@@ -1221,395 +1221,6 @@ + False + + +- +- +- True +- 12 +- vertical +- 12 +- +- +- False +- <b>Settings</b> +- True +- True +- 1 +- 0 +- +- +- +- +- True +- +- +- True +- 12 +- +- +- True +- Attach this machine +- +- +- +- +- False +- This machine is not covered by an Trisquel Pro subscription. Receive security updates for over 30,000 Trisquel packages, on up to 3 machines free for personal use: <a href="https://ubuntu.com/advantage">More information</a>. +- True +- True +- 90 +- 0 +- +- +- +- +- True +- This machine is not covered by an Trisquel Advantage subscription. +- True +- True +- 90 +- 0 +- +- +- +- +- +- +- True +- 12 +- +- +- True +- Detach this machine +- +- +- +- +- False +- Trisquel Pro subscription attached. +- 0 +- +- +- +- +- True +- Trisquel Advantage subscription attached. +- 0 +- +- +- +- +- +- +- +- +- False +- False +- <b>Services</b> +- True +- True +- 1 +- 0 +- +- +- +- +- True +- 12 +- False +- +- +- False +- start +- +- +- +- +- False +- vertical +- 6 +- +- +- True +- <b>Extended Security Maintenance</b> provides security updates for over 30,000 Trisquel packages. +- True +- +- +- +- +- False +- Could not enable Extended Security Maintenance. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- True +- 12 +- False +- +- +- True +- start +- +- +- +- +- True +- vertical +- 6 +- +- +- True +- <b>Livepatch</b> helps keep your system secure by applying security updates that don't require a restart. +- True +- 0 +- +- +- +- +- True +- Show Livepatch status in the top bar +- False +- start +- True +- +- +- +- +- False +- Could not enable Livepatch. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- False +- <b>Compliance &amp; Hardening</b> +- True +- 0 +- +- +- +- +- False +- Please read the documentation and only enable these settings if you specifically require these certifications. +- True +- 0 +- +- +- +- +- False +- +- +- True +- vertical +- 12 +- 18 +- +- +- True +- 12 +- False +- +- +- True +- start +- +- +- +- +- True +- vertical +- 6 +- +- +- True +- <b>FIPS 140-2 Level 1.</b> <a href="https://ubuntu.com/security/certifications#fips">FIPS documentation.</a> +- True +- 0 +- +- +- +- +- False +- Could not enable FIPS 140-2 Level 1. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- True +- 12 +- False +- +- +- True +- start +- +- +- +- +- True +- vertical +- 6 +- +- +- True +- <b>FIPS Updates.</b> <a href="https://ubuntu.com/security/certifications#fips-updates">FIPS Updates documentation.</a> +- True +- 0 +- +- +- +- +- False +- Could not enable FIPS Updates. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- True +- 12 +- False +- +- +- True +- start +- +- +- +- +- True +- vertical +- 6 +- +- +- True +- <b>CC-EAL2.</b> <a href="https://ubuntu.com/security/certifications#common-criteria">CC-EAL2 documentation.</a> +- True +- 0 +- +- +- +- +- False +- Could not enable CC-EAL2. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- True +- 12 +- False +- +- +- True +- start +- +- +- +- +- True +- vertical +- 6 +- +- +- True +- <b>CIS Tools.</b> <a href="https://ubuntu.com/security/certifications#cis-tools">CIS Tools documentation.</a> +- True +- 0 +- +- +- +- +- False +- Could not enable CIS Tools. Please try again. +- 0 +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- 6 +- +- +- +- +- True +- +- +- True +- False +- Livepatch +- +- +- +- +- False +- False +- Trisquel Pro +- +- +- +- +- 6 +- False +- +- + + + True diff --git a/helpers/make-software-properties b/helpers/make-software-properties index e8dfe87..3202623 100644 --- a/helpers/make-software-properties +++ b/helpers/make-software-properties @@ -2,8 +2,8 @@ # # Copyright (C) 2022 Luis Guzman # Copyright (C) 2011-2020 Ruben Rodriguez -# Copyright (C) 2011 Carlos Pais # Copyright (C) 2019 Mason Hock +# Copyright (C) 2011 Carlos Pais # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=6 +VERSION=8 . ./config @@ -53,8 +53,9 @@ EOF #Temporary removal of livepatch LP:1965993 #patch -p1 < $DATA/remove_livepatch_from_gtk_uiv1_1.patch #patch -p1 < $DATA/disable-livepatch.patch + rm softwareproperties/gtk/UbuntuProPage.py -patch -p0 < $DATA/remove_snap_label.patch +patch --no-backup-if-mismatch -p0 < $DATA/remove_snap_label.patch #Python specific changes cp $DATA/trisquel_info.py softwareproperties/gtk/ @@ -79,6 +80,7 @@ replace TrisquelDistribution UbuntuDistribution . sed '/NoDisplay/d; s/Trisquel/Ubuntu/' -i data/software-properties-gtk.desktop.in sed '/ubuntu-drivers-common/d' -i debian/control +sed '/ubuntu-advantage-desktop-daemon/d' -i debian/control sed '/software-properties-drivers/d' -i debian/software-properties-gtk.install setup.cfg replace "Trisquel-Gettext" "Ubuntu-Gettext" . @@ -104,6 +106,9 @@ sed -i '/software-properties-livepatch.desktop/s|^|#|' debian/software-propertie sed -i '/TrisquelProPage/d' softwareproperties/gtk/SoftwarePropertiesGtk.py sed -i '/init_ubuntu_pro/d' softwareproperties/gtk/SoftwarePropertiesGtk.py +#Livepatch - aramo +patch --no-backup-if-mismatch -p0 < $DATA/aramo_rm_livepatch.patch + changelog "Removed Ubuntu-specifc tests, Livepatch, Snap" compile