LSX-blog

Feed Rss

【原创】打包内核为RPM包

05.31.2015, Linux, by .

下载内核包

1
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.7.tar.gz

安装依赖包

1
yum install gcc rpm-build redhat-rpm-config ncurses-devel patchutils bc xmlto asciidoc elfutils-libelf-devel zlib-devel binutils-devel newt-devel python-devel perl-ExtUtils-Embed hmaccalc kernel-firmware -y

解压内核压缩包

1
tar zxvf linux-3.16.7.tar.gz

复制本机内核配置到新内核目录

1
2
cd linux-3.16.7
cp /boot/config-2.6.32-504.8.1.el6.x86_64 .config

增加内核安装后默认启动

1
2
cd linux-3.16.7
vim scripts/package/mkspec

在%post最后面增加如下行

1
echo "/sbin/grubby --set-default 0"

在%post段后面添加%preun段

1
2
3
echo "%preun"
echo "new-kernel-pkg --rminitrd --rmmoddep --remove $KERNELRELEASE"
echo ""

简单设置config

1
make menuconfig

General setup —> Local version – append to kernel release
输入
.el6.x86_64
保存
创建RPM包
make rpm-pkg

等待完成
~/rpmbuild/RPMS/x86_64 即可看到。

【原创】打包内核为RPM包 有 32,770 条回应

  1. best prices for at is

    aa96 is dzielenie tabletki

    回复
  2. [url=https://roihomancaiconc.tk]roihomancaiconc.tk[/url]
    [url=https://enreberynnord.ml]ebony extreme fuckholes porn [/url]
    [url=https://cuamabwynspol.ga]cuamabwynspol.ga[/url]
    [url=https://pywjapinca.tk]thin college girls fucking [/url]
    [url=https://lesctiponrati.cf]lesctiponrati.cf[/url]
    [url=https://blacgorbuma.tk]blacgorbuma.tk[/url]
    [url=https://unonunniojoi.cf]amature asian gf porn [/url]
    [url=https://scholurywinlu.tk]scholurywinlu.tk[/url]
    [url=https://irinenvipha.cf]irinenvipha.cf[/url]
    [url=https://atofehinha.gq]atofehinha.gq[/url]

    回复
  3. [url=https://tiroremaket.gq]examples of essays for teach for india application [/url]
    [url=https://sliganopgreat.cf]sliganopgreat.cf[/url]
    [url=https://tsilneltingblot.tk]tsilneltingblot.tk[/url]
    [url=https://sappmysqtadufet.ml]gay chatline [/url]
    [url=https://afmasdandwebbrac.cf]lesbian fucks her wife with strapon [/url]
    [url=https://depaborcharel.cf]format essay so name is on each page [/url]
    [url=https://belwendmemlifor.gq]porn chat rooms [/url]
    [url=https://mehpomagcesi.ml]mehpomagcesi.ml[/url]
    [url=https://smarandehas.tk]amateur milf anal orgasm [/url]
    [url=https://maivelttragabta.gq]maivelttragabta.gq[/url]

    回复
  4. You will have to see to it you discuss anything that could be of importance to your healthcare provider and make certain to state any sort of severe adverse effects if they show up at any sort of point of the procedure. This means that this medicine is not expected to do any injury to the coming infant if taken by an expectant female. You also have to educate your physician concerning having any type of wellness conditions that can make your procedure much less reliable. Impotence can be induced by a large range of aspects, and [url=https://tadalafilx.com/]canada tadalafil generic[/url] is most likely to be reliable in many of those situations. Tadalafil (Cialis) is a medication reliable for a lot of patients identified with impotence.

    回复
  5. [url=https://avodart24.com/]generic avodart[/url] [url=https://diflucan5.com/]can you purchase diflucan over the counter[/url] [url=https://vardenafill.com/]vardenafil online india[/url] [url=https://celebrexotc.com/]celebrex price australia[/url]

    回复
  6. [url=http://viagraly6.com/]viagra[/url] [url=http://lexaproa4.com/]lexapro[/url] [url=http://ventolind6j.com/]cheap ventolin[/url]

    回复
  7. [url=http://cialis101.com/]buy cialis[/url] [url=http://lasixf5h.com/]buy lasix online[/url] [url=http://propeciaby6.com/]propecia generic[/url] [url=http://sildenafil0o.com/]sildenafil[/url] [url=http://propeciaf5h.com/]generic propecia[/url]

    回复
  8. [url=https://predalgeody.tk]predalgeody.tk[/url]
    [url=https://soimictymcpon.tk]soimictymcpon.tk[/url]
    [url=https://cleaninrepilec.tk]amateur milfs flashing hairy pussy [/url]
    [url=https://irinenvipha.cf]irinenvipha.cf[/url]
    [url=https://dardesesacnu.ga]dardesesacnu.ga[/url]
    [url=https://ettabfulbtabma.tk]mla cited essay examples [/url]
    [url=https://epswaperalox.cf]epswaperalox.cf[/url]
    [url=https://seepodenno.cf]seepodenno.cf[/url]
    [url=https://virezugsbosulz.ml]virezugsbosulz.ml[/url]
    [url=https://sulectdirtrather.cf]sulectdirtrather.cf[/url]

    回复
  9. [url=http://viagra000.com/]buy generic viagra[/url] [url=http://prednisoloned6j.com/]prednisolone online[/url]

    回复
  10. [url=http://ventolind6j.com/]buy ventolin online[/url] [url=http://zithromaxd6j.com/]buy zithromax[/url] [url=http://prednisone1s1.com/]prednisone online[/url] [url=http://tadalafil1s1.com/]tadalafil online[/url] [url=http://cialis101.com/]cialis[/url]

    回复
  11. [url=http://propecia1s1.com/]propecia buy[/url] [url=http://prozaca4.com/]generic prozac[/url] [url=http://lexaproa4.com/]lexapro[/url] [url=http://cialis1s1.com/]generic cialis[/url] [url=http://acyclovird6j.com/]buy generic acyclovir[/url] [url=http://tadalafilg8.com/]buy tadalafil online[/url] [url=http://cialiso0o.com/]buy generic cialis[/url]

    回复
  12. [url=http://cialis1s1.com/]cialis generic[/url] [url=http://valtrexby6.com/]generic valtrex[/url] [url=http://viagrad7l.com/]viagra generic[/url] [url=http://kamagra1s1.com/]kamagra buy[/url]

    回复
  13. [url=http://tetracyclined7k.com/]tetracycline online[/url] [url=http://vardenafild6j.com/]vardenafil buy[/url] [url=http://lisinoprilly6.com/]lisinopril generic[/url] [url=http://lexaproby6.com/]lexapro generic[/url] [url=http://viagra000.com/]buy viagra[/url]

    回复
  14. [url=http://lasix1s1.com/]lasix generic[/url] [url=http://lasixa4.com/]buy lasix[/url] [url=http://sildenafil111.com/]cheap sildenafil[/url] [url=http://albuterol0i0.com/]generic albuterol[/url] [url=http://tetracyclined6j.com/]tetracycline online[/url] [url=http://cialisb4.com/]cialis[/url] [url=http://lexaprof5h.com/]buy generic lexapro[/url]

    回复
  15. [url=http://tadalafild6j.com/]buy tadalafil online[/url] [url=http://cialisd7k.com/]buy cialis[/url] [url=http://tetracycline0i0.com/]buy tetracycline online[/url]

    回复
  16. [url=http://propeciaf5h.com/]propecia generic[/url]

    回复
  17. [url=http://prozac0i0.com/]buy prozac[/url] [url=http://prednisonef5h.com/]prednisone generic[/url]

    回复
  18. [url=https://comphicselo.tk]expository essay staar examples [/url]
    [url=https://mentnguldispehac.gq]watching my wife go lesbian homemade porn [/url]
    [url=https://arexarmi.ga]free chat sex [/url]
    [url=https://losijustdee.tk]milf lesbian and young girl kissing xxx [/url]
    [url=https://tracitifisro.gq]tracitifisro.gq[/url]
    [url=https://engeomindreshu.gq]engeomindreshu.gq[/url]
    [url=https://jansulacuso.tk]amateur upskirt porn videos photos [/url]
    [url=https://moicripsibackgen.tk]moicripsibackgen.tk[/url]
    [url=https://vilogeabthisip.gq]pussy streaching black cocks [/url]
    [url=https://defirsvertkell.tk]czech mature lesbian orgy free video [/url]

    回复
  19. [url=http://arimidexsale.com/]arimidex medication[/url] [url=http://celebrexotc.com/]celebrex 200 mg mexico[/url] [url=http://metformin360.com/]metformin 1000[/url] [url=http://albendazole365.com/]albendazole brand name price[/url] [url=http://albuterol365.com/]albuterol prescription online[/url] [url=http://sildenafilgen.com/]buy generic sildenafil[/url] [url=http://fluoxetine1000.com/]fluoxetine 20 mg[/url] [url=http://furosemidetab.com/]furosemide without prescription[/url] [url=http://furosemide1.com/]furosemide 20 mg[/url] [url=http://tadalafilcia.com/]tadalafil 20 mg online pharmacy[/url] [url=http://diflucan10.com/]diflucan price[/url] [url=http://accutanrx.com/]accutane.com[/url] [url=http://doxycycline20.com/]doxycycline 20 mg price[/url] [url=http://sildenafilvg.com/]40 mg sildenafil[/url] [url=http://levitramed.com/]levitra 20 mg canadian pharmacy[/url] [url=http://valtrex24.com/]valtrex otc[/url] [url=http://ventolin911.com/]can i buy ventolin over the counter nz[/url] [url=http://doxycyclinehycl.com/]how much is doxycycline[/url] [url=http://clomid150.com/]clomid medication[/url] [url=http://prednisonetl.com/]generic prednisone over the counter[/url]

    回复
  20. [url=http://allopurinold6j.com/]buy generic allopurinol[/url] [url=http://sildenafil0i0.com/]cheap sildenafil[/url] [url=http://lisinoprilf5h.com/]lisinopril online[/url]

    回复
  21. [url=http://albuterolly6.com/]buy albuterol[/url]

    回复
  22. [url=http://cialisd7k.com/]generic cialis[/url]

    回复
  23. [url=http://cialis00.com/]buy generic cialis[/url] [url=http://prednisonea4.com/]prednisone online[/url]

    回复
  24. [url=http://synthroid0i0.com/]buy generic synthroid[/url] [url=http://valtrex0i0.com/]valtrex[/url]

    回复
  25. [url=http://vardenafilf5h.com/]vardenafil[/url] [url=http://ventolind6j.com/]buy ventolin[/url] [url=http://viagrao0o.com/]viagra[/url] [url=http://cialis0i0.com/]cialis online[/url] [url=http://valtrexby6.com/]valtrex[/url] [url=http://allopurinol0i0.com/]buy allopurinol[/url]

    回复
  26. [url=http://sildenafilg7.com/]buy sildenafil[/url] [url=http://propeciaby6.com/]generic propecia[/url]

    回复
  27. [url=http://viagrad7l.com/]viagra buy[/url] [url=http://synthroidf5h.com/]synthroid online[/url] [url=http://cephalexin0i0.com/]cephalexin[/url] [url=http://zithromaxd6j.com/]buy zithromax[/url] [url=http://valtrexd7k.com/]valtrex generic[/url]

    回复
  28. [url=https://layditechthan.tk]cdff christian dating for free owns [/url]
    [url=https://stitbaforwick.tk]stitbaforwick.tk[/url]
    [url=https://unerslovme.cf]dirty talk porn lesbian [/url]
    [url=https://rockcanvendbicomp.tk]college boy asian first porn [/url]
    [url=https://lisminelynn.tk]pictures of naked milfs with perfect bodys [/url]
    [url=https://menccadeadtulan.ml]menccadeadtulan.ml[/url]
    [url=https://siglesscensindti.cf]siglesscensindti.cf[/url]
    [url=https://hearodene.tk]huge natural tits curvy milf [/url]
    [url=https://klonernoje.tk]klonernoje.tk[/url]
    [url=https://feccocagallma.ml]feccocagallma.ml[/url]

    回复
  29. Hello there! [url=http://viagrav.info/]http://viagrav.info[/url] – buy viagra very good web site

    回复
  30. [url=http://amoxicillin0i0.com/]amoxicillin generic[/url] [url=http://tadalafild6j.com/]buy generic tadalafil[/url] [url=http://tadalafilg8.com/]buy tadalafil online[/url] [url=http://viagra000.com/]cheap viagra[/url] [url=http://zithromaxf5h.com/]zithromax online[/url] [url=http://metformind6j.com/]cheap metformin[/url]

    回复
  31. [url=http://prednisone1s1.com/]buy generic prednisone[/url] [url=http://levitrad6j.com/]buy levitra online[/url] [url=http://synthroid0i0.com/]generic synthroid[/url] [url=http://lasix1s1.com/]cheap lasix[/url] [url=http://prozacf5h.com/]prozac[/url] [url=http://cialis204.com/]buy cialis[/url]

    回复
  32. [url=http://cialiso0o.com/]buy cialis[/url] [url=http://tadalafilcialiso0.com/]tadalafil[/url] [url=http://propecia0i0.com/]generic propecia[/url] [url=http://lexaprod7k.com/]lexapro generic[/url] [url=http://cephalexin0i0.com/]generic cephalexin[/url] [url=http://prednisonef5h.com/]buy prednisone online[/url] [url=http://lexaprof5h.com/]lexapro generic[/url] [url=http://albuterold6j.com/]cheap albuterol[/url]

    回复
  33. [url=http://zithromaxd6j.com/]zithromax online[/url] [url=http://cialis00.com/]buy generic cialis[/url] [url=http://levitrad6j.com/]levitra generic[/url]

    回复
  34. [url=http://wellbutrind6j.com/]wellbutrin buy[/url] [url=http://propeciad7k.com/]propecia generic[/url] [url=http://prednisoned6j.com/]prednisone[/url] [url=http://xenicald7k.com/]buy generic xenical[/url] [url=http://levitra1s1.com/]cheap levitra[/url] [url=http://kamagraf5h.com/]kamagra buy[/url] [url=http://cialisg7.com/]generic cialis[/url]

    回复
  35. [url=http://tadalafilg8.com/]generic tadalafil[/url] [url=http://sildenafilb4.com/]cheap sildenafil[/url] [url=http://cafergot0i0.com/]cafergot online[/url] [url=http://zithromaxd6j.com/]buy generic zithromax[/url] [url=http://valtrexby6.com/]valtrex generic[/url] [url=http://tadalafil1s1.com/]buy tadalafil[/url]

    回复
  36. [url=http://cialisby6.com/]buy cialis[/url] [url=http://viagracialiso0.com/]cheap viagra[/url]

    回复
  37. [url=http://viagra0o.com/]buy generic viagra[/url] [url=http://cialis00.com/]cialis buy[/url] [url=http://viagra111.com/]viagra[/url] [url=http://prednisone1s1.com/]buy prednisone[/url]

    回复
  38. [url=http://ventolina4.com/]buy ventolin online[/url]

    回复
  39. [url=https://furosemidelab.com/]buy furosemide 40 mg uk[/url] [url=https://levitramed.com/]canadian generic levitra[/url] [url=https://furosemidetab.com/]furosemide brand[/url] [url=https://tadalafilcia.com/]tadalafil 20mg[/url] [url=https://arimidexsale.com/]arimidex cost usa[/url]

    回复
  40. [url=http://clomid150.com/]generic clomid over the counter[/url]

    回复
  41. [url=http://prednisoloned7k.com/]prednisolone online[/url] [url=http://levitrad7l.com/]buy levitra online[/url] [url=http://tadalafild6j.com/]buy generic tadalafil[/url] [url=http://levitra1s1.com/]buy generic levitra[/url]

    回复
  42. [url=http://tadalafil0i0.com/]buy tadalafil[/url]

    回复
  43. [url=http://valtrexa4.com/]buy valtrex online[/url]

    回复
  44. [url=http://valtrex0i0.com/]valtrex buy[/url] [url=http://wellbutrin0i0.com/]wellbutrin buy[/url] [url=http://amoxicillinf5h.com/]buy amoxicillin[/url]

    回复
  45. [url=http://cialis101.com/]cialis buy[/url] [url=http://tadalafilg7.com/]tadalafil buy[/url] [url=http://cialisg8.com/]cialis buy[/url]

    回复
  46. [url=http://cialis00.com/]buy cialis[/url] [url=http://prozac1s1.com/]generic prozac[/url] [url=http://albuterold6j.com/]albuterol buy[/url]

    回复
  47. Hi there! [url=http://locialispl.com/]http://locialispl.com[/url] – purchase cialis excellent web site

    回复
  48. [url=https://ventolin911.com/]buy ventolin online[/url] [url=https://prednisonester.com/]prednisone 20 mg[/url] [url=https://furosemide1.com/]furosemide 20 mg sales[/url]

    回复
  49. [url=http://tetracyclined6j.com/]generic tetracycline[/url] [url=http://cialis204.com/]buy cialis[/url] [url=http://propeciaf5h.com/]propecia generic[/url] [url=http://prozacd6j.com/]prozac buy[/url] [url=http://allopurinol0i0.com/]allopurinol buy[/url]

    回复
  50. [url=http://viagracialiso0.com/]viagra buy[/url] [url=http://cephalexind6j.com/]cephalexin online[/url] [url=http://tadalafil000.com/]tadalafil generic[/url] [url=http://lasixa4.com/]generic lasix[/url] [url=http://xenicald6j.com/]buy generic xenical[/url] [url=http://doxycycline0i0.com/]doxycycline buy[/url] [url=http://levitra0i0.com/]levitra online[/url]

    回复

pymmelvecychody进行回复 取消回复

电子邮件地址不会被公开。 必填项已用*标注