From cddb1796395408b980f267a1ff40788c39bdfc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 17 May 2023 22:44:45 +0200 Subject: mju laptop: kernel: wifi, nvme. dracut for fw, portage config --- etc/dracut.conf.d/anton.conf | 1 + etc/portage/make.conf | 7 ++++--- etc/portage/package.use/conf | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 etc/dracut.conf.d/anton.conf (limited to 'etc') diff --git a/etc/dracut.conf.d/anton.conf b/etc/dracut.conf.d/anton.conf new file mode 100644 index 0000000..f4bfd29 --- /dev/null +++ b/etc/dracut.conf.d/anton.conf @@ -0,0 +1 @@ +install_items="/lib/firmware/regulatory.db /lib/firmware/regulatory.db.p7s /lib/firmware/i915/tgl_dmc_ver2_12.bin /lib/firmware/intel/ibt-19-0-4.sfi /lib/firmware/intel/ibt-19-0-4.ddc /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode" diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 640f85d..95c6b08 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -1,6 +1,7 @@ +VIDEO_CARDS="intel" CONFIG_PROTECT_MASK="/etc/portage/package.use/zz-autounmask" PORTAGE_SCHEDULING_POLICY="idle" -COMMON_FLAGS="-ggdb3 -O2 -pipe -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32" # intersection of varovalka and b +COMMON_FLAGS="-ggdb3 -O2 -pipe $([ `hostname` = c ] && echo -march=native || echo -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32)" # intersection of varovalka and b CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" FCFLAGS="${COMMON_FLAGS}" @@ -14,7 +15,7 @@ PKGDIR="/var/cache/binpkgs" LC_MESSAGES=C # I only have one machine in distcc hosts ATM -MAKEOPTS="-j$(ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)" +MAKEOPTS="-j$([ `hostname` != c ] && ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" # mirrorselect -i -o >> /etc/portage/make.conf @@ -74,7 +75,7 @@ SIGNED_OFF_BY="Anton Luka Šijanec " L10N="sl en de hr si" -FEATURES="nostrip distcc getbinpkg buildpkg" +FEATURES="nostrip $([ `hostname` != c ] && echo distcc getbinpkg buildpkg)" PHP_TARGETS="php8-1" BINPKG_FORMAT="gpkg" INPUT_DEVICES="wacom libinput" diff --git a/etc/portage/package.use/conf b/etc/portage/package.use/conf index 4ae4986..20c77e5 100644 --- a/etc/portage/package.use/conf +++ b/etc/portage/package.use/conf @@ -1,5 +1,5 @@ # media-libs/libsndfile minimal -media-libs/opencv contrib +media-libs/opencv contrib -examples # media-sound/mpg123 -pulseaudio # media-libs/libsdl2 -pulseaudio media-libs/opencolorio -opengl -- cgit v1.2.3