devel: vbox drivers introduce symlinks which prevent use of orig.tar.gz
Bug #1426113 reported by
Andy Whitcroft
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
The introduction of the vbox drivers prevent use of a .orig.tar.gz. Need to work out how to remove these and restore them on clean.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-15.02 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.02 → ubuntu-15.03 |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Committed |
To post a comment you must log in.
when building kernel-sources with quilt i struggled about symlinks created master/ reconstruct master/ reconstruct vbox/vboxguest/ r0drv vbox/vboxsf/ include vbox/vboxsf/ r0drv vbox/vboxvideo/ include vbox/r0drv/ r0drv vbox/include/ include
in other folders.
had to add:
index 18b765f..6e5caa8 100644
--- a/debian.
+++ b/debian.
@@ -4,3 +4,5 @@ ln -sf ../r0drv ubuntu/
ln -sf ../include ubuntu/
ln -sf ../r0drv ubuntu/
ln -sf ../include ubuntu/
+rm -f ubuntu/
+rm -f ubuntu/
Better way should be to check if symlink exist.
Date: Wed, 4 Mar 2015 17:53:22 +0100 vbox-guest- fix-symlinks
Subject: [PATCH] ubuntu-
--- master/ reconstruct | 20 +++++++ +++++++ +-----
debian.
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/debian. master/ reconstruct b/debian. master/ reconstruct master/ reconstruct master/ reconstruct vbox/vboxguest/ include vbox/vboxguest/ r0drv vbox/vboxsf/ include vbox/vboxsf/ r0drv vbox/vboxvideo/ include vbox/vboxguest/ include ]; then vbox/vboxguest/ include vbox/vboxguest/ r0drv ]; then vbox/vboxguest/ r0drv vbox/vboxsf/ include ]; then vbox/vboxsf/ include vbox/vboxsf/ r0drv ]; then vbox/vboxsf/ r0drv vbox/vboxvideo/ include ]; then vbox/vboxvideo/ include
index 18b765f..caba9b7 100644
--- a/debian.
+++ b/debian.
@@ -1,6 +1,16 @@
# Reconstruct vbox symlinks (LP:1426113)
-ln -sf ../include ubuntu/
-ln -sf ../r0drv ubuntu/
-ln -sf ../include ubuntu/
-ln -sf ../r0drv ubuntu/
-ln -sf ../include ubuntu/
+if ! [ -e ubuntu/
+ ln -sf ../include ubuntu/
+fi
+if ! [ -e ubuntu/
+ ln -sf ../r0drv ubuntu/
+fi
+if ! [ -e ubuntu/
+ ln -sf ../include ubuntu/
+fi
+if ! [ -e ubuntu/
+ ln -sf ../r0drv ubuntu/
+fi
+if ! [ -e ubuntu/
+ ln -sf ../include ubuntu/
+fi
--
1.9.1