Skip to content

Commit

Permalink
FL-2484: remove more leftover packages in containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Vinichenko committed Dec 21, 2015
1 parent 5b5d70b commit 921d501
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions targets/gentoo/steps/container.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ for x in $(ls /var/db/pkg/sys-kernel | grep -v linux-headers); do
emerge -C =sys-kernel/$x
done

# Remove more leftover ebuilds that merged with debian-sources and which make no sense to have inside containers. This fixes lvm2 auto-start in OpenVZ. #FL-2484

for y in mdadm lvm2 cryptsetup; do
emerge -C sys-fs/$y
done

if [ -e $TMPDIR/etc/conf.d/rc ]
then
echo "You appear to be using a Gentoo (non-OpenRC) stage. This target only supports"
Expand Down

0 comments on commit 921d501

Please sign in to comment.