Sandro Posted October 25, 2015 Report Share Posted October 25, 2015 Hi. from a 3 / 4 months, after using genkernel i must run a "make clean" in /usr/stc/linux. This also if i use the --postclear or if i set (boolean) in genkernel.conf POSTCLEAR="1" Once terminated, i've with df -h 26 GiB used in filesystem root ___________________________________________________________________________ sandro@ci74771ht ~ $ df -h File system Dim. Usati Dispon. Uso% Montato su udev 10M 0 10M 0% /dev /dev/sda6 30G 26G 2,4G 92% / tmpfs 1,6G 864K 1,6G 1% /run cgroup_root 10M 0 10M 0% /sys/fs/cgroup shm 7,9G 1,2G 6,7G 15% /dev/shm /dev/sdb2 246G 51G 184G 22% /home /dev/sdb1 550G 322G 229G 59% /mnt/Volume /dev/sda3 120M 24M 88M 21% /boot ___________________________________________________________________________ giving "make clean" df -h tell me: sandro@ci74771ht ~ $ df -h File system Dim. Usati Dispon. Uso% Montato su udev 10M 0 10M 0% /dev /dev/sda6 30G 18G 11G 62% / tmpfs 1,6G 864K 1,6G 1% /run cgroup_root 10M 0 10M 0% /sys/fs/cgroup shm 7,9G 1,2G 6,7G 15% /dev/shm /dev/sdb2 246G 51G 184G 22% /home /dev/sdb1 550G 322G 229G 59% /mnt/Volume /dev/sda3 120M 24M 88M 21% /boot ____________________________________________________________________________ Then 8 GiB of freed space. I don't know how to think about this .... :| excuse me and thank you for explanations. Hello to All :) Link to comment Share on other sites More sharing options...
cardinal Posted October 25, 2015 Report Share Posted October 25, 2015 I could not find anywhere in the genkernel code where enabling "POSTCLEAR=1" runs "make clean" in /usr/src/linux http://git.funtoo.org/genkernel/tree/doc/genkernel.8.txt#n337*--*[*no-*]*postclear*::Clears or skips clearing all tmp files and caches after genkernel has run.Default locations for genkernels tmp and cache directorys.TMPDIR="/var/tmp/genkernel"CACHE_DIR="/var/cache/genkernel"Run genkernel with log/debug options enabled. *--loglevel*=<0-5>:: This controls the out verbosity level of genkernel output - if this is set to 0, minimal debugging is done; if this is set to 5 as much output as possible is given. *--logfile*=<outfile>:: This outputs debugging data to the file <outfile>. By default this is '/var/log/genkernel.log'. It will output what it defines as CACHE_DIR and TMPDIR"CACHE_DIR: ${CACHE_DIR}""TMPDIR: ${TMPDIR}" Genkernel script: http://git.funtoo.org/genkernel/tree/genkernel#n62 if isTrue ${POSTCLEAR} then echo print_info 1 'RUNNING FINAL CACHE/TMP CLEANUP' print_info 1 "CACHE_DIR: ${CACHE_DIR}" CLEAR_CACHE_DIR='yes' setup_cache_dir echo print_info 1 "TMPDIR: ${TMPDIR}" clear_tmpdir fi Link to comment Share on other sites More sharing options...
Sandro Posted October 25, 2015 Author Report Share Posted October 25, 2015 But .... may be a good idea to insert in genkernel the possibility to runs make clean after kernel & initramfs compilation ? I can Try to use /dev/shm ....... I'll tell to You the results. For example debian-sources wants 14 GiB. Now I make some experiment !!!! Then I reports if i've issues. Thank You :) Link to comment Share on other sites More sharing options...
Recommended Posts