From 232b4f3aadd433c688503c9ded99dadada1463b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 26 Jan 2023 17:17:37 +0100 Subject: updating --- etc/portage/make.conf | 4 ++-- root/posodobi.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/portage/make.conf b/etc/portage/make.conf index bba8e78..9126823 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -2,7 +2,7 @@ PORTAGE_SCHEDULING_POLICY="idle" # -march=native NE SME BITI NA distcc iz očitnih razlogov # uporabi resolve-march-native -COMMON_FLAGS="-ggdb3 -O2 -pipe `resolve-march-native`" +COMMON_FLAGS="-ggdb3 -O2 -pipe $(resolve-march-native)" # -pipe rabi RAM CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" @@ -17,7 +17,7 @@ PKGDIR="/var/cache/binpkgs" # This sets the language of build output to English. # Please keep this setting intact when reporting bugs. LC_MESSAGES=C -MAKEOPTS="-j`nproc` -l`nproc`" +MAKEOPTS="-j$(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 diff --git a/root/posodobi.sh b/root/posodobi.sh index 3d0cdf6..8d2d4cd 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e f= -grep "--no-sync" <<<"@$" || emaint sync --auto -grep "--no-ask" <<<"@$" || f=--ask +grep "no-sync" <<<"$@" || emaint sync --auto +grep "no-ask" <<<"$@" || f=--ask emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep @world emerge @preserved-rebuild emerge --depclean -- cgit v1.2.3