Changeset 68057 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 20, 2017 10:38:12 AM (8 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r67753 r68057 34 34 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk 35 35 include $(PATH_SUB_CURRENT)/cbinding/Makefile.kmk 36 include $(PATH_SUB_CURRENT)/UnattendedTemplates/Makefile.kmk 36 37 37 38 -
trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg
r67882 r68057 63 63 # Custom Commands 64 64 d-i preseed/late_command string \ 65 mkdir /target/postinstall; \ 66 cd /target/postinstall; \ 67 touch post-install.sh; \ 68 echo '#!/bin/bash' >> post-install.sh; \ 69 echo 'apt-get -y install build-essential' >> post-install.sh; \ 70 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh; \ 71 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'mkdir /mnt/cdrom' >> post-install.sh; \ 72 echo 'echo' >> post-install.sh; \ 73 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh; \ 74 echo 'mount -t iso9660 -o ro /dev/sr1 /mnt/cdrom' >> post-install.sh; \ 75 echo 'bash /mnt/cdrom/VBoxLinuxAdditions.run' >> post-install.sh; \ 76 echo 'usermod -a -G vboxsf @@VBOX_INSERT_USER_LOGIN@@' >> post-install.sh; \ 77 echo 'eject /dev/sr0' >> post-install.sh; \ 78 @@VBOX_COND_END@@echo 'exit 0' >> post-install.sh; \ 79 chroot /target chmod +x /postinstall/post-install.sh; \ 65 mkdir -p /target/postinstall && \ 66 cd /target/postinstall && \ 67 echo '#!/bin/bash' > post-install.sh && \ 68 echo 'apt-get -y install build-essential' >> post-install.sh && \ 69 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh && \ 70 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'echo' >> post-install.sh && \ 71 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh && \ 72 echo 'bash /cdrom/VBoxAdditions/VBoxLinuxAdditions.run' >> post-install.sh && \ 73 echo 'usermod -a -G vboxsf "@@VBOX_INSERT_USER_LOGIN@@"' >> post-install.sh && \ 74 @@VBOX_COND_END@@@@VBOX_COND_IS_INSTALLING_TEST_EXEC_SERVICE@@echo 'echo' >> post-install.sh && \ 75 echo 'echo "TODO: Installing Test Execution Service..."' >> post-install.sh && \ 76 @@VBOX_COND_END@@echo exit 0' >> post-install.sh && \ 77 chmod +x /target/postinstall/post-install.sh && \ 80 78 chroot /target /bin/bash /postinstall/post-install.sh 79 -
trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg
r67882 r68057 63 63 # Custom Commands 64 64 d-i preseed/late_command string \ 65 mkdir /target/postinstall; \ 66 cd /target/postinstall; \ 67 touch post-install.sh; \ 68 echo '#!/bin/bash' >> post-install.sh; \ 69 echo 'apt-get -y install build-essential' >> post-install.sh; \ 70 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh; \ 71 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'mkdir /mnt/cdrom' >> post-install.sh; \ 72 echo 'echo' >> post-install.sh; \ 73 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh; \ 74 echo 'mount -t iso9660 -o ro /dev/sr1 /mnt/cdrom' >> post-install.sh; \ 75 echo 'bash /mnt/cdrom/VBoxLinuxAdditions.run' >> post-install.sh; \ 76 echo 'usermod -a -G vboxsf @@VBOX_INSERT_USER_LOGIN@@' >> post-install.sh; \ 77 echo 'eject /dev/sr0' >> post-install.sh; \ 78 @@VBOX_COND_END@@echo 'exit 0' >> post-install.sh; \ 79 chroot /target chmod +x /postinstall/post-install.sh; \ 65 mkdir -p /target/postinstall && \ 66 cd /target/postinstall && \ 67 echo '#!/bin/bash' > post-install.sh && \ 68 echo 'apt-get -y install build-essential' >> post-install.sh && \ 69 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh && \ 70 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'echo' >> post-install.sh && \ 71 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh && \ 72 echo 'bash /cdrom/VBoxAdditions/VBoxLinuxAdditions.run' >> post-install.sh && \ 73 echo 'usermod -a -G vboxsf "@@VBOX_INSERT_USER_LOGIN@@"' >> post-install.sh && \ 74 @@VBOX_COND_END@@@@VBOX_COND_IS_INSTALLING_TEST_EXEC_SERVICE@@echo 'echo' >> post-install.sh && \ 75 echo 'echo "TODO: Installing Test Execution Service..."' >> post-install.sh && \ 76 @@VBOX_COND_END@@echo exit 0' >> post-install.sh && \ 77 chmod +x /target/postinstall/post-install.sh && \ 80 78 chroot /target /bin/bash /postinstall/post-install.sh 79 80 # Same as above, but for ubiquity. 81 ubiquity ubiquity/success_command string \ 82 mkdir -p /target/postinstall && \ 83 cd /target/postinstall && \ 84 echo '#!/bin/bash' > post-install.sh && \ 85 echo 'apt-get -y install build-essential' >> post-install.sh && \ 86 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh && \ 87 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'echo' >> post-install.sh && \ 88 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh && \ 89 echo 'bash /cdrom/VBoxAdditions/VBoxLinuxAdditions.run' >> post-install.sh && \ 90 echo 'usermod -a -G vboxsf "@@VBOX_INSERT_USER_LOGIN@@"' >> post-install.sh && \ 91 @@VBOX_COND_END@@@@VBOX_COND_IS_INSTALLING_TEST_EXEC_SERVICE@@echo 'echo' >> post-install.sh && \ 92 echo 'echo "TODO: Installing Test Execution Service..."' >> post-install.sh && \ 93 @@VBOX_COND_END@@echo exit 0' >> post-install.sh && \ 94 chmod +x /target/postinstall/post-install.sh && \ 95 chroot /target /bin/bash /postinstall/post-install.sh 96
Note:
See TracChangeset
for help on using the changeset viewer.