building rpm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scytale
    Junior Member
    • Aug 2014
    • 8

    building rpm

    > how is the official rpm built ?

    platforms/buildme.pl --build rpm --buildDir $BUILDDIR --sourceDir
    $WORKSPACE --destDir $DESTDIR --releaseType nightly
  • scytale
    Junior Member
    • Aug 2014
    • 8

    #2
    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 ?

    Comment

    • mherger
      Babelfish's Best Boy
      • Apr 2005
      • 24099

      #3
      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.
      Michael

      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
      (LMS: Settings/Information)

      Comment

      • Johan S
        Member
        • Jan 2011
        • 90

        #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

        Comment

        Working...