slinux: Remove sytemd-{networkd,tymesyncd} from rootfs

Dunno why these packages pulled to rootfs.
They are shouldn't.
This commit is contained in:
Mikhail Efremov 2019-12-13 18:47:53 +03:00 committed by Anton Midyukov
parent edd2392cbb
commit c18155e614

View File

@ -0,0 +1,8 @@
#!/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
: