#758 closed enhancement (fixed)
Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0
回報者: | John Gnew | 負責人: | |
---|---|---|---|
元件: | guest additions | 版本: | VirtualBox 1.5.0 |
關鍵字: | 副本: | ||
Guest type: | Linux | Host type: | other |
描述
I have modified the following attached files to allow the Linux From Scratch (LFS) distribution to install the Virtual Box Guest additions. My modifications are the minimum to make the install work. I did not come up with a good way to change the script file vboxadd-timesync but instead hard codded a change for the stop. LFS killproc requires a pid number in the pid file. Well at least that is the only way I could get it to work.
I have attached the files that I modified. I'm sure there are better ways for the modifications to be implemented.
John
附加檔案 (7)
更動歷史 (20)
17 年 前 由 編輯
附檔: | 新增 install.sh |
---|
跟進: 2 comment:1 17 年 前 由 編輯
Thanks very much. What did you actually change in install.sh though? Perhaps you meant to upload routines.sh?
comment:2 17 年 前 由 編輯
Replying to michael:
Thanks very much. What did you actually change in install.sh though? Perhaps you meant to upload routines.sh?
I just uploaded the routines.sh file. I missed updating the addrunlevel section. The directory structure on the LFS system is:
ls /etc/rc.d/ init.d rc1.d rc3.d rc5.d rc0.d rc2.d rc4.d rc6.d rcsysinit.d
As for updates in install.sh,
# Install the X Window drivers if [ ! "$install_xdrivers" = "" ]; then
log "Installing the X Window System drivers"
for dir in /usr/lib/X11/modules /usr/X11R6/lib/modules; do
X11 modules are /usr/lib/X11/modules
All documentation for the Linux From Scratch system is at http://www.linuxfromscratch.org/ The BLFS pages cover the Xorg and XFree installs.
comment:6 16 年 前 由 編輯
狀態: | closed → reopened |
---|---|
處理結果: | fixed |
I have made some changes to the routines.sh file from version 2.1.4 (it uploaded as routines.2.sh) to allow for a successful install on a Linux From Scratch platform. The changes are simply testing for lfs-release, setting ro_INIT_TYPE=lfs, and then additional tests throughout the script that will point to /etc/rc.d/init.d/.
I am reopening this ticket because I'm not sure if leaving it closed anyone will look at it. After this is looked at I am comfortable with this ticked being closed as I know what I need to edit in the script and this might help others.
comment:7 16 年 前 由 編輯
Sorry, The changed this I just posted are for the install of VBox on a Linux From Scratch system. I believe the Guest Additions actually were corrected a while back.
comment:8 16 年 前 由 編輯
Could you please attach a diff of the changes you think should be made against routines.sh in the 2.2 beta 2 installer, if any?
comment:9 16 年 前 由 編輯
I have attached a diff file of the changes that I made to the routines.sh file that allow it to work on a LFS system to install the base application. The main changes are changes to allow /etc/rc.d/init.d/. This is for the 2.1.4 installer. I just noticed the request is for the 2.2 installer. I will need to download that and look to see what is there.
comment:10 16 年 前 由 編輯
Can you point me to the link that allows the download of 2.2 beta 2? I can not find it.
comment:12 16 年 前 由 編輯
That was easy. I downloaded, verified the routines.sh file, then just went back and did the full install. It removed 2.1.4 and then installed 2.2.0 with no problem. Thanks and this can be closed.
comment:13 16 年 前 由 編輯
摘要: | Install Guest Additions to Linux From Scratch (LFS) → Install Guest Additions to Linux From Scratch (LFS) - fixed in 2.2.0 |
---|---|
狀態: | reopened → closed |
處理結果: | → fixed |
Thanks for the feedback.
install.sh