VirtualBox

17 年 前 建立

16 年 前 結束

#1587 closed defect (fixed)

Install guest addons on LFS guest

回報者: Thomas 負責人:
元件: guest additions 版本: VirtualBox 2.1.0
關鍵字: LFS OSE 副本: thomas@…
Guest type: Linux Host type: other

描述

Installing the guest addons in a guest machine fails when "distro" is Linux From Scratch. There are checks for "/usr/X11R6/lib/modules" while in LFS there is "/usr/X11R7.2/lib/X11/modules" and some other mismatches.

To see whether it is LFS, you may want to look for "/etc/lfs-release". Than you will know that the

  • boot-scripts are in "/etc/rc.d/init.d/"
  • X configuration should be "/etc/X11/xorg.conf"
  • X11 modules dir can be assumed as "/usr/X11R6/lib/X11/modules" (since there is a compatibility symlink from /usr/X11R7.x to /usr/X11R6)

Do you any chance to add this to the VBoxLinuxAdditions.run script?

Btw, I tested this on VB-1.5.6, I'll test it again on 1.6.x when x becomes greater than zero ;-)

更動歷史 (5)

comment:1 16 年 前Frank Mehnert 編輯

Guest type: otherLinux

comment:2 16 年 前Frank Mehnert 編輯

元件: otherguest additions

comment:3 16 年 前Michael Thayer 編輯

Sorry for the long delay on this one. Rather than look for /etc/lfs-release, I would rather handle this using autodetection, as I suspect that LFS systems are prone to vary somewhat. We already test for standard sys V systems (/etc/init.d exists) and for BSD ones (/etc/rc.d/rc.local or /etc/rc.local exists). I will simply add standard LFS (/etc/rc.d/init.d exists) to this. We already look for the X11 configuration file under /etc/X11/xorg.conf (among others), and I have added /usr/X11R6/lib/X11/modules to the locations we can install modules to, although our default is X -showDefaultModulePath in any case.

comment:4 16 年 前Michael Thayer 編輯

版本: VirtualBox 1.5.6VirtualBox 2.1.0

Correction: I test for both /etc/lfs-release and /etc/rc.d/init.d, and apply the LFS rules in that case. However, I don't have a LFS system handy to test with. I would be grateful if someone could make a ready-installed .vdi or .vmdk available, as I don't have time to set one up myself :)

comment:5 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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