#29 Another big pruning pass
Merged 6 years ago by otaylor. Opened 6 years ago by walters.
walters/workstation-ostree-config another-pruning-pass  into  master

Remove snappy
Colin Walters • 6 years ago  
Remove syslinux
Colin Walters • 6 years ago  
Remove rpm-plugin-systemd-inhibit
Colin Walters • 6 years ago  
Remove all Python bindings
Colin Walters • 6 years ago  
Remove shared libraries
Colin Walters • 6 years ago  
Remove augeas-libs
Colin Walters • 6 years ago  
@@ -54,7 +54,6 @@ 

  		"atomic",

  		"attr",

  		"audit",

- 		"augeas-libs",

  		"authconfig",

  		"avahi",

  		"b43-fwcutter",
@@ -65,8 +64,6 @@ 

  		"bash-completion",

  		"bc",

  		"bcache-tools",

- 		"bind-libs",

- 		"bind-libs-lite",

  		"bind-license",

  		"bind-utils",

  		"bluez-cups",
@@ -78,7 +75,6 @@ 

  		"cheese",

  		"chrony",

  		"cifs-utils",

- 		"clutter-gst2",

  		"control-center",

  		"coreutils",

  		"crda",
@@ -87,13 +83,11 @@ 

  		"cups-client",

  		"cups-filesystem",

  		"cups-filters",

- 		"cups-filters-libs",

  		"curl",

  		"dejavu-sans-fonts",

  		"dejavu-sans-mono-fonts",

  		"dejavu-serif-fonts",

  		"device-mapper-multipath",

- 		"device-mapper-multipath-libs",

  		"dmidecode",

  		"dmraid",

  		"dmraid-events",
@@ -131,11 +125,6 @@ 

  		"glibc",

  		"glibc-langpack-en",

  		"glib-networking",

- 		"glusterfs",

- 		"glusterfs-api",

- 		"glusterfs-client-xlators",

- 		"glusterfs-fuse",

- 		"glusterfs-libs",

  		"gnome-abrt",

  		"gnome-backgrounds",

  		"gnome-bluetooth",
@@ -179,12 +168,10 @@ 

  		"google-noto-sans-tagalog-fonts",

  		"google-noto-sans-tai-tham-fonts",

  		"google-noto-sans-tai-viet-fonts",

- 		"gperftools-libs",

  		"grub2",

  		"grub2-efi",

  		"gutenprint",

  		"gutenprint-cups",

- 		"gutenprint-libs",

  		"gvfs-afc",

  		"gvfs-afp",

  		"gvfs-archive",
@@ -219,12 +206,10 @@ 

  		"initscripts",

  		"iproute",

  		"ipset",

- 		"ipset-libs",

  		"iptstate",

  		"iputils",

  		"ipw2100-firmware",

  		"ipw2200-firmware",

- 		"ipxe-roms-qemu",

  		"isomd5sum",

  		"iw",

  		"iwl1000-firmware",
@@ -243,7 +228,6 @@ 

  		"iwl6000g2b-firmware",

  		"iwl6050-firmware",

  		"iwl7260-firmware",

- 		"jansson",

  		"jomolhari-fonts",

  		"jwhois",

  		"kbd",
@@ -259,84 +243,12 @@ 

  		"langtable-data",

  		"langtable-python3",

  		"less",

- 		"libabw",

- 		"libbabeltrace",

- 		"libblockdev",

- 		"libblockdev-btrfs",

- 		"libblockdev-crypto",

- 		"libblockdev-dm",

- 		"libblockdev-kbd",

- 		"libblockdev-loop",

- 		"libblockdev-lvm",

- 		"libblockdev-mdraid",

- 		"libblockdev-mpath",

- 		"libblockdev-plugins-all",

- 		"libblockdev-swap",

- 		"libblockdev-utils",

  		"libcanberra-gtk2",

  		"libcanberra-gtk3",

- 		"libcdr",

- 		"libcomps",

- 		"libconfig",

- 		"libcryptui",

- 		"libdhash",

- 		"libdmx",

- 		"libdnet",

- 		"libe-book",

  		"libertas-usb8388-firmware",

- 		"libetonyek",

- 		"libfdt",

- 		"libfreehand",

- 		"libgexiv2",

- 		"libgnome-keyring",

- 		"libgovirt",

- 		"libgpod",

- 		"libhangul",

- 		"libibverbs",

- 		"libidn2",

- 		"libipa_hbac",

- 		"libipt",

- 		"libiscsi",

- 		"libkkc",

- 		"libkkc-common",

- 		"libkkc-data",

- 		"libmng",

- 		"libmspack",

- 		"libmspub",

- 		"libmwaw",

- 		"libmx",

- 		"libnl3-cli",

- 		"liborcus",

- 		"libpagemaker",

- 		"libpinyin",

- 		"libpinyin-data",

  		"libproxy-mozjs",

- 		"libqb",

- 		"librados2",

- 		"LibRaw",

- 		"librbd1",

- 		"librdmacm",

- 		"libreport",

- 		"libreport-anaconda",

- 		"libreport-cli",

- 		"libreport-fedora",

- 		"libreport-gtk",

- 		"libreport-plugin-bugzilla",

- 		"libreport-plugin-kerneloops",

- 		"libreport-plugin-logger",

- 		"libreport-plugin-reportuploader",

- 		"libreport-plugin-ureport",

- 		"libreport-python3",

- 		"libreport-web",

- 		"librsvg2",

- 		"libsamplerate",

- 		"libsane-hpaio",

  		"libsss_idmap",

  		"libsss_nss_idmap",

- 		"libtar",

- 		"libteam",

- 		"libtimezonemap",

- 		"libusal",

  		"libvirt-daemon",

  		"libvirt-daemon-driver-interface",

  		"libvirt-daemon-driver-network",
@@ -349,15 +261,7 @@ 

  		"libvirt-gconfig",

  		"libvirt-glib",

  		"libvirt-gobject",

- 		"libvisio",

- 		"libwpd",

- 		"libwpg",

- 		"libwps",

- 		"libwsman1",

- 		"libwvstreams",

  		"libXxf86dga",

- 		"libzhuyin",

- 		"libzhuyin-data",

  		"lklug-fonts",

  		"lldpad",

  		"logrotate",
@@ -395,7 +299,6 @@ 

  		"nautilus-sendto",

  		"naver-nanum-fonts-common",

  		"naver-nanum-gothic-fonts",

- 		"netcf-libs",

  		"NetworkManager",

  		"NetworkManager-adsl",

  		"NetworkManager-bluetooth",
@@ -411,7 +314,6 @@ 

  		"nss-altfiles",

  		"nss-mdns",

  		"nss-softokn-freebl",

- 		"numactl-libs",

  		"numad",

  		"opencc",

  		"openssh-clients",
@@ -423,16 +325,13 @@ 

  		"paktype-naskh-basic-fonts",

  		"pam_krb5",

  		"paps",

- 		"paps-libs",

  		"paratype-pt-sans-fonts",

  		"passwd",

  		"passwdqc",

  		"passwdqc-lib",

  		"pciutils",

- 		"pciutils-libs",

  		"pinfo",

  		"plymouth",

- 		"plymouth-graphics-libs",

  		"plymouth-plugin-label",

  		"plymouth-plugin-two-step",

  		"plymouth-system-theme",
@@ -442,64 +341,24 @@ 

  		"poppler-utils",

  		"procps-ng",

  		"psacct",

- 		"python3-augeas",

- 		"python3-beaker",

- 		"python3-blivet",

- 		"python3-blockdev",

- 		"python3-coverage",

- 		"python3-cups",

- 		"python3-decorator",

- 		"python3-dmidecode",

- 		"python3-enchant",

- 		"python3-firewall",

- 		"python3-hawkey",

- 		"python3-humanize",

- 		"python3-iniparse",

- 		"python3-inotify",

- 		"python3-iscsi-initiator-utils",

- 		"python3-kickstart",

- 		"python3-libcomps",

- 		"python3-librepo",

- 		"python3-mako",

- 		"python3-meh",

- 		"python3-meh-gui",

- 		"python3-ntplib",

- 		"python3-ordered-set",

- 		"python3-pid",

- 		"python3-pillow",

- 		"python3-pwquality",

- 		"python3-pycurl",

- 		"python3-pyparted",

- 		"python3-pytz",

- 		"python3-pyudev",

- 		"python3-requests-file",

- 		"python3-requests-ftp",

- 		"python3-slip",

- 		"python3-slip-dbus",

- 		"python3-systemd",

  		"qemu-common",

  		"qemu-guest-agent",

  		"qemu-img",

  		"qemu-kvm",

  		"qemu-system-x86",

  		"qgnomeplatform",

- 		"qpdf-libs",

  		"radvd",

  		"rdist",

  		"rng-tools",

  		"rootfiles",

  		"rpm",

  		"rpm-ostree",

- 		"rpm-plugin-systemd-inhibit",

  		"rp-pppoe",

  		"rsync",

  		"rygel",

  		"samba-client",

- 		"samba-common-libs",

  		"sane-backends-drivers-scanners",

- 		"satyr",

  		"scl-utils",

- 		"SDL2",

  		"seabios-bin",

  		"seavgabios-bin",

  		"selinux-policy-targeted",
@@ -508,7 +367,6 @@ 

  		"setroubleshoot-server",

  		"setup",

  		"setuptool",

- 		"sg3_utils-libs",

  		"sgabios-bin",

  		"sgpio",

  		"shadow-utils",
@@ -521,7 +379,6 @@ 

  		"skkdic",

  		"smc-fonts-common",

  		"smc-meera-fonts",

- 		"snappy",

  		"sos",

  		"spice-server",

  		"spice-vdagent",
@@ -538,11 +395,6 @@ 

  		"sudo",

  		"sushi",

  		"symlinks",

- 		"syslinux",

- 		"syslinux-extlinux",

- 		"syslinux-extlinux-nonlinux",

- 		"syslinux-nonlinux",

- 		"system-config-printer-libs",

  		"system-config-printer-udev",

  		"systemd",

  		"tabish-eeyek-fonts",
@@ -568,7 +420,6 @@ 

  		"vim-minimal",

  		"virglrenderer",

  		"vlgothic-fonts",

- 		"volume_key-libs",

  		"wget",

  		"which",

  		"wireless-tools",
@@ -581,7 +432,6 @@ 

  		"xcb-util-wm",

  		"xdg-user-dirs-gtk",

  		"xdg-utils",

- 		"xen-libs",

  		"xen-licenses",

  		"xfsprogs",

  		"xorg-x11-drv-ati",

See the commits for rationale.

This ended up in the commit about syslinux

Removing deps (shared libraries, python libraries) is definitely a big maintenance improvement for the config file and will help keep things working.

I'm not really on-board with removing random apps and command line utilities - I think that the set of apps and command line utilities should pretty much be kept in sync with the default workstation install - if we don't want wvdial here, we don't want it in the default workstation install.

rebased

6 years ago
<walters> otaylor, https://pagure.io/workstation-ostree-config/pull-request/29
<mclasen> can we decouple the questions  of what should be in the image and what should be installed by default ? ie could we remove cheese from the image, and still install it by default (as a flatpak) ?
<mclasen> most of these are uncontroversial, I think
<walters> we clearly should be able to bake in flatpaks by default, it might not be hard to do but it's not entirely straightforward either
<walters> one problem it instantly raises is: flatpaks from where?
<mclasen> I would think all except for the desktop apps are fine to just push
<mclasen> right
<walters> so you're saying rebase without the desktop apps patch for now?
<walters> not opposed to that...we are going to have some issues until gnome-software learns to speak to rpm-ostree for package layering instead of PK
<mclasen> yeah
<mclasen> kalev-afk: how's that looking ? (g-s speaking rpm-ostreed)
<otaylor> walters: I think the ostree image needs to have the same apps as the default workstation install until we have some way of doing flatpaks-by-default
<otaylor> walters: does abrt not work with rpm-ostree or is it removed in your pr because you feel it's (generally) not useful?
<walters> otaylor, one thing that we will have to reconcile is the "same workstation, just rpm-ostree" versus "atomicws"
<walters> a major subpoint of that being "no devel tools on host"
<otaylor> We don't really have devel tools in the dfeault workstation install
<otaylor> I dont' expect the workstation we ship to be the *only* possible workstation ostree - it should be something that is comfortable to use out of the box without having to install a bunch of flatpaks or layer
<otaylor> That means that it's going to have some things which are don't seem like "core"
<walters> hmm, i thought there were but it does look like in comps `developer-workstation-environment` is indeed separate
<walters> i guess my perspective is; we're not going to have something that feels polished out of the box in the short term
<otaylor> For the developer side, definitely
<walters> i'm more concerned about keeping the groundwork going and fixing basic bugs
<otaylor> For a user, I don't really see why not
<otaylor> (depending what you mean  by short-term)
<walters> f26 = short term
<otaylor> walters: the lack of flatpaks definitely means that f26 it's not going to be polished out of the box
<walters> well...AFAIK every desktop app should be `rpm-ostree install` able
<otaylor> (also the lack of gnome-software rpm-ostree integration)
<walters> yeah *that* is going to be a major polish hit
<walters> but on the other hand, the default host upgrade command won't delete all the files underneath your running apps and break them
<walters> on abrt...i was more sync'ing with what's in atomic-ws
<walters> basically with the concept of keeping the host small by default
<walters> abrt does a lot of things and clearly crash telemetry is very valuable
<walters> so...i'm ok keeping it
<walters> i'll redo the pr with apps and abrt retained then
<otaylor> walters: I would also argue that separately maintaining the set of command line utilities here as compared to the workstation default install is not something I want to do - if wvdial is no longer useful, I don't want to decide that *separately* for the ostree configuration
<otaylor> I suppose the argument really is that we shouldn't be maintaining comps and the live image ks and this file separately to begin with...
<walters> i.e. https://github.com/projectatomic/rpm-ostree/issues/744 ?
<walters> yes...but i dunno
<walters> i guess my perspective here is any work curating in comps is mostly meaningless
<walters> since once you've installed and installed/removed things and upgraded for a few releases, the whole system has degraded into a big bag of packages
<walters> whether you have telnet or not...who knows
<otaylor> well, but if we can repurpose that work as the work of curating the ostree image, then suddenly you can no longer say that
<walters> yes
<otaylor> And we don't have some meaningless task that we still have to keep on doing until we abandon traditional installs
<otaylor> Also, if the comps and the rpm-ostree aren't in sync, the build breaks
<otaylor> See my attempt to backport the atomic+docker additions from rawhide to f26...
<walters> hm, there actually is a lot more activity in comps than i thought there'd be
<walters> for workstation
<walters> hm?  I think the main thing that actually failed composes was the explicitly specified library deps
<otaylor> I can't say what the main thing is - but because the workstation ostree is composed against the workstation yum repository, if you try to add something to the rpm-ostree config that isn't in workstation comps, it breaks
<otaylor> https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170518.n.0/logs/x86_64/ostree/ostree-3/create-ostree-repo.log
<walters> oh, that
<walters> yeah that's going to be problematic
<walters> oh i see, workstation-ostree-support
<walters> wow
<walters> https://pagure.io/workstation-ostree-config/issue/26#comment-440880

Pull-Request has been merged by otaylor

6 years ago
Metadata