[deepin exploration] 内核打包
Tofloor
poster avatar
186******75
deepin
2024-04-10 07:13
Author

#!/bin/bash
sudo apt-get install libncurses5-dev openssl libssl-dev

sudo apt-get install build-essential openssl

sudo apt-get install pkg-config

sudo apt-get install libc6-dev

sudo apt-get install bison

sudo apt-get install flex

sudo apt-get install libelf-dev

sudo apt-get install zlibc minizip

sudo apt-get install libidn11-dev libidn11
sudo apt-get install kernel-package
sudo apt-get install build-essential
sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison liblz4-tool debhelper
sleep 20
sudo make mrproper
sudo cp /boot/config-uname -r ./.config
sudo make localmodconfig #中间过程会让你做选择题,我们全部直接敲“回车”键就行了#
sudo make bindeb-pkg -j12
exit

Reply Favorite View the author
All Replies
花雨落逝
Moderator
2024-04-10 08:38
#1

applaud

Reply View the author
jjcui8595
deepin
2024-04-10 08:56
#2

脚本中,编译环境包重复安装了吧?

Reply View the author
186******75
deepin
2024-04-10 09:05
#3
jjcui8595

脚本中,编译环境包重复安装了吧?

就是重复了也不会影响,只会安装一次依赖的。

Reply View the author
Jokul
deepin
2024-04-10 09:21
#4

-j12会不会把电脑跑死机?

Reply View the author
186******75
deepin
2024-04-10 09:37
#5
Jokul

-j12会不会把电脑跑死机?

我12年的电脑都不会,你们电脑还怕吗?最大跑到你电脑极限,电脑会自己调节的,我的跑的最高温度都没有上100度。

Reply View the author
Tonny
deepin
2024-04-10 11:02
#6
It has been deleted!