forked from pool/virtualbox
ebaeb4f44b
- Own %{_sysconfdir}/X11/xinit/xinitrc.d as default packages (eg systemd) no longer do so, breaking package build. OBS-URL: https://build.opensuse.org/request/show/882530 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=595 |
||
---|---|---|
_constraints | ||
_multibuild | ||
_service | ||
.gitattributes | ||
.gitignore | ||
fix_conflict_between_host_and_guest.patch | ||
Fix_for_server_1.19.patch | ||
fix_lib_search.patch | ||
fix_usb_rules.sh | ||
fix-missing-includes-with-qt-5.15.patch | ||
fixes_for_gcc10.patch | ||
fixes_for_leap15.2.patch | ||
fixes_for_leap15.3.patch | ||
fixes_for_Leap42.3.patch | ||
fixes_for_makefile.patch | ||
fixes_for_python.patch | ||
fixes_for_qt5.13.patch | ||
fixes_for_Qt5.11.patch | ||
fixes_for_sle12.patch | ||
fixes-for-5.11.patch | ||
gcc5-real-support.patch | ||
handle_gsoap_208103.patch | ||
internal-headers.patch | ||
modify_for_4_8_bo_move.patch | ||
README.autostart | ||
README.build | ||
remove_vbox_video_build.patch | ||
security_fixes.patch | ||
smap.diff | ||
switch_to_python3.4+.patch | ||
turn_off_cloud_net.patch | ||
update-extpack.sh | ||
UserManual.pdf | ||
vb-6.1.16-modal-dialog-parent.patch | ||
vbox_remove_smp_mflags.patch | ||
vbox-default-os-type.diff | ||
vbox-deprec-gsoap-service-proxies.diff | ||
vbox-disable-updates.diff | ||
vbox-fpie.diff | ||
vbox-gsoapssl-deps.diff | ||
vbox-no-build-dates.diff | ||
vbox-permissions_warning.diff | ||
vbox-python-detection.diff | ||
vbox-smc-napa.diff | ||
vbox-suid-warning.diff | ||
vbox-usb-warning.diff | ||
vbox-vboxadd-init-script.diff | ||
vbox-vboxdrv-init-script.diff | ||
vboxadd-service.service | ||
vboxautostart.service | ||
vboxautostart.sh | ||
vboxconfig.sh | ||
vboxdrv.service | ||
vboxdrv.sh | ||
vboxguestconfig.sh | ||
vboxweb-service.service | ||
vboxweb-service.sh | ||
virtualbox-60-vboxdrv.rules | ||
virtualbox-60-vboxguest.rules | ||
VirtualBox-6.1.18-patched.tar.bz2 | ||
virtualbox-default.virtualbox | ||
virtualbox-fix-ui-background-color.patch | ||
virtualbox-kmp-files | ||
virtualbox-kmp-files-leap | ||
virtualbox-kmp-preamble | ||
virtualbox-LocalConfig.kmk | ||
virtualbox-patch-source.sh | ||
virtualbox-rpmlintrc | ||
virtualbox-sed-params.patch | ||
virtualbox-snpritnf-buffer-overflow.patch | ||
virtualbox-wrapper.sh | ||
VirtualBox.appdata.xml | ||
virtualbox.changes | ||
virtualbox.spec |
Instructions for creating a separate VirtualBox project and building the packages Although it is possible to modify a project at the openSUSE Build System (OBS), I have found it to be more convenient to use the various osc commands to create a local copy, edit it on my own computer to fix any problems, and then push the result to OBS. A. Create a new sub-project: 1. Branch the package: osc branch Virtualization virtualbox 2. Checkout the package using the "osc co" command listed B. Build the project: 1. Use "osc build" to build. This step is rather compute intensive and takes about an hour on my Toshiba laptop with a dual-core Intel Core i7 CPU with hyper-threading, 12 GB RAM, and an SSD. 2. The build results are stored in the /var/tmp/build-root tree. These files can occupy a lot of disc space, particularly when one builds several flavors. To keep from running out of space on the / partition, I mount /var/tmp on a separate partition. At present, I have used about 43 GiB in that partition. 3. Special flavors: When a new kernel is released, there may be several API changes that affect builds of the kernel modules used by VirtualBox. In Factory, the project that contains the latest kernels is "Kernel-HEAD-standard". To run a test build with this kernel, use the command "osc build Kernel-HEAD-standard". When switching between kernel projects, use of the "--clean" switch is advised, otherwise strange "missing library" messages will result. 4. On occasion, there may be breakage in the build when there is an update with python or Qt. Use the "--alternative-project=<xxx>" switch to force usage of the revised component. C. Steps to take with a new release: 1. When Orable releases a new version, you will need to download then new tarball from https://download.virtualbox.org/virtualbox/. While downloading the file, I also get the new UserManual.pdf. 2. openSUSE makes some changes to the tarball by running the command bash ./virtualbox-patch-source.sh <name of tarball just downloaded> This command unpacks the tar file, makes some modifications to the source, and recreates the tar file with "patched" in its name. Any further modifications are made by patches that are applied during the build process. Do NOT make any further changes to the tar file. 3. Edit the "Version" line near the start of virtualbox.spec to select the new version. 4. Use "osc rm <old version>" and "osc add <new version>" to get the new file into osc. The local build will work without these changes, but the remote operations will fail.`