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包 有 81,939 条回应

  1. Awesome blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple tweeks would really make my blog shine.

    Please let me know where you got your theme.
    Bless you

    回复
  2. [url=https://phenergan365.com/]phenergan drug[/url]

    回复
  3. [url=https://prednisone.us.org/]prednisone 20 mg tablet[/url] [url=https://buypropecia247.us.org/]buy propecia uk[/url] [url=https://accutanme.com/]buy accutane[/url] [url=https://sildenafiltb.com/]sildenafil 100mg[/url] [url=https://chydroxychloroquine.com/]buy hydroxychloroquine[/url] [url=https://ivaltrex.com/]buy valtrex[/url]

    回复
  4. [url=http://sildenafil4you.us.org/]sildenafil 48 tabs[/url]

    回复
  5. It’s very trouble-free to find out any topic
    on net as compared to books, as I found this piece of writing at this
    web page.

    回复
  6. [url=https://tretinoin365.com/]tretinoin cream price south africa[/url]

    回复
  7. [url=http://chydroxychloroquine.com/]cost of plaquenil uk[/url] [url=http://flomaxmed.com/]where can i get cheap flomax[/url] [url=http://buydoxy.com/]doxy[/url] [url=http://bupropionx.com/]bupropion online[/url] [url=http://doxycyclinetabs.com/]doxycycline 100mg tablet[/url] [url=http://cephalexin911.com/]cephalexin antibiotics[/url] [url=http://propeciagen.com/]propecia[/url] [url=http://prednisonesale.com/]prednisone 1 mg tab[/url]

    回复
  8. [url=https://diflucan.us.com/]buy diflucan[/url] [url=https://tretinoin365.com/]tretinoin otc[/url] [url=https://propeciagen.com/]generic propecia 5mg[/url] [url=https://accutanme.com/]buy accutane[/url] [url=https://buydoxy.com/]doxycycline over the counter[/url] [url=https://priligy365.com/]priligy over the counter[/url]

    回复
  9. There is nothing to be worry about the company of Viagra and the other
    brands. In time of making an order via online of cheap Viagra, you have to take care of the company
    and its s brand reputation. The way the first brand of Viagra works, the other generic Viagra effects with the same
    process. So, we have now got the cheap Viagra with help of generic Viagra and the omission of patent
    protection act. What is an act common to the game?
    The imagery was striking and the game oozes atmosphere and almost begs you to stop and take a screenshot every few minutes.
    More excellent tickets you won’t want to miss out on is Rihanna tickets, Rihanna has quickly become the new face of popular music,
    with a huge selection of top hits including ‘Umbrella’, ‘Don’t Stop the Music’ and ‘We Found Love’.
    So if you are looking for Rihanna Tickets, X-Factor live tickets, Frankie
    Boyle tickets or WWE tickets then look no further, booking is simple and secure,
    so visit today and book tickets to the next memorable show.

    回复
  10. [url=https://doxycyclinetabs.com/]doxycycline hyc 100mg[/url] [url=https://tretinoin365.com/]tretinoin 0.1 no prescription[/url] [url=https://chydroxychloroquine.com/]hydroxychloroquine online[/url] [url=https://estracemed.com/]estrace tablets uk[/url] [url=https://neurontingab.com/]neurontin buy[/url] [url=https://isotretinoin24.com/]how to get accutane 2017[/url] [url=https://albuterolmd.com/]albuterol generic[/url] [url=https://azithromycin.us.com/]buy azithromycin[/url] [url=https://wellbutrin360.com/]generic wellbutrin[/url] [url=https://accutanme.com/]how to get accutane australia[/url]

    回复
  11. [url=https://cipro.us.org/]antibiotics cipro[/url] [url=https://retina3.com/]buy retin a gel[/url] [url=https://flomaxmed.com/]brand name flomax cost[/url] [url=https://isotretinoin24.com/]accutane by mail[/url] [url=https://priligy365.com/]priligy medicine india[/url] [url=https://tadallafil.com/]tadalafil[/url]

    回复
  12. i5wed thanks a lot a great deal this website is elegant and relaxed

    回复
  13. [url=http://tadalafil2017.us.com/]cheap tadalafil 5mg[/url] [url=http://sildenafil4you.us.org/]sildenafil tablets[/url] [url=http://wellbutrin360.com/]wellbutrin rx online[/url]

    回复
  14. [url=https://isotretinoin24.com/]accutane price in mexico[/url]

    回复
  15. [url=https://bupropionx.com/]bupropion 100 mg cost[/url] [url=https://paxilmed.com/]paxil cr[/url] [url=https://accutanme.com/]accutane from canada pharmacy[/url] [url=https://lxapro.com/]order lexapro[/url] [url=https://wellbutrin360.com/]wellbutrin online no prescription[/url] [url=https://isotretinoin24.com/]isotretinoin[/url]

    回复
  16. Whoa! This blog looks exactly like my old one! It’s on a
    totally different topic but it has pretty much the same page layout and design. Outstanding
    choice of colors!

    回复
  17. [url=http://phenergan365.com/]phenergan tablets[/url] [url=http://isotretinoin24.com/]accutane cream uk[/url] [url=http://azithromycin.us.com/]azithromycin cheap online[/url] [url=http://doxycyclinetabs.com/]buy doxycycline[/url] [url=http://prednisonesale.com/]purchase prednisone online[/url]

    回复
  18. [url=https://flomaxmed.com/]where to buy flomax[/url] [url=https://phenergan365.com/]phenergan[/url] [url=https://cephalexin911.com/]cephalexin 500mg[/url] [url=https://propeciagen.com/]propecia cost in india[/url] [url=https://cipro.us.org/]ciprofloxacin[/url] [url=https://sildenafil4you.us.org/]sildenafil price in india[/url] [url=https://estracemed.com/]estrace drug cost[/url] [url=https://isotretinoin24.com/]accutane canada online[/url] [url=https://prednisone.us.org/]prednisone[/url] [url=https://paxilmed.com/]paxil pill[/url] [url=https://wellbutrin360.com/]where to buy wellbutrin[/url] [url=https://albuterolmd.com/]buy albuterol[/url] [url=https://prednisonesale.com/]prednisone buy canada[/url] [url=https://tadallafil.com/]generic tadalafil 20mg[/url] [url=https://accutanme.com/]accutane buy online usa[/url] [url=https://sildenafiltb.com/]cost of 100mg sildenafil[/url] [url=https://retina3.com/]retin-a micro[/url] [url=https://doxycyclinetabs.com/]doxycycline 100mg generic[/url] [url=https://tadalafil2017.us.com/]canadian tadalafil online[/url] [url=https://priligy365.com/]priligy tablets over the counter[/url]

    回复
  19. [url=http://prednisonesale.com/]prednisone[/url] [url=http://isotretinoin24.com/]how to get accutane in india[/url] [url=http://priligy365.com/]priligy tablets nz[/url] [url=http://lxapro.com/]lexapro[/url] [url=http://tadalafil2017.us.com/]buy tadalafil online[/url] [url=http://phenergan365.com/]phenergan 2[/url]

    回复
  20. [url=http://buydoxy.com/]buy doxy 100[/url]

    回复
  21. I have read so many posts concerning the blogger
    lovers but this post is actually a fastidious piece of writing,
    keep it up.

    回复
  22. [url=http://chydroxychloroquine.com/]plaquenil cheap[/url] [url=http://wellbutrin360.com/]wellbutrin[/url] [url=http://diflucan.us.com/]buy diflucan 150mg[/url] [url=http://neurontingab.com/]neurontin 300 mg cost[/url] [url=http://tadalafil2017.us.com/]buy tadalafil[/url] [url=http://phenergan365.com/]phenergan over the counter south africa[/url] [url=http://tadallafil.com/]tadalafil[/url] [url=http://colchicinetab.com/]colchicine generic[/url] [url=http://lxapro.com/]lexapro escitalopram[/url] [url=http://flomaxmed.com/]flomax over the counter[/url] [url=http://retina3.com/]retin a price[/url] [url=http://tretinoin365.com/]tretinoin otc[/url] [url=http://isotretinoin24.com/]20 mg accutane daily[/url] [url=http://azithromycin.us.com/]buy azithromycin[/url] [url=http://ivaltrex.com/]valtrex 500mg uk[/url] [url=http://prednisonesale.com/]6 prednisone[/url] [url=http://doxycyclinetabs.com/]doxycycline canada[/url] [url=http://cephalexin911.com/]cephalexin 500[/url] [url=http://accutanme.com/]generic accutane rx cost[/url] [url=http://vardenafilxr.com/]vardenafil buy online[/url]

    回复
  23. [url=https://tretinoin365.com/]tretinoin[/url] [url=https://azithromycin.us.com/]azithromycin online purchase[/url] [url=https://sildenafiltb.com/]sildenafil 100mg[/url] [url=https://albuterolmd.com/]where to buy albuterol[/url] [url=https://buypropecia247.us.org/]canadian propecia generic[/url] [url=https://priligy365.com/]priligy over the counter usa[/url] [url=https://isotretinoin24.com/]accutane cost[/url]

    回复
  24. It’s actually a cool and useful piece of info.
    I’m glad that you just shared this useful info with us.
    Please stay us informed like this. Thank you for sharing.

    回复
  25. [url=http://lxapro.com/]lexapro 5mg[/url] [url=http://vardenafilxr.com/]where to buy vardenafil[/url] [url=http://buypropecia247.us.org/]how to buy propecia[/url]

    回复
  26. Hi there! I could have sworn I’ve visited this blog before but after browsing through a few
    of the posts I realized it’s new to me. Nonetheless, I’m certainly happy
    I found it and I’ll be bookmarking it and checking back often!

    回复
  27. [url=https://vardenafilxr.com/]generic vardenafil[/url] [url=https://sildenafil4you.us.org/]buy sildenafil[/url] [url=https://doxycyclinetabs.com/]doxycycline buy[/url] [url=https://paxilmed.com/]paxil[/url] [url=https://ivermectin.us.com/]buy ivermectin[/url]

    回复
  28. You can certainly see your expertise within the work you
    write. The sector hopes for even more passionate writers such as you who are
    not afraid to say how they believe. All the time follow your heart.

    回复
  29. 【原创】打包内核为RPM包 – LSX-blog download lagu judika jikalau kau cinta mp3 download lagu lily alan walkerhttp://hobbyzona.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=http%3A%2F%2Fbiz-zon.ru%2Fbitrix%2Fredirect.php%3Fevent1%3D%26event2%3D%26event3%3D%26goto%3Dhttps%3A%2F%2Fwww.elagu.org%2Fmusics%2F download lagu mp3 download lagu nyaman

    回复
  30. [url=https://prednisonesale.com/]buying prednisone mexico[/url] [url=https://ivermectin.us.com/]buy ivermectin[/url] [url=https://diflucan.us.com/]diflucan 150[/url]

    回复
  31. [url=https://tadallafil.com/]tadalafil medication[/url] [url=https://diflucan.us.com/]diflucan 150 mg tablet[/url] [url=https://ivermectin.us.com/]ivermectin for sale[/url] [url=https://albuterolmd.com/]albuterol usa[/url] [url=https://phenergan365.com/]phenergan 25mg over the counter[/url]

    回复
  32. Hi, I do think this is an excellent website. I stumbledupon it 😉 I will revisit once again since i have
    saved as a favorite it. Money and freedom
    is the greatest way to change, may you be rich and continue to
    guide others.

    回复
  33. [url=https://diflucan.us.com/]buy diflucan cheap[/url] [url=https://tretinoin365.com/]tretinoin[/url] [url=https://albuterolmd.com/]where can i buy albuterol online[/url] [url=https://lxapro.com/]lexapro[/url] [url=https://prednisone.us.org/]buy prednisone online without a script[/url]

    回复
  34. We’re a gaggle of volunteers and starting a brand new scheme
    in our community. Your website provided us with valuable info to work on. You
    have done an impressive task and our whole community will be
    grateful to you.

    回复
  35. Good write ups, Regards! [url=https://paydayloansbbv.com/]direct lender payday loans online[/url] quick loan bad credit

    回复
  36. Today, I went to the beachfront with my kids. I found a sea shell and gave
    it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.”
    She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

    回复
  37. I wish to show thanks to the writer just for bailing me out of this type of incident. Because of looking throughout the internet and seeing views that were not helpful, I thought my life was well over. Living minus the solutions to the issues you’ve sorted out by way of your website is a crucial case, as well as ones that would have adversely damaged my entire career if I hadn’t discovered your web blog. That mastery and kindness in touching every aspect was precious. I am not sure what I would’ve done if I hadn’t discovered such a solution like this. It’s possible to now look ahead to my future. Thanks a lot very much for this specialized and sensible help. I will not be reluctant to endorse your web sites to anyone who should get support about this subject.

    回复
  38. 【原创】打包内核为RPM包 – LSX-blog download lagu berharap tak berpisah download lagu kill this lovehttp://adminzhel.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=http%3A%2F%2Fmorph-suits.ru%2Fbitrix%2Fredirect.php%3Fevent1%3D%26event2%3D%26event3%3D%26goto%3Dhttp%253A%252F%252F1-profit.ru%252Fbitrix%252Fredirect.php%253Fevent1%253D%2526event2%253D%2526event3%253D%2526goto%253Dhttps%253A%252F%252Fwww.elagu.org%252Fmusics%252F download lagu dangdut
    koplo terbaru 2019 download lagu demi kowe

    回复
  39. It is the best time to make some plans for the future
    and it is time to be happy. I’ve read this post and if I could I want
    to suggest you some interesting things or advice. Maybe you could write next articles referring
    to this article. I want to read even more things about it!

    回复
  40. Great beat ! I would like to apprentice while you amend your web site,
    how could i subscribe for a blog website? The account aided me a acceptable deal.
    I had been a little bit acquainted of this your broadcast offered bright clear concept

    回复
  41. You actually mentioned that well! [url=https://paydayloansttf.com/]loans for bad credit with monthly payments[/url] greenwood loans

    回复
  42. [url=http://tretinoin365.com/]can i buy tretinoin online[/url] [url=http://phenergan365.com/]phenergan 25mg[/url] [url=http://isotretinoin24.com/]isotretinoin[/url] [url=http://estracemed.com/]estrace generic price[/url] [url=http://colchicinetab.com/]colchicine order online[/url] [url=http://lxapro.com/]lexapro escitalopram oxalate[/url]

    回复
  43. [url=https://buypropecia247.us.org/]can i buy propecia online[/url] [url=https://lxapro.com/]where to buy lexapro online[/url] [url=https://albuterolmd.com/]buy albuterol[/url] [url=https://azithromycin.us.com/]where to buy azithromycin over the counter[/url] [url=https://buydoxy.com/]price of doxycycline in india[/url] [url=https://bupropionx.com/]bupropion 50 mg tablets[/url] [url=https://priligy365.com/]generic priligy[/url] [url=https://retina3.com/]buying retin a online[/url] [url=https://prednisonesale.com/]prednisone 10mg tabs[/url] [url=https://wellbutrin360.com/]wellbutrin generic[/url] [url=https://cipro.us.org/]ciprofloxacin[/url] [url=https://phenergan365.com/]phenergan 25 mg[/url] [url=https://cephalexin911.com/]buy cephalexin 250 mg[/url] [url=https://tretinoin365.com/]tretinoin 0.1 cream india[/url] [url=https://diflucan.us.com/]diflucan 150 mg price in india[/url] [url=https://isotretinoin24.com/]buy accutane 20mg[/url] [url=https://paxilmed.com/]paxil pill[/url] [url=https://sildenafiltb.com/]sildenafil 100mg[/url] [url=https://prednisone.us.org/]prednisone 10 mg[/url] [url=https://flomaxmed.com/]flomax sale online[/url]

    回复
  44. [url=https://buydoxy.com/]doxy 100[/url] [url=https://flomaxmed.com/]flomax medicine price[/url] [url=https://phenergan365.com/]phenergan generic cost[/url] [url=https://chydroxychloroquine.com/]plaquenil drug[/url] [url=https://accutanme.com/]buy accutane[/url] [url=https://ivermectin.us.com/]ivermectin 200 mcg[/url] [url=https://sildenafiltb.com/]buy sildenafil mexico[/url] [url=https://diflucan.us.com/]diflucan 150 mg tablet[/url] [url=https://prednisone.us.org/]purchase prednisone no prescription[/url] [url=https://isotretinoin24.com/]buy accutane 5mg[/url]

    回复
  45. Hi every one, here every person is sharing these experience, so
    it’s nice to read this weblog, and I used to visit this weblog daily.

    回复
  46. [url=http://cipro.us.org/]cipro medication[/url] [url=http://flomaxmed.com/]buy flomax generic[/url] [url=http://accutanme.com/]accutane generic[/url] [url=http://sildenafiltb.com/]sildenafil 100mg[/url] [url=http://tretinoin365.com/]tretinoin cream coupon[/url]

    回复
  47. [url=https://phenergan365.com/]phenergan medicine[/url] [url=https://buydoxy.com/]doxy[/url] [url=https://chydroxychloroquine.com/]buy hydroxychloroquine[/url] [url=https://sildenafiltb.com/]buy sildenafil 50mg uk[/url]

    回复
  48. Ingressos do Joia disponível para hoje!
    Antecipado
    Ingressos Disponíveis!

    Pontos de Venda
    PALOTINA: Coperfarma
    TOLEDO: Zero Hora Conveniência / Contem Som / Mundo Country
    CASCAVEL: Made In Grill -Shopping JL
    ASSIS CHAT: Farma Prata
    MARECHAL C. RONDON: Posto Camil

    回复
  49. [url=https://chydroxychloroquine.com/]hydroxychloroquine online[/url] [url=https://priligy365.com/]buy priligy[/url] [url=https://retina3.com/]order generic retin a 5[/url] [url=https://doxycyclinetabs.com/]vibramycin 100 mg[/url] [url=https://neurontingab.com/]generic neurontin cost[/url]

    回复

发表评论

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