Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4

Thread: building rpm

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    8

    building rpm

    I was trying to see if I could easily get the rpm to use the new systemd file.

    However I can't even get `buildme.pl --build redhat ...` to run.

    The errors are quite basic and I've solved a few of them
    (e.g. need to clone `slimserver` and `slimserver-platforms` as `server` and `platforms` into same dir etc)

    but the remaining issues are so basic that I'm starting to think that no one actually uses this script

    how is the official rpm built ?

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,541

    building rpm

    > However I can't even get `buildme.pl --build redhat ...` to run.

    What errors would you get?

    > how is the official rpm built ?


    Using the above script :-). Don't have access to the build machine right
    now, but if you provided your input and the resulting output I could
    probably help.

  3. #3
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,541

    building rpm

    > how is the official rpm built ?

    platforms/buildme.pl --build rpm --buildDir $BUILDDIR --sourceDir
    $WORKSPACE --destDir $DESTDIR --releaseType nightly

  4. #4
    Hi,

    I made a comment about this in this thread: https://forums.slimdevices.com/showt...47#post1014447

    I wasn't aware that you were already working with adding a systemd unit to the RPM package until I found this thread. Anyway, if you think I can be of any help, just let me know.

    As far as I can see the main things to look at would be

    - Unit file must be slightly different compared to the one used by Debian due to the different content and location of the /etc/sysconfig/squeezeboxserver file
    - Amendment of /etc/sysconfig/squeezeboserver to allow users to pass additional arguments to the unit file (though ideally that would be done with a unit drop-in file in the systemd world).
    - the post install script in the RPM package would need updating to take care of enabling the unit file (there are some other needed changes there too since SUSE stopped shipping /etc/SuSE-release).

    Regards, Johan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •