diff --git a/scripts/make_kernel.sh b/scripts/make_kernel.sh index 0065f4b..4cc3275 100755 --- a/scripts/make_kernel.sh +++ b/scripts/make_kernel.sh @@ -14,9 +14,9 @@ make install cp /usr/src/linux/.config /etc/kernels/kernel-config-${NEW} -# rm -f /boot/*.previous +# rm -f /boot/*.old if [ -f "/boot/initrd-${NEW}" ] ; then - mv "/boot/initrd-${NEW}" "/boot/initrd-${NEW}.previous" + mv "/boot/initrd-${NEW}" "/boot/initrd-${NEW}.old" fi dracut -H --force --strip /boot/initrd-${NEW} ${NEW} diff --git a/scripts/update_portage.sh b/scripts/update_portage.sh index 10d4c21..9a4f80a 100755 --- a/scripts/update_portage.sh +++ b/scripts/update_portage.sh @@ -9,7 +9,7 @@ layman -q -S # Delete any package mask [ -f ${PORTAGE}/profiles/hardened/linux/amd64/package.mask ] && rm -f ${PORTAGE}/profiles/hardened/linux/amd64/package.mask # Reenable nvidia -perl -i -p -e 's/^(x11-drivers\/nvidia|nvidia|video_cards_nvidia|vdpau|cuda|opencl)/# $1/;' ${PORTAGE}/profiles/hardened/linux/use.mask ${PORTAGE}/profiles/hardened/linux/amd64/use.mask ${PORTAGE}/profiles/hardened/linux/amd64/package.use.mask +perl -i -p -e 's/^(app-admin\/conky nvidia|x11-drivers\/nvidia|nvidia|video_cards_nvidia|vdpau|cuda|opencl)/# $1/;' ${PORTAGE}/profiles/hardened/linux/use.mask ${PORTAGE}/profiles/hardened/linux/amd64/use.mask ${PORTAGE}/profiles/hardened/linux/amd64/package.use.mask # echo "Cleaning up archives.." eclean -q packages