Skip to content

Commit

Permalink
Add distfiles remove at end.
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0d1r2 committed Nov 29, 2011
1 parent 682ab51 commit 3e510cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/gentoo-latest-x86_64-experimental/postinstall.sh
Expand Up @@ -205,6 +205,9 @@ cat <<EOF | chroot /mnt/gentoo /bin/bash -
rc-update add vboxadd default
EOF

rm -rf /mnt/gentoo/usr/portage/distfiles
mkdir /mnt/gentoo/usr/portage/distfiles
echo "chown portage:portage /usr/portage/distfiles" | chroot /mnt/gentoo /bin/bash -

echo "sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 rc.vboxadd):' /etc/rc.conf" | chroot /mnt/gentoo sh -

Expand Down

0 comments on commit 3e510cd

Please sign in to comment.