mkimage-profiles/features.in/slinux/rootfs/image-scripts.d/90-sl-cleanup-pkgs
Mikhail Efremov 109ffec8a1 slinux: Rename 90-cleanup-pkgs -> 90-sl-cleanup-pkgs
warning: file clash: live/image-scripts.d/90-cleanup-pkgs~
2020-05-22 13:34:36 +07:00

9 lines
244 B
Bash
Executable File

#!/bin/sh -efu
# remove unneeded packages
# FIXME: Dunno why these packages pulled to rootfs.
# They shouldn't.
list="$(rpmquery -a --qf='%{NAME}\n' systemd-networkd systemd-timesyncd)"
[ -z "$list" ] || apt-get remove -f -y -- $list
: