Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
turning off unexpectly after upgrade to 4.12
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Sat Jan 06, 2018 5:24 am    Post subject: turning off unexpectly after upgrade to 4.12 Reply with quote

hi there
I changed gentoo-source to this for update grub :
Code:

Fujitsu /home/saeb # cat /etc/portage/env/sys-kernel/gentoo-sources
post_pkg_postinst() {
        CURRENT_KV=$(uname -r)

        # This assumes that the kernel ebuild was emerged with the
        # 'symlink' use flag set, so that /usr/src/linux points to the
        # newly emerged kernel.
        cp "${EROOT}/usr/src/linux-${CURRENT_KV}/.config" "${EROOT}/usr/src/linux"

        pushd .
        cd "${EROOT}/usr/src/linux"
        make olddefconfig
        popd

        genkernel all
        grub-install
        cp /boot/grub/grub.cfg /root/grub.cfg.`/usr/local/bin/jdate +%F`
        grub-mkconfig -o /boot/grub/grub.cfg
}

after Upgrading gentoo source , my maching turned off unexpectly, I dont know If changing hook made that or my laptop temperature ? do I need to remove grub command from hook?


Code:

 saeb@Fujitsu  ~  screenfetch
         -/oyddmdhs+:.                saeb@Fujitsu
     -odNMMMMMMMMNNmhy+-`             OS: Gentoo testing
   -yNMMMMMMMMMMMNNNmmdhy+-           Kernel: x86_64 Linux 4.14.11-gentoo-r2
 `omMMMMMMMMMMMMNmdmmmmddhhy/`        Uptime: 1h 48m
 omMMMMMMMMMMMNhhyyyohmdddhhhdo`      Packages: 1154
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+`    Shell: zsh 5.4.2
 oyhdmNMMMMMMMNdyooydmddddhhhhyhNd.   Resolution: 1366x768
  :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh   DE: XFCE4
    .:+sydNMMMMMNNNmmmdddhhhhhhmMmy   WM: Xfwm4
       /mMMMMMMNNNmmmdddhhhhhmMNhs:   WM Theme: Shiki-Dust
    `oNMMMMMMMNNNmmmddddhhdmMNhs+`    GTK Theme: Adwaita-dark [GTK2]
  `sNMMMMMMMMNNNmmmdddddmNMmhs/.      Icon Theme: Numix-Light
 /NMMMMMMMMNNNNmmmdddmNMNdso:`        Font: Sans 10
+MMMMMMMNNNNNmmmmdmNMNdso/-           CPU: Intel Core i7-3632QM @ 8x 3.2GHz [99.0°C]
yMMNNNNNNNmmmmmNNMmhs+/-`             GPU: intel
/hMMNNNNNNNNMNdhs++/-`                RAM: 2496MiB / 5811MiB
`/ohdmmddhys+++/:.`                 
  `-//////:--.                       
 saeb@Fujitsu  ~ 


why my os name is gentoo testing ?
_________________
I`m noob and I have a jillion question
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 732
Location: S.O. France

PostPosted: Mon Jan 08, 2018 11:28 am    Post subject: Reply with quote

Quote:
genkernel all

Have you modified the path of the .config in /etc/genkernel.conf?

Genkernel use its own config and not the .config in /usr/src/linux.

You have to specify it

Code:
genkernel --config=/usr/src/linux/.config all
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum