[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897230: Bug #897230: qa.debian.org: the instructions for UDD development do not work



On Mon, Apr 30, 2018 at 02:56:04PM +0200, Nicolas Braud-Santoni wrote:
> 
> - Vagrantfile refers to a local/contrib-stretch base box that
>   probably only exists on your machine; please use debian/stretch64 or somesuch.
> - `vagrant up` fails because the repository contains dangling symlinks
>   that rsync refuses to copy.
> 
> I am including patches for those issues.

The patch for the last issue, with rsync, was not complete.

Please find attached a corrected version of the patch
>From 585d6c4f825982ca94f0cb9159a35f9a83ab80c0 Mon Sep 17 00:00:00 2001
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Date: Mon, 30 Apr 2018 14:48:34 +0200
Subject: [PATCH 3/3] Vagrantfile: Allow symlinks in the shared folder

---
 Vagrantfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Vagrantfile b/Vagrantfile
index e19546f..b33d928 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -8,8 +8,12 @@ Vagrant.configure(2) do |config|
 
   config.vm.provider "virtualbox" do |vb|
     vb.memory = "4096"
+    vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
   end
 
+  config.vm.synced_folder ".", "/vagrant", type: "rsync",
+                          rsync__args: ["--verbose", "--archive", "--delete", "-z"]
+
   config.vm.provision "shell", path: "vagrant/provision.sh"
 
   # Forward agent when doing 'vagrant ssh' (needed for tunnels to ullmann/alioth)
-- 
2.17.0


Reply to: