pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post f84c4b8d by Anonymous on Thu 10th Mar 2022 11:51
original post 1c4e8fe by Anonymous on Thu 10th Mar 2022 10:03
Download diff
Show old version | new version | both versions

    
1-
   mkdir try5
1+
#!/usr/bin/ksh93
32
4-
   tar xf /usr/src/linux-source-5.10.tar.xz
3+
#
4+
# Build Debian RT kernel from source,
59
6-
   unxz </usr/src/linux-patch-5.10-rt.patch.xz | less
10+
set -o xtrace
7-
   cd linux-source-5.10/
11+
set -o errexit
812
13+
integer num_cpus=$(getconf '_NPROCESSORS_CONF')
1014
15+
# mkdir try5 && cd try5/
1316
14-
   cp config.amd64_rt_amd64 .config
17+
tar xf /usr/src/linux-source-5.10.tar.xz
1718
18-
   time nice -n 19 make -j16 deb-pkg 2>&1 | tee -a buildlog.log
19+
cd linux-source-5.10
1920
20-
21+
unxz </usr/src/linux-patch-5.10-rt.patch.xz | patch -p1
2122
22-
23+
cp /usr/src/linux-config-5.10/config.amd64_rt_amd64.xz .
23-
24+
unxz config.amd64_rt_amd64.xz
2425
25-
26+
# copy config and make kernel build accept it without
26-
27+
# jumping to the $ make menu # menu
27-
28+
cp config.amd64_rt_amd64 .config
28-
29+
make oldconfig <'/dev/null'
2930
30-
31+
make clean
3132
32-
33+
time nice -n 19 make -j$((num_cpus*2)) deb-pkg 2>&1 | tee -a buildlog.log
3334
34-
35+
print '#### Finished!!'
35-
36+
# EOF.
3637

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at