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. sex cams and chat [url=https://sexcams00.live]sexcams00[/url] todays hidden sex cams.

    回复
  2. [url=http://amoxicillinlab.com/]can you order amoxicillin online[/url] [url=http://advairdisk.com/]generic advair diskus no prescription[/url]

    回复
  3. I am ϲurious to find oᥙt what blog platform you are
    working with? I’m exⲣeriencing some small security prօblems with
    my ⅼatest blog and І would like to find something more risk-freе.
    Do you have any recommendatіons?

    回复
  4. Nicely put, Kudos! [url=http://motiliumonline.fr/]Motilium Before Or After Food[/url]

    回复
  5. [url=http://amoxicillinzt.com/]amoxicillin 500mg capsules[/url] [url=http://robaxinmed.com/]robaxin mexico[/url] [url=http://cialissr.com/]cialis generic[/url] [url=http://levitrav.com/]levitra pills uk[/url] [url=http://tadalafilm.com/]tadalafil 20mg price[/url] [url=http://kamagraed.com/]kamagra 100 tablets[/url] [url=http://tadalafilrem.com/]tadalafil otc[/url] [url=http://ampicillin24.com/]buy ampicillin[/url] [url=http://synthroidsale.com/]synthroid 0.050 mg[/url] [url=http://propeciaph.com/]generic propecia usa[/url] [url=http://femalepinkviagra.com/]female viagra tablets price in india[/url] [url=http://advairdisk.com/]advair disk[/url] [url=http://trazodonemed.com/]trazodone 50 mg tablet[/url] [url=http://cymbaltarx.com/]buy generic cymbalta online[/url] [url=http://indocinrx.com/]generic for indocin[/url] [url=http://benicar24.com/]price of benicar[/url] [url=http://seroquel365.com/]seroquel 100mg[/url] [url=http://iventolin.com/]online ventolin[/url] [url=http://prednisonestrd.com/]buy prednisone online no prescription[/url] [url=http://toradolrx.com/]toradol buy[/url]

    回复
  6. Its like you read my thoughts! You appear to grasp a lot about
    this, such as you wrote the ebook in it or something. I think that you
    can do with some p.c. to pressure the message house a
    bit, however other than that, this is great blog.

    A great read. I’ll certainly be back.

    回复
  7. Right here is the perfect webpage for everyone who
    would like to find out about this topic. You realize a whole lot its almost tough
    to argue with you (not that I really would want to…HaHa).

    You definitely put a fresh spin on a topic
    that’s been written about for years. Great stuff, just excellent!

    回复
  8. [url=https://diclofenacg.com/]buy diclofenac[/url] [url=https://toradolrx.com/]generic for toradol[/url]

    回复
  9. free sex cams no membership [url=https://sexcams00.work]bbw live sex cams [/url] asian girls sex bf in hidden cams.
    german live sex cams [url=https://sexcams00.work]sexcams00.work[/url] jasmine sex cams.
    webcam sex cams [url=https://sexcams00.site]sexcams00[/url] real inhome sex cams.
    best free live sex cams [url=https://sexcams00.work]free live sex cams no credit card [/url] black live sex cams.
    live home sex cams [url=https://sexcams00.work]free porn live sex cams [/url] sex on live home web cams.
    free anal sex cams [url=https://sexcams00.club]free sex web cams [/url] face to face sex cams online free.
    free sex cams no credit card needed [url=https://sexcams00.space]live milf sex cams [/url] live sex cams solidcams.
    my indian sex cams [url=https://sexcams00.xyz]free female sex cams [/url] sex + cams girls.

    回复
  10. In 2000, a New Zealand high school grad named Michael
    Pratt entered the pornography business with the launch of three
    websites: Wicked Movies, TeenieFlixxx, and Kute Kittens.
    When the new date arrived in June, it was postponed four more times after additional filings from Pratt.
    Make sure your documents are up to date such as your driver’s license for a rental car and your passport has blank pages for each country you
    plan to visit. His pages were affiliate websites, or pages that preview free adult clips
    and earn commission by linking to paid subscription services.
    What about gay porn discounts, so I can fap one off at
    the cheapest subscription possible? You’ll be hard (hehe, pun intended) pressed to find
    another one like it. Find hardcore sex movies of pornstars, XXX vids of young teens,
    and adult clips of milfs online. Gay Hot Movies – On this site, you can stream and download full-length movies with
    featuring several feet of cock. Oh God of gay porn, give me your
    conclusion, please! 1. Free HD PornFor the best free HD porn, check out our category with all kinds of sex videos, made to get you off.
    You probably won’t figure it out the first dozen times you try.

    回复
  11. Beneficial posts. Cheers. [url=http://amoxicillin-amoxil.com/]amoxil[/url]

    回复
  12. Nicely expressed truly. ! [url=http://retinarx.fr/]Isotretinoin And Sunlight And Exposure[/url]

    回复
  13. [url=https://diclofenacg.com/]diclofenac gel 1[/url] [url=https://accutanne.com/]order accutane online australia[/url] [url=https://femalepinkviagra.com/]female viagra buy online[/url] [url=https://baclofenonline.com/]buy baclofen online[/url] [url=https://benicar24.com/]cost of generic benicar[/url] [url=https://robaxinmed.com/]robaxin buy[/url]

    回复
  14. I believe that is one of the most significant information for me.
    And i’m glad studying your article. But should remark on few common things,
    The web site style is ideal, the articles is truly excellent :
    D. Good job, cheers

    回复
  15. [url=https://lasixwtp.com/]lasix tablet price in india[/url] [url=https://accutanne.com/]buy generic accutane[/url] [url=https://levitrav.com/]levitra 20 mg[/url] [url=https://kamagraed.com/]buy kamagra[/url]

    回复
  16. Thanks for the good writeup. It in truth was a leisure account
    it. Glance advanced to more delivered agreeable from you!
    By the way, how can we communicate?

    回复
  17. [url=https://baclofenonline.com/]baclofen tablets[/url] [url=https://advairdisk.com/]generic advair canada[/url] [url=https://seroquel365.com/]seroquel generic[/url] [url=https://levitrav.com/]compare price for levitra[/url] [url=https://prednisonesr.com/]prednisone 40 mg daily[/url]

    回复
  18. live sex cams tumblr [url=https://sexcams00.site]sexcams00[/url] girls with cams and like sex.
    how many girls stream sex cams [url=https://sexcams00.club]free live sex cams no sign up [/url] reallife family sex cams.
    love sex cams [url=https://sexcams00.space]sexcams00.space[/url] sex tv babe cams.
    free live sex cams free [url=https://sexcams00.site]sexcams00[/url] sex cams online 1 on 1 no sing up.
    free uncensored sex cams [url=https://sexcams00.online]sexcams00[/url] cyber sex cams.
    free free sex cams [url=https://sexcams00.space]sexcams00[/url] free sex cams for couples live.
    hidden sex cams videos [url=https://sexcams00.site]free sex cams live [/url] hacked ip cams couple sex archive videos.
    local live sex cams [url=https://sexcams00.website]sexcams00.website[/url] sex arabic hidden cams vids.

    回复
  19. You actually revealed that wonderfully.
    [url=http://celexa.fr/]citalopram hbr[/url] [url=http://doxycycline.fr/]Doxycycline Hyclate 100 Mg Coupon[/url] [url=http://tadacip.fr/]tadalafil 20 mg[/url] [url=http://rxdiflucan.com/]Diflucan Generic Side Effects Liver[/url] [url=http://buymotilium-norx.com/]domperidona[/url] [url=http://amoxicillin-amoxil.com/]Amoxicillin Capsule 500mg Uk[/url]

    回复
  20. What’s up mates, pleasant post and good urgong commented at this place, I am truly enjoying
    by these.

    回复
  21. [url=http://toradolrx.com/]toradol brand[/url]

    回复
  22. [url=http://benicar24.com/]benicar hct[/url] [url=http://kamagraed.com/]kamagra tablets for sale[/url] [url=http://levitrav.com/]levitra usa online[/url] [url=http://propeciaph.com/]generic propecia 5mg[/url] [url=http://prednisonestrd.com/]prednisone 10 mg generic[/url] [url=http://tadalafilcls.com/]buy tadalafil online[/url]

    回复
  23. [url=https://prozacflx.com/]how to buy prozac[/url] [url=https://cymbaltarx.com/]cymbalta generic[/url] [url=https://anafranilmed.com/]anafranil for anxiety[/url]

    回复
  24. [url=http://cymbaltarx.com/]buy generic cymbalta[/url] [url=http://amoxicillinzt.com/]amoxicillin pills 500 mg[/url] [url=http://baclofenonline.com/]cheap baclofen[/url]

    回复
  25. pornhub live sex cams [url=https://sexcams00.work]free sex cams [/url] best free sex cams.

    回复
  26. [url=http://seroquel365.com/]seroquel cost[/url]

    回复
  27. Thanks for some other informative web site.
    The place else may I am getting that type of information written in such a perfect manner?
    I’ve a undertaking that I’m just now operating on, and I’ve been on the glance out for such info.

    回复
  28. [url=https://tadalafilcls.com/]cialis tadalafil[/url]

    回复
  29. I am extremely impressed with your writing skills and also with the
    layout on your blog. Is this a paid theme or did you modify it
    yourself? Anyway keep up the nice quality writing, it’s rare to
    see a great blog like this one these days.

    回复
  30. Have you ever considered about including a little bit more than just
    your articles? I mean, what you say is valuable and everything.
    Nevertheless think of if you added some great images or
    videos to give your posts more, “pop”! Your content is excellent
    but with pics and videos, this site could certainly be one
    of the greatest in its field. Awesome blog!

    回复
  31. [url=https://cialissr.com/]generic cialis[/url] [url=https://baclofenonline.com/]baclofen pills 025 mg[/url] [url=https://robaxinmed.com/]robaxin generic[/url] [url=https://propeciaph.com/]order generic propecia online[/url] [url=https://levitrav.com/]levitra 20 mg cost[/url]

    回复
  32. I am not sure where you’re getting your info, but good topic.
    I needs to spend some time learning more or understanding more.
    Thanks for magnificent information I was looking for this information for my mission.

    回复
  33. [url=https://ampicillin24.com/]buy ampicillin[/url] [url=https://synthroidsale.com/]synthroid price[/url] [url=https://cymbaltarx.com/]cymbalta generic online[/url] [url=https://robaxinmed.com/]generic robaxin[/url] [url=https://trazodonemed.com/]trazodone medicine[/url] [url=https://propeciaph.com/]propecia 1mg generic[/url] [url=https://prednisonesr.com/]prednisone 20mg price[/url] [url=https://seroquel365.com/]average cost of seroquel[/url] [url=https://diclofenacg.com/]buy diclofenac[/url] [url=https://tadalafilcls.com/]canadian pharmacy online prescription tadalafil[/url] [url=https://anafranilmed.com/]anafranil over the counter[/url] [url=https://advairdisk.com/]advair diskus[/url] [url=https://tadalafilrem.com/]buy tadalafil 10 mg[/url] [url=https://prednisonestrd.com/]where to buy prednisone online without a script[/url] [url=https://indocinrx.com/]indocin[/url] [url=https://lasixwtp.com/]order lasic no prescription[/url] [url=https://cialissr.com/]cialis 20mg online australia[/url] [url=https://benicar24.com/]benicar price usa[/url] [url=https://kamagraed.com/]order kamagra online australia[/url] [url=https://accutanne.com/]buy accutane 20mg online[/url]

    回复
  34. Painter And Decorator Gloucester
    38 Bruton Way
    Gloucester GL1 1DA, United Kingdom
    01452 223268

    回复
  35. [url=https://sildenafilv.com/]sildenafil 100 mg tablet[/url] [url=https://tadalafilcls.com/]generic cialis tadalafil 20mg[/url] [url=https://amoxicillinzt.com/]amoxicillin online prescription[/url] [url=https://advairdisk.com/]advair diskus canada pharmacy[/url] [url=https://accutanne.com/]buy accutane online[/url] [url=https://cialissr.com/]cialis medication cost[/url] [url=https://trazodonemed.com/]trazodone medication[/url] [url=https://ampicillin24.com/]ampicillin price in india[/url] [url=https://tadalafilm.com/]tadalafil 20[/url] [url=https://seroquel365.com/]seroquel generic[/url]

    回复
  36. I savour, lead to I found exactly what I was looking for.
    You have ended my four day lengthy hunt! God Bless you man. Have a great day.
    Bye

    回复
  37. Having read this I believed it was very enlightening.
    I appreciate you taking the time and energy to put this content together.
    I once again find myself spending a lot of time
    both reading and leaving comments. But so what, it was
    still worth it!

    回复
  38. bedroom sex cams [url=https://sexcams00.club]sexcams00[/url] aparment spy sex cams.
    live webcam sex cams [url=https://sexcams00.live]watch sex cams [/url] free sex cams cam2 xname.
    live tranny sex cams [url=https://sexcams00.club]sexcams00.club[/url] older man forcing young woman for sex cams.
    top free sex cams [url=https://sexcams00.site]porn live sex cams [/url] kenya sex cams.
    teen girl sex cams [url=https://sexcams00.live]live web sex cams [/url] rellife sex spy appartments cams.
    chaturbate sex cams [url=https://sexcams00.work]sexcams00[/url] cams inside pussy sex pornhub.
    ashley raye sex cams [url=https://sexcams00.site]sexcams00[/url] best free live streaming home sex cams.
    ameture sex cams [url=https://sexcams00.site]gay men sex cams [/url] foreign grannies sex cams.

    回复
  39. [url=http://amoxicillinlab.com/]amoxicillin 500mg over the counter[/url] [url=http://cymbaltarx.com/]cymbalta price[/url] [url=http://lasixwtp.com/]lasix tablets online[/url] [url=http://diclofenacg.com/]diclofenac sodium 75[/url]

    回复
  40. Greetings from Idaho! I’m bored to tears at work so I decided to browse your website on my iphone during lunch break.
    I love the info you present here and can’t wait to
    take a look when I get home. I’m shocked at how quick your blog
    loaded on my phone .. I’m not even using WIFI, just
    3G .. Anyways, awesome site!

    回复
  41. I really like it whenever people come together and share ideas.
    Great blog, continue the good work!

    回复
  42. interracial sex cams [url=https://sexcams00.xyz]sexcams00[/url] 2 way sex cams.

    回复
  43. vr sex cams [url=https://sexcams00.site]sexcams00[/url] sex cams maryhenry.
    group sex cams [url=https://sexcams00.online]sexcams00.online[/url] panty hose sex cams.
    free streaming sex cams [url=https://sexcams00.site]latina sex cams [/url] free sex cams chat live.
    chaterbate sex cams [url=https://sexcams00.online]granny sex cams [/url] jr sex cams.
    sex cams jasmin [url=https://sexcams00.online]sexcams00[/url] craigslist personals no cc or sign up or upgrades public sex cams.
    cam4 free live sex cams [url=https://sexcams00.online]sexcams00[/url] muslim sex cams.
    vr sex cams [url=https://sexcams00.work]sexcams00[/url] foreplay sex video cams.
    sex cams couples [url=https://sexcams00.live]free sex cams live [/url] st.louis sex cams.

    回复
  44. If you are going for best contents like myself, just pay a quick visit this website all the time because it gives quality contents, thanks

    回复
  45. [url=https://propeciaph.com/]buy generic propecia[/url] [url=https://accutanne.com/]accutane buy[/url] [url=https://kamagraed.com/]buy canadian kamagra[/url]

    回复
  46. [url=https://synthroidsale.com/]synthroid 15 mg[/url]

    回复
  47. [url=http://anafranilmed.com/]anafranil price[/url] [url=http://accutanne.com/]buy accutane[/url] [url=http://seroquel365.com/]seroquel 50 mg for sleep[/url] [url=http://indocinrx.com/]indocin sr 75 mg[/url] [url=http://iventolin.com/]ventolin cream[/url]

    回复
  48. [url=https://amoxicillinlab.com/]buy amoxicillin[/url] [url=https://prednisonestrd.com/]where can i buy prednisone without a prescription[/url] [url=https://advairdisk.com/]500mg advair[/url]

    回复
  49. [url=http://prednisonestrd.com/]buy predisone steriods[/url] [url=http://anafranilmed.com/]anafranil for ocd[/url] [url=http://tadalafilrem.com/]tadalafil canada generic over the counter[/url] [url=http://cialissr.com/]cialis generic[/url] [url=http://prozacflx.com/]prozac script[/url] [url=http://accutanne.com/]accutane buy online[/url]

    回复
  50. [url=https://prednisonestrd.com/]where to buy prednisone[/url] [url=https://lasixwtp.com/]lasix online india[/url] [url=https://prozacflx.com/]buy prozac[/url] [url=https://advairdisk.com/]advair diskus 500 50 mg[/url] [url=https://propeciaph.com/]propecia 1 mg buy online[/url] [url=https://diclofenacg.com/]buy diclofenac[/url] [url=https://iventolin.com/]buy ventolin[/url]

    回复

发表评论

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