[Share Experiences] 实现了每隔一段时间自动检测Linux内核版本是否更新,更新则打包
Tofloor
poster avatar
.(柯南)
deepin
2023-07-12 00:54
Author

Snipaste_2023-07-11_16-48-19.png

实现了每隔一段时间自动检测Linux内核版本是否更新,更新则打包;终于把内核打包自动化了。

Reply Favorite View the author
All Replies
一醉陶然
deepin
2023-07-12 00:56
#1

👍

Reply View the author
阿尼樱奈奈
Moderator
2023-07-12 00:57
#2

like

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-07-12 01:09
#3

我只能说牛皮👍

Reply View the author
186******75
deepin
2023-07-12 01:14
#4

能不能发现来,让大家看看效果了!能自己打包过去的老版本吗?这种打包对20.9里原有的驱动会不会自己添加进去呀?

Reply View the author
晚秋(lateautumn)
Moderator
2023-07-12 01:14
#5

太牛了,发现刚加入深度社区的一个比一个厉害like

Reply View the author
186******75
deepin
2023-07-12 01:17
#6

我一般在下载内核后的解包执行脚本就能自己安装,请大佬多多指教

#!/bin/bash
sudo pwd ;
make mrproper
sudo cp -v /boot/config-$(uname -r) .config
make defconfig
make menuconfig
sudo make -j12 ;
sudo make modules_install ;
sudo make install ;
sudo update-grub ;
exit

Reply View the author
wlly-lzh
deepin
2023-07-12 02:39
#7
186******75

我一般在下载内核后的解包执行脚本就能自己安装,请大佬多多指教

#!/bin/bash
sudo pwd ;
make mrproper
sudo cp -v /boot/config-$(uname -r) .config
make defconfig
make menuconfig
sudo make -j12 ;
sudo make modules_install ;
sudo make install ;
sudo update-grub ;
exit

请教一下

make mrproper

是做什么的?

Reply View the author
.(柯南)
deepin
2023-07-12 02:47
#8
wlly-lzh

请教一下

make mrproper

是做什么的?

清理旧的编译生成的文件及其他配置等

Reply View the author
wlly-lzh
deepin
2023-07-12 02:49
#9
186******75

我一般在下载内核后的解包执行脚本就能自己安装,请大佬多多指教

#!/bin/bash
sudo pwd ;
make mrproper
sudo cp -v /boot/config-$(uname -r) .config
make defconfig
make menuconfig
sudo make -j12 ;
sudo make modules_install ;
sudo make install ;
sudo update-grub ;
exit

这个脚步虽然还有些地方看不懂,但是值得一试,谢谢你了

Reply View the author
青稚
Moderator
2023-07-12 05:09
#10

柯南厉害👍🏻

Reply View the author
WangZhongyun
deepin
2023-07-12 17:02
#11

各部分完成后,产品生成自动化是大势所趋。

Reply View the author
jiutian123
deepin
2023-12-15 05:09
#12
WangZhongyun

各部分完成后,产品生成自动化是大势所趋。

打包后 测试性能也自动化就更棒了joy

Reply View the author