From 187b733fe03876fa03eb77fa690ac1c3c6d726a8 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 18 Sep 2013 23:36:50 -0700 Subject: [PATCH] Various config tweaks, move local use and makeopts into profile.d --- conf/portage/make.conf | 2 +- conf/portage/package.keywords | 11 +++++++---- conf/portage/package.mask | 0 conf/portage/package.use | 3 ++- scripts/make_kernel.sh | 4 +--- scripts/portage_env.sh | 19 +++++++++++++++++++ scripts/setup_box.sh | 2 +- scripts/update_box.sh | 27 ++++++--------------------- 8 files changed, 37 insertions(+), 31 deletions(-) create mode 100644 conf/portage/package.mask create mode 100644 scripts/portage_env.sh diff --git a/conf/portage/make.conf b/conf/portage/make.conf index 1c0b422..88c965c 100644 --- a/conf/portage/make.conf +++ b/conf/portage/make.conf @@ -18,7 +18,7 @@ CHOST="x86_64-pc-linux-gnu" DO_USE="smp" # X -DO_USE="${DO_USE} qt3support cairo gtk gtk3 gles2 gstreamer g3dvl imlib libkms nvidia vaapi vdpau libkms X xcb opencl opengl s3tc truetype vaapi xcomposite" +DO_USE="${DO_USE} cairo gtk gtk3 gles2 gstreamer g3dvl imlib libkms nvidia qt4 qt3support vaapi vdpau libkms X xcb opencl opengl s3tc truetype vaapi xcomposite" # OpenBox DO_USE="${DO_USE} thunar" diff --git a/conf/portage/package.keywords b/conf/portage/package.keywords index 5dffa0c..0c9cfb0 100644 --- a/conf/portage/package.keywords +++ b/conf/portage/package.keywords @@ -1,7 +1,8 @@ # Base sys-boot/grub sys-fs/cryptsetup -sys-kernel/dracut + /dev/null # Half as many emerge as CPUs, to speed up configure runs +CPUS=$(nproc) emerge --ask --update --deep --newuse --keep-going --accept-properties=-interactive --jobs $((CPUS/2)) world # echo "Fixing pax flags..." @@ -35,6 +15,11 @@ emerge --ask --update --deep --newuse --keep-going --accept-properties=-interact echo "Going to remove unneeded packages ..." emerge --depclean +if [ -x $(which localepurge) ]; then + echo "Removing unneeded locales..." + localepurge +fi + echo "Fixing dependencies..." revdep-rebuild -i