further explanations for DEB Tutorial
-
- Posts: 19
- Joined: 28. Mar 2011, 10:05
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: 4.0.2
further explanations for DEB Tutorial
Hi All,
i dont understand the instructions here Build VirtualBox DEB packages from SVN.
I am on a LMDE System with kernel 3.6.11 and trying to make a DEB package. The instructions in the above link tell me to make a file called "/etc/debian" or "/etc/lmde" or "/etc/debian_version", what is this correct?
In my current file "/etc/debian_version" contains "wheezy/sid".
I want to use Virtualbox under all users in "vboxusers", so what do i have to do? Do i have to do the next steps in the above instructions/link as root or normal user?
regards Markus
i dont understand the instructions here Build VirtualBox DEB packages from SVN.
I am on a LMDE System with kernel 3.6.11 and trying to make a DEB package. The instructions in the above link tell me to make a file called "/etc/debian" or "/etc/lmde" or "/etc/debian_version", what is this correct?
In my current file "/etc/debian_version" contains "wheezy/sid".
I want to use Virtualbox under all users in "vboxusers", so what do i have to do? Do i have to do the next steps in the above instructions/link as root or normal user?
regards Markus
-
- Posts: 19
- Joined: 28. Mar 2011, 10:05
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: 4.0.2
Re: further explanations for DEB Tutorial
I created a file "/etc/distname" whit the contents:
When i execute <debian/rules binary> i get the message:
Any idea?
Code: Select all
Debian wheezy
Code: Select all
debian/rules:89: *** package distribution not detected (debrel=_LinuxMint_debian). Schluss.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: further explanations for DEB Tutorial
Sure. You are not using wheezy, your using Mint built off of wheezy.
Your deb release is listed in the error code.
VirtualBox does not build a dedicated LMDE so you would need to add the LMDE release name the distribution_deb and the /etc/distname
Your deb release is listed in the error code.
VirtualBox does not build a dedicated LMDE so you would need to add the LMDE release name the distribution_deb and the /etc/distname
Code: Select all
_LinuxMint_debian = DEBIAN_7_0
-
- Posts: 19
- Joined: 28. Mar 2011, 10:05
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: 4.0.2
Re: further explanations for DEB Tutorial
Thanks, i added "_LinuxMint_debian = DEBIAN_7_0" to the file "/usr/src/vbox/src/VBox/Installer/linux/distributions_deb".
In the "rules" file is the command "shell" which is not existing on my system and therefor i get an unknown command error when i execute it manually. Is it to late for me?
In the "rules" file is the command "shell" which is not existing on my system and therefor i get an unknown command error when i execute it manually. Is it to late for me?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: further explanations for DEB Tutorial
Did you do a clean?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: further explanations for DEB Tutorial
You probably also need to add the rel to the line in the rules
instmod := $(if $(filter _Ubuntu_lucid _Ubuntu_maverick _Ubuntu_natty _Ubuntu_oneiric _Debian_sid _LinuxMint_debian,$(debrel)),,1)
instmod := $(if $(filter _Ubuntu_lucid _Ubuntu_maverick _Ubuntu_natty _Ubuntu_oneiric _Debian_sid _LinuxMint_debian,$(debrel)),,1)
-
- Posts: 19
- Joined: 28. Mar 2011, 10:05
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: 4.0.2
Re: further explanations for DEB Tutorial
How can i see, whether i need this modified line?Perryg wrote:You probably also need to add the rel to the line in the rules
instmod := $(if $(filter _Ubuntu_lucid _Ubuntu_maverick _Ubuntu_natty _Ubuntu_oneiric _Debian_sid _LinuxMint_debian,$(debrel)),,1)
Yesterday i successfuly compiled the DEB package. But when i start virtualbox it leads me into my old problem, discussed -->here<--. How can i tell the compile process to disable opengl? <debian/rules --disable-opengl binary> ?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: further explanations for DEB Tutorial
You would need to add the following to the rules file. --disable-opengl , but I doubt this is what you really want.
-
- Posts: 19
- Joined: 28. Mar 2011, 10:05
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: 4.0.2
Re: further explanations for DEB Tutorial
Where do i have to put this option? In which line of the file "rules" ?Perryg wrote:You would need to add the following to the rules file. --disable-opengl , but I doubt this is what you really want.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: further explanations for DEB Tutorial
In the cfg_flags section.