[Rock-dev] [rock] #354: autoprj_bootstrap does not work on Manjaro (Archlinux variant)

rock noreply at opendfki.de
Fri Oct 18 12:49:15 CEST 2013


#354: autoprj_bootstrap does not work on Manjaro (Archlinux variant)
----------------------------------------+----------------------------------
 Reporter:  traveler.hauptman           |       Owner:  rock-dev-mailing-
     Type:  defect                      |  list
 Priority:  normal                      |      Status:  new
Component:  toolchain                   |   Milestone:
 Keywords:  autoproj archlinux manjaro  |  Resolution:
----------------------------------------+----------------------------------

Comment (by traveler.hauptman):

 I am only a little familiar with Ruby and it's idioms.

 Manjaro and Archlinux now both use lsb_release.

 Manjaro is almost identical to Archlinux with the exception of some
 improvements to user interfaces and multiple kernel management. So for now
 using @operating_system 'arch' should be sufficient.


 {{{
 --- autoproj_bootstrap  2013-10-12 06:03:26.000000000 +0200
 +++ autoproj_bootstrap.old      2013-10-18 12:36:14.866812603 +0200
 @@ -875,7 +875,11 @@
                          if File.exists?("/etc/debian_version")
                              @operating_system = [[lsb_name, "debian"],
 lsb_versions]
                          else
 +                                                       if lsb_name ==
 "manjarolinux"
 +
 @operating_system = [['arch'], []]
 +                                                       else
                              @operating_system = [[lsb_name],
 lsb_versions]
 +                                                       end
                          end
                      end
                  end


 }}}

-- 
Ticket URL: <http://rock.opendfki.de/ticket/354#comment:4>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list