summaryrefslogtreecommitdiff
path: root/virtual/miller-base
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-07-20 00:42:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-07-20 00:49:19 +0100
commite5e323ee0eb787fc2e16e28161b05a1fd66d5048 (patch)
tree3062f0617cee7d7417b429b84895405ab93372ff /virtual/miller-base
parentEnable harfbuzz (diff)
downloadportage-e5e323ee0eb787fc2e16e28161b05a1fd66d5048.tar.bz2
portage-e5e323ee0eb787fc2e16e28161b05a1fd66d5048.tar.xz
portage-e5e323ee0eb787fc2e16e28161b05a1fd66d5048.zip
Better av-scan script and pull in time package
Diffstat (limited to 'virtual/miller-base')
-rw-r--r--virtual/miller-base/Manifest4
-rwxr-xr-xvirtual/miller-base/files/weekly-av-scan.cron11
-rw-r--r--virtual/miller-base/miller-base-10.10.6.ebuild (renamed from virtual/miller-base/miller-base-10.10.5.ebuild)1
3 files changed, 12 insertions, 4 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest
index c455c1c..483d1c3 100644
--- a/virtual/miller-base/Manifest
+++ b/virtual/miller-base/Manifest
@@ -10,6 +10,6 @@ AUX tmpfiles-d-portage.conf 82 BLAKE2B b6c6186e5d4eaa5510d9c072a1d4f54f928bbe621
AUX update-autoshutdown 93 BLAKE2B 399eb628b98f8f5846dd1611226de158c5003d9184047c15d50f823702039e4cc803b2f82711899b6d3c80fcd4d5e631acde8eb09ec5115d2428d93713087064 SHA512 4a08701deb2f6ff98225b49bfd498a81f73bc1c7956cfdf6239cd7aadca5cbef0086bc0d8834f861640b0d4ab0ab4d90777abe1da3b116e4e84d69a3dc8a2a46
AUX update-install2 683 BLAKE2B 22d9b0ee5bf4af8f0ababf8228d1d0b72f52d63eb9c513fa8108429ec833d48064c6a74f4c393cc8008b7d3d4f9ac7ba5c2ad22e2d623d4e3e3ed319e681bde3 SHA512 64895037bb13f59a255c75f852249ff1d23088e9b4faf7e908f9f112a1ce30ce9efe9fc568836da43cddc3c3f906f6c92c62642fd17bc19b74689632c03403b1
AUX update.portage.cron-2 48 BLAKE2B 3dfc6ccfc76500300af4c08eab46f309817fe1b50d0aceaad14e05f73fec23146eb9dcedb53c3db78b222f80530fde7533052253fad80eca0f9c6831ad939955 SHA512 431d8ed50c2fc6d4b0e9e3550e4ba5d8320595961c6dab14820ae7b5abd39bf63cb6afb99724f2b4aebb2c0cf14b46927d2abecb6d9509db158000b8ea6a97b8
-AUX weekly-av-scan.cron 1682 BLAKE2B a981abccc76a0a4c67cf68698c5aeda7843fab549fee343f8fcde5576fb0c2c726410ed90094e4fc651f74095a20263dbd44e936bf90981bbd5d5b718db4a670 SHA512 4f1416c2aa40757cf622e54c6b89ecb90cd80eb294d62ff06dc1262540a28d62f0df230b83b4e8e70c688628d537ffa8e2198a5e9e58f738d75ac039dbc3719f
+AUX weekly-av-scan.cron 1788 BLAKE2B 2c5b9394f18e882971ea883639fdcfc24cda342a6e63f166fe737a3d09e32de42b5b960f80c676994e8f8471d76b21d61cf5bfe7148eb8284d84407da8ebd5aa SHA512 ef2168213d81ce0db8eed96adf48e362f0e620ba509728beb97a5809c1f82443be356c01b7c645a7baf5cee1939d3db1f42940824b4a1a9ad8fd451d899c9179
AUX write-new-updates 479 BLAKE2B f5ae0a84219a9d60ba3af43000c0ed1489d26868c51893a40fe0a40da80fcf721bdc540d07c17021cc06a216908b7ddac7736dfab9783853de7a75315705cf62 SHA512 b84f0bc0259c0986f136282475462165eb69c6bb766640089f64027233f9bb4faf4ae91b2aa0227791e0df542b75a5c50ab9a3bc33d8162a3ed53273cb24e182
-EBUILD miller-base-10.10.5.ebuild 3751 BLAKE2B 60a4bc95aff4a002b2977f6a370fe3c0153da46c23f9cde5fdacfbb78ec0f5c30b27de0e3bb06baf2cbc8c696278c6f7588c58a4fff87910064110f5183cef15 SHA512 f860023fc265cee6df3f4b4ecf5075f1c973425816957bba56f4b4c99a7d53c27d05b4e85df473bceda41cd3ea3967e83d7174a4f34a4245983bfb6191edfeba
+EBUILD miller-base-10.10.6.ebuild 3769 BLAKE2B 5d5eaa6c519f0b3a541f2b5a4326e4d65fadcb6d15bad7b21600a4f858cc6b10b285a0accf183eba50dac9b9b3095c0013689a978f6c9e10aa571857183e57f6 SHA512 1befa37bcfd79faa49380159756b3388eb619520cdd429e856e71bb16b05f61d38e15644323cf6baaaaafea3c0cce21bf0a9ca734491afeea232f4370bbbf04d
diff --git a/virtual/miller-base/files/weekly-av-scan.cron b/virtual/miller-base/files/weekly-av-scan.cron
index 40cbb08..4690b7a 100755
--- a/virtual/miller-base/files/weekly-av-scan.cron
+++ b/virtual/miller-base/files/weekly-av-scan.cron
@@ -12,6 +12,11 @@ fi
if [ $$ == 1 ]; then
echo "Running in private namespace."
echo
+
+ echo "Umounting by request..."
+ umount -nrl ${UNMOUNT}
+ echo
+
echo "Remounting devices with noatime..."
grep '^/dev/' /proc/mounts | cut -d ' ' -f 2 | xargs -n1 mount -n -o remount,noatime
echo
@@ -20,15 +25,17 @@ if [ $$ == 1 ]; then
grep -v '\(^/dev/\|/run \)' /proc/mounts | cut -d ' ' -f 2 | sort -ru | xargs umount -nrl
echo
- df -Th
+ df -Th --total
echo
- grep -vw noatime /proc/mounts
+ grep -vw noatime /proc/mounts | column -t
echo
declare -a EXCL
declare -A M
EXCL=(
+ /dev
+ ${EXCLUDE}
$(find /var/lib/machines/ -maxdepth 2 -name dev -type d)
$(portageq distdir)
$(portageq pkgdir)
diff --git a/virtual/miller-base/miller-base-10.10.5.ebuild b/virtual/miller-base/miller-base-10.10.6.ebuild
index 2cd3fd2..d42f0b6 100644
--- a/virtual/miller-base/miller-base-10.10.5.ebuild
+++ b/virtual/miller-base/miller-base-10.10.6.ebuild
@@ -13,6 +13,7 @@ RDEPEND="
app-arch/hardlink
sys-process/htop
sys-process/iotop
+ sys-process/time
sys-apps/less
fuse? ( net-fs/sshfs )
!ischroot? (