Skip to contentSkip to conversation

Is it possible to build rpm with buildroot?

Buildroot yilu at bupt.edu.cn 2 participants 4 messages Dec 1, 2020

lore
Share & tools
lore
#1 lore raw

Hi Beenle Yi,

Quoted 3 lines · yilu at bupt.edu.cn

I am trying to build rpm for a Linux-like operating system, but instead of rootfs, I want to build rpm. Is it possible to build rpm with buildroot? If it is, could you give me some advice?

Short answer: Buildroot does not support generation of binary packages.

For some more details, see the manual FAQ:

https://buildroot.org/downloads/manual/manual.html#faq-no-binary-packages

baruch

Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

Thank you, Baruch

I got it. Is it possible for me to add something new to buildroot source codes to generate binary packages? I am sorry that I am not familiar with buildroot and I am trying to test the feasibility to build rpm for my OS with the help of buildroot.

Beenle Yi
yilu at bupt.edu.cn

From: Baruch Siach
Date: 2020-12-01 20:39
To: yilu at bupt.edu.cn
CC: buildroot
Subject: Re: [Buildroot] Is it possible to build rpm with buildroot? Hi Beenle Yi,

Quoted 3 lines · yilu at bupt.edu.cn

I am trying to build rpm for a Linux-like operating system, but instead of rootfs, I want to build rpm. Is it possible to build rpm with buildroot? If it is, could you give me some advice?

Short answer: Buildroot does not support generation of binary packages.

For some more details, see the manual FAQ:

https://buildroot.org/downloads/manual/manual.html#faq-no-binary-packages

baruch

Signature · 7 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201201/7d1db310/attachment.html>
#3 lore raw

Hi Beenle Yi,

Quoted 4 lines · yilu at bupt.edu.cn

I got it. Is it possible for me to add something new to buildroot source codes to generate binary packages? I am sorry that I am not familiar with buildroot and I am trying to test the feasibility to build rpm for my OS with the help of buildroot.

I don't think that patches adding rpm generation will be accepted. The FAQ entry I linked to explains why. In short, binary packages dependency tracking is complex. Buildroot is not designed for this use case. You can try alternatives like Yocto or OpenWRT.

baruch

Quoted 19 lines

From: Baruch Siach
Date: 2020-12-01 20:39
To: yilu at bupt.edu.cn
CC: buildroot
Subject: Re: [Buildroot] Is it possible to build rpm with buildroot? Hi Beenle Yi,

Quoted 3 lines · yilu at bupt.edu.cn

I am trying to build rpm for a Linux-like operating system, but instead of rootfs, I want to build rpm. Is it possible to build rpm with buildroot? If it is, could you give me some advice?

Short answer: Buildroot does not support generation of binary packages.

For some more details, see the manual FAQ:

https://buildroot.org/downloads/manual/manual.html#faq-no-binary-packages

baruch

Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -