gentooup: debug output for saving current kernel functionality
This commit is contained in:
parent
629378937a
commit
30348485de
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ echo Started at "$STARTDATE"
|
|||
|
||||
#make sure that current kernel sources are kept:
|
||||
CURRENTKERNELVERSION="$(uname -r)"
|
||||
echo current installed kernel:"${CURRENTKERNELVERSION/"-gentoo"/}"
|
||||
emerge --no-replace gentoo-sources:"${CURRENTKERNELVERSION/"-gentoo"/}"
|
||||
emerge -a "${PORTAGE_OPTIONS[@]}" --depclean
|
||||
if [[ "$(grep -c gentoo-sources /var/lib/portage/world)" -gt 2 ]] ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue