Menu

Building Fedora RPMs

2023-04-17
2023-04-24
  • Steven A. Falco

    Steven A. Falco - 2023-04-17

    I had to make a few trivial changes to the spec files for clonezilla and drbl in order to build rpms for Fedora Linux.

    We need "make" in order to build the packages. At one time "make" was automatically included, but now it has to be specifically mentioned via "BuildRequires:".

    Also, "dialog" is needed in order to run the packages, so I added it in the "Requires:" list.

    Patches are attached. I'm not sure if the patches should be submitted some other way - please let me know.

    Steve

     
  • Steven Shiau

    Steven Shiau - 2023-04-19

    Thanks for providing patches. We will think about that.

    Steven

     
  • Steven A. Falco

    Steven A. Falco - 2023-04-19

    Thanks! If you need any more information or any testing, please let me know.

     
  • Steven Shiau

    Steven Shiau - 2023-04-23

    Actually we can also build RPM packages of drbl and clonezilla on Debian system (I knew it seems weird...). However, since it does not have RPM database, so this line we will add it but with comment, i.e.,
    #BuildRequires: make
    Otherwise the building on Debian system will fail.

    Steven

     
  • Steven A. Falco

    Steven A. Falco - 2023-04-23

    Thanks for taking a look at it. It might be possible to use a conditional, like:

    %if 0%{?fedora} >= 37
    BuildRequires:  make
    %endif
    

    But I'd have to duplicate your Debian machine setup in order to test that. Is there a Debian VM that I could download to test with? Or do you have a web page with instructions to set up a Debian machine identical to what you use?

    By the way, the reason I am building Fedora packages is that I have not been able to get your Clonezilla Live images to run successfully on a new machine that I have assembled. I've tried the alternates, and I've tried burning a CD as well as using a flash drive. I can get to the first screen where it asks me to select the language, but at that point it doesn't respond to the mouse or keyboard.

    I've been able to boot this machine from a Fedora KDE Live disk, so I have built a Clonezilla Live image using the Fedora KDE Live disk as a base.

     
  • Steven Shiau

    Steven Shiau - 2023-04-23

    OK, great. We will use the condition you provided in drbl.spec and clonezilla.spec.
    As for the VM image, actually no. You can just use a docker image of Debian Bullseye or install it. Just a regular one with required packages.
    BTW, have you tried the testing Clonezilla live? E.g., >= 20230413-lunar or 3.1.0-19?

    Steven

     
  • Steven A. Falco

    Steven A. Falco - 2023-04-24

    I have tried both:

    clonezilla-live-3.1.0-19-amd64.zip
    clonezilla-live-20230413-lunar-amd64.zip
    

    I've attached two screenshots. In both cases I am stuck on the screen to select the language. I cannot type anything at this point; both TAB and RETURN do nothing.

    I'll try setting up a docker of Bullseye to test the conditional.

     

    Last edit: Steven A. Falco 2023-04-24

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.