Fix software properties

This commit is contained in:
Luis Guzmán 2021-11-16 03:51:21 +00:00
parent a6b8901529
commit fc05e6d767
2 changed files with 36 additions and 9 deletions

View file

@ -49,6 +49,9 @@ cat << EOF | patch -p1
debsrc_line = debsrc_entry_type + deb_line[3:]
EOF
patch -p1 < $DATA/remove_livepatch_from_gtk_uiv1_1.patch
patch -p1 < $DATA/disable-livepatch.patch
sed '/UbuntuDrivers/d' -i softwareproperties/gtk/SoftwarePropertiesGtk.py
sed '/vbox_drivers/,+1 s/True/False/' -i data/gtkbuilder/main.ui
@ -69,8 +72,6 @@ rm -rf tests
sed '/gir1.2-snapd-1/d' -i debian/control
sed '/self.init_livepatch/d' -i softwareproperties/gtk/SoftwarePropertiesGtk.py
patch -p0 < $DATA/remove_livepatch_from_gtk_ui.patch
patch -p1 < $DATA/disable-livepatch.patch
sed 's/status = self.get_status()/status = Snapd.SnapStatus.UNKNOWN/' -i softwareproperties/LivepatchSnap.py
rm data/software-properties-drivers.desktop.in