Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 11 123 ... LastLast
Results 1 to 10 of 104
  1. #1
    Senior Member
    Join Date
    Jul 2007
    Posts
    831

    Lightbulb Easy method to use SSODS to run SBS 7.6 betas on Linkstations

    [EDIT: 9/25/2010, this hack is not currently working with the ARM binaries in the nightly snapshots for 7.6. This is because the latest Perl modules compiled by Logitech have been linked against GLIBC2.7 whereas SSODS provides only GLIBC2.6]

    All,

    Flipflip's SSODS is an excellent and complete environment for running SBS on many types of NAS with many advantages. http://oinkzwurgl.org/ssods

    Understandably, the author doesn't want to be bothered with trying to keep it in track with nightly snapshots, but has a good track record of upgrading to keep pace with official releases.

    On the other hand, SBS 7.6 which makes use of SQLite as its default database is much faster to use on cpu-challenged architectures such as NAS boxes. There is a strong motivation to use the betas of 7.6 to get the benefit of a SBS that is *designed* to run on low powered ARM processors.

    I've just recently discovered a really easy way to get SBS7.6 running under SSODS without compiling anything or messing around with build scripts etc.

    In short the answer is to use SSODS but to prevent the "any Perl/CPAN stuff to disable?" functionality from running during the installation. I do this by deleting the ! (bang, or invert) character on line 185 of /opt/ssods4/bin/ssctrl, so that it reads:

    Code:
           # any Perl/CPAN stuff to disable?                                       
            if [  -f "$SSUSEBINARIES" ]; then                                       
                echo -n "."                                                         
                while read -u 5 line; do                                            
                    [ -z "$line" -o "${line:0:1}" = "#" ] && continue               
                    for F in $SSDIR/$line; do                                       
                        [ "$F" = "${F/-SSODS-/}" ] || continue                      
                        [ -f "$F-SSODS-ignore" -o ! -f "$F" ] && continue           
                        [ "$F" -nt "$F-SSODS-off" ] && mv "$F" "$F-SSODS-off"       
                        serverlog "Disabled $F"                                     
                    done                                                            
                done 5< $SSODSDIR/share/sbs/shipped-binaries
    instead of
    Code:
          # any Perl/CPAN stuff to disable?                                       
            if [ ! -f "$SSUSEBINARIES" ]; then
    This obviously inverts the logic that was intended, but it will serve our purpose. (Consequently, you shouldn't bother Flipflip if things are going wrong after doing this.) Once the change above is made, the default behavior will be *not* to disable CPAN functionality that is duplicated by SSODS's pre- compiled Perl modules. Now you can start up SSODS and load in the latest SBS 7.6 tarball (making sure to use one with ARM executables in it) and it should all work!
    Code:
    LC_ALL= /opt/ssods4/etc/init.d/rc.ssods start
    Please feedback your experiences to this thread so we can get an idea how well this works for other types of Linkstation. My successful test was on a LS-GL running firmware 1.15.

    PS: I used http://downloads.slimdevices.com/nig....6.0-30726.tgz, but presumably http://downloads.slimdevices.com/nig...-arm-linux.tgz would have worked just as well.
    Last edited by dsdreamer; 2010-09-25 at 20:53. Reason: added disclaimer because this is no longer working with recent nightly builds
    ----------------------
    "Dreamer, easy in the chair that really fits you..."

  2. #2
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566
    You could also go the easier way and just use the code as it is.

    Just place a file called SSODS_SSUSEBINARIES in the Squeezeboxserver directory and the code prevents ssods from renaming the original binaries.

    just go to the squezeboxserver diretory and run the command
    'touch SSODS_SSUSEBINARIES'

    and it should work. You just have to reinstall SbS to get the correct binaries
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  3. #3
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566

    Easy method to use SSODS torun SBS 7.6 betas on Linkstations

    You could also go the easier way and just use the code as it is.

    Just place a file called SSODS_SSUSEBINARIES in the Squeezeboxserver
    directory and the code prevents ssods from renaming the original
    binaries.

    just go to the squezeboxserver diretory and run the command
    'touch SSODS_SSUSEBINARIES'

    and it should work. You just have to reinstall SbS to get the correct
    binaries


    --
    mr_hyde

    2 x Squeezebox 3 - SSOTS 4.4 - Squeezecenter 7.4.2 - QNAP TS439 Pro
    (3.2.3 0209) - 4 x 500 GB Hitachi (RAID5)
    ------------------------------------------------------------------------
    mr_hyde's Profile: http://forums.slimdevices.com/member.php?userid=6032
    View this thread: http://forums.slimdevices.com/showthread.php?t=78509


  4. #4
    Senior Member
    Join Date
    Jul 2007
    Posts
    831

    Agreed.

    Quote Originally Posted by mr_hyde View Post
    You could also go the easier way and just use the code as it is.

    Just place a file called SSODS_SSUSEBINARIES in the Squeezeboxserver directory and the code prevents ssods from renaming the original binaries.

    just go to the squezeboxserver diretory and run the command
    'touch SSODS_SSUSEBINARIES'

    and it should work. You just have to reinstall SbS to get the correct binaries
    I know. But for new users, having to touch a file in a directory that doesn't yet exist, or do the install twice doesn't seem convenient.

    Your way is undoubtedly the proper way to do it, and avoids the need to use an editor of any kind, so indeed some might prefer it.
    ----------------------
    "Dreamer, easy in the chair that really fits you..."

  5. #5
    Senior Member
    Join Date
    Jul 2007
    Posts
    831

    Easy method to use SSODS torun SBS 7.6 betas on Linkstations

    mr_hyde;545069 Wrote:
    > You could also go the easier way and just use the code as it is.
    >
    > Just place a file called SSODS_SSUSEBINARIES in the Squeezeboxserver
    > directory and the code prevents ssods from renaming the original
    > binaries.
    >
    > just go to the squezeboxserver diretory and run the command
    > 'touch SSODS_SSUSEBINARIES'
    >
    > and it should work. You just have to reinstall SbS to get the correct
    > binaries


    I know. But for new users, having to touch a file in a directory that
    doesn't yet exist, or do the install twice doesn't seem convenient.

    Your way is undoubtedly the proper way to do it, and avoids the need to
    use an editor of any kind, so indeed some might prefer it.


    --
    dsdreamer

    ----------------------
    "Dreamer, easy in the chair that really fits you..."
    ------------------------------------------------------------------------
    dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
    View this thread: http://forums.slimdevices.com/showthread.php?t=78509


  6. #6
    I don't know when/where to do the following:


    In short the answer is to use SSODS but to prevent the "any Perl/CPAN stuff to disable?" functionality from running during the installation. I do this by deleting the ! (bang, or invert) character on line 185 of /opt/ssods4/bin/ssctrl, so that it reads:
    Squeezebox v3 (firmware 130), SBS 7.6, Buffalo LS-CH1.0TL, ipeng 1.2

    last.fm

    .:.

  7. #7

    Easy method to use SSODS torun SBS 7.6 betas on Linkstations

    I don't know when/where to do the following:


    In short the answer is to use SSODS but to prevent the "any Perl/CPAN
    stuff to disable?" functionality from running during the installation.
    I do this by deleting the ! (bang, or invert) character on line 185 of
    /opt/ssods4/bin/ssctrl, so that it reads:


    --
    ..:.impossible

    Squeezebox v3 (firmware 113), SqueezeCenter Version: 7.3.3 ipkg, Buffalo
    LS-CH1.0TL, Mac OSX 10.6.1, ipeng 1.2

    'last.fm' (http://www.last.fm/user/impimpossible)

    ..:.
    ------------------------------------------------------------------------
    ..:.impossible's Profile: http://forums.slimdevices.com/member.php?userid=18115
    View this thread: http://forums.slimdevices.com/showthread.php?t=78509


  8. #8
    Senior Member
    Join Date
    Jul 2007
    Posts
    831

    After you have untarred SSODS4.8

    Quote Originally Posted by .:.impossible View Post
    I don't know when/where to do the following:


    In short the answer is to use SSODS but to prevent the "any Perl/CPAN stuff to disable?" functionality from running during the installation. I do this by deleting the ! (bang, or invert) character on line 185 of /opt/ssods4/bin/ssctrl, so that it reads:
    Once you have untarred SSODS4.8 using the installation instructions at http://oinkzwurgl.org/ssods, but before starting it up.

    You will need to have access to a text editor that you know how to use, so that you can go to line 185 of /opt/ssods4/bin/ssctrl and delete the '!' character on that line.

    (If you are not comfortable using a text editor on your Linkstation, the procedure outlined by mr_hyde may be more suitable. In that case you need to install a SBS from the SSODS interface before going in and doing 'touch SSODS_SSUSEBINARIES' in the Squeezeboxserver installation directory. Then you will need to reinstall the SBS one more time to get the desired effect.)
    ----------------------
    "Dreamer, easy in the chair that really fits you..."

  9. #9
    Senior Member
    Join Date
    Jul 2007
    Posts
    831

    Easy method to use SSODS torun SBS 7.6 betas on Linkstations

    ..:.impossible;545299 Wrote:
    > I don't know when/where to do the following:
    >
    >
    > In short the answer is to use SSODS but to prevent the "any Perl/CPAN
    > stuff to disable?" functionality from running during the installation.
    > I do this by deleting the ! (bang, or invert) character on line 185 of
    > /opt/ssods4/bin/ssctrl, so that it reads:


    Once you have untarred SSODS4.8 using the installation instructions at
    http://oinkzwurgl.org/ssods, but before starting it up.

    You will need to have access to a text editor that you know how to use,
    so that you can go to line 185 of /opt/ssods4/bin/ssctrl and delete the
    '!' character on that line.

    (If you are not comfortable using a text editor on your Linkstation,
    the procedure outlined by mr_hyde may be more suitable. In that case
    you need to install a SBS from the SSODS interface before going in and
    doing 'touch SSODS_SSUSEBINARIES' in the Squeezeboxserver installation
    directory. Then you will need to reinstall the SBS one more time to get
    the desired effect.)


    --
    dsdreamer

    ----------------------
    "Dreamer, easy in the chair that really fits you..."
    ------------------------------------------------------------------------
    dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
    View this thread: http://forums.slimdevices.com/showthread.php?t=78509


  10. #10
    arrrgh. for some reason, i do not have permission to save the file after editing; however, everything is set to read/write.

    i am very amateur...

    can you walk me through step by step, stating the obvious, what is happening here:

    Once you have untarred SSODS4.8 using the installation instructions at http://oinkzwurgl.org/ssods, but before starting it up.

    You will need to have access to a text editor that you know how to use, so that you can go to line 185 of /opt/ssods4/bin/ssctrl and delete the '!' character on that line.

    thanks guys!
    Squeezebox v3 (firmware 130), SBS 7.6, Buffalo LS-CH1.0TL, ipeng 1.2

    last.fm

    .:.

Posting Permissions

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