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

Bug#691647: unblock: schroot/1.6.4-1



On Sat, Nov 10, 2012 at 10:23:10AM +0000, Roger Leigh wrote:
> On Tue, Oct 30, 2012 at 08:24:51PM +0000, Roger Leigh wrote:
> > On Sun, Oct 28, 2012 at 12:53:08PM +0000, Roger Leigh wrote:
> > > On Sun, Oct 28, 2012 at 12:39:28AM +0100, Roger Leigh wrote:
> > > > Please unblock package schroot
> > > > 
> > > > I have uploaded schroot 1.6.4-1 to unstable.  This contains some
> > > > documentation for wheezy upgrade issues, plus some fixes for
> > > > serious and important bugs in wheezy:
> > > 
> > > I had to make an additional 3 line change to fix building on
> > > hurd and kfreebsd (attached)
> > 
> > And an additional change to allow for symlinks in paths on the
> > host.
> > 
> > unblock schroot/1.6.4-3
> 
> I do have a further portablity patch for kfreebsd:
> 
> http://anonscm.debian.org/gitweb/?p=buildd-tools/schroot.git;a=commitdiff;h=73f9ab7ff14c348c262813fdd454132edf45ef5a
> http://anonscm.debian.org/gitweb/?p=buildd-tools/schroot.git;a=commitdiff;h=9bc4e6abef18fcb16ba8bf579dfa6946657cbfac
> 
> but I was holding off on uploading it without any feedback
> regarding the above unblock request.
> 
> This patch is needed to allow sbuild to work on kfreebsd.
> Without it, there are no device nodes (fatal) and no scratch
> space for building.

I've now uploaded this additional bugfix, patch follows.

All of the changes since 1.6.3-1 in testing to 1.6.4-1 in unstable
are here:
  http://anonscm.debian.org/gitweb/?p=buildd-tools/schroot.git;a=shortlog;h=refs/heads/schroot-1.6

If some of the included changes here are too big, I'll be happy to
make an upload of a subset of the changes to testing-proposed-updates,
but I do need some feedback in order to start doing that.
There are a number of bugs fixed here:

692213: essential for kFreeBSD
686148,691694: security issue
#688304: cosmetic but annoying
#689078: broken environment; breaks buildd setup scripts; not
         critical, but breaks interface.  Required refactoring to
         fix, which results in the bulk of the diff
#691376: mounts wrong filesystem on recovery.

And it also fixes a number of other issues including locking and
upgrade notes.


Regards,
Roger


diff --git a/debian/changelog b/debian/changelog
index 03decda..8ecb116 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+schroot (1.6.4-4) unstable; urgency=low
+
+  * schroot: Add sbuild profile fstab file for freebsd
+    (Closes: #692213).  This mounts /dev, /dev/fd and /build.
+
+ -- Roger Leigh <rleigh@debian.org>  Sat, 03 Nov 2012 15:19:16 +0000
+
 schroot (1.6.4-3) unstable; urgency=low
 
   * schroot-mount canonicalises both the base path and full
diff --git a/etc/profile-templates/sbuild/freebsd/fstab b/etc/profile-templates/sbuild/freebsd/fstab
new file mode 100644
index 0000000..778bd42
--- /dev/null
+++ b/etc/profile-templates/sbuild/freebsd/fstab
@@ -0,0 +1,5 @@
+dev		/dev		devfs	rw,bind		0	0
+dev		/dev/fd		fdescfs	rw,bind		0	0
+# Mount a large scratch space for the build, so we don't use up
+# space on an LVM snapshot of the chroot itself.
+/var/lib/sbuild/build	/build	nullfs	rw	0	0

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800

Attachment: schroot_1.6.3-1_1.6.4-4.debdiff.gz
Description: Binary data


Reply to: