VirtualBox

Ticket #9487: mageia.patch

File mageia.patch, 4.1 KB (added by Michael Thayer, 13 years ago)

Handle Linux distributions more generically in a couple of places

  • src/VBox/Installer/linux/VBoxSysInfo.sh

     
    3434# others as unknown.  It can be extended later if other distributions are
    3535# found to be "of interest".
    3636get_linux_info () {
    37     if [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
     37    if which lsb_release > /dev/null 2>&1
    3838    then
    39         # Ubuntu-based system
    40         . /etc/lsb-release
    41         print_linux_info "Ubuntu" $DISTRIB_RELEASE
     39        # LSB-compliant system
     40        print_linux_info `lsb_release -i -s` `lsb_release -r -s`
    4241    elif [ -r /etc/debian_version ]
    4342    then
    4443        # Debian-based system
  • src/VBox/Frontends/VirtualBox/src/main.cpp

     
    7676  "there is a permission problem with /dev/vboxdrv. Please reinstall the kernel "
    7777  "module by executing<br/><br/>"
    7878  "  <font color=blue>'/etc/init.d/vboxdrv setup'</font><br/><br/>"
    79   "as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS "
     79  "as root. If it is available, you should install the DKMS "
    8080  "package first. This package keeps track of Linux kernel changes and "
    8181  "recompiles the vboxdrv kernel module if necessary."
    8282  );
  • doc/manual/fr_FR/user_Installation.xml

     
    282282
    283283      <para>Le module noyau de VirtualBox est automatiquement installé sur votre
    284284      système quand vous installez VirtualBox. Pour le maintenir avec les futures
    285       mises à jour du noyau, pour les distributions Linux récentes, -- par
    286       exemple,  Fedora Core 5 et supérieur, Ubuntu 7.10 (Gutsy) et supérieur et
    287       Mandriva 2007.1 et supérieur --, nous recommandons en général d'installer
     285      mises à jour du noyau, pour les distributions Linux qui le fournissent --
     286      la plupart des distributions actuelles --, nous recommandons d'installer
    288287      le Dynamic Kernel Module Support (DKMS) (support de module noyau dynamique)<footnote>
    289288          <para>Voir <ulink
    290289          url="http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support">http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support</ulink>
     
    305304          </listitem>
    306305
    307306          <listitem>
    308             <para>Sur un système Mandriva&nbsp;:<screen>urpmi dkms</screen></para>
     307            <para>Sur un système Mandriva ou Mageia&nbsp;:<screen>urpmi dkms</screen></para>
    309308          </listitem>
    310309        </itemizedlist></para>
    311310
  • doc/manual/en_US/user_Installation.xml

     
    280280
    281281      <para>The VirtualBox kernel module is automatically installed on your
    282282      system when you install VirtualBox. To maintain it with future kernel
    283       updates, for most Linux distributions -- for example Fedora Core 11 and
    284       later, Ubuntu 8.04 (Hardy) and later and Mandriva 2009.1 and later --,
    285       generally we recommend installing Dynamic Kernel Module Support
     283      updates, for those Linux distributions which provide it -- most
     284      current ones -- we recommend installing Dynamic Kernel Module Support
    286285      (DKMS)<footnote>
    287286          <para>See <ulink
    288287          url="http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support">http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support</ulink>
     
    303302          </listitem>
    304303
    305304          <listitem>
    306             <para>On a Mandriva system:<screen>urpmi dkms</screen></para>
     305            <para>On a Mandriva or Mageia system:<screen>urpmi dkms</screen></para>
    307306          </listitem>
    308307        </itemizedlist></para>
    309308

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy