Source: libeatmydata
Version: 82-2
Severity: wishlist
Tags: patch

After discussion on #765579 (#765810), I think it is good idea to update
manpage as attached.
 https://bugs.debian.org/765579
 https://bugs.debian.org/765810

Best regards,

Osamu

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libeatmydata-26.orig/debian/eatmydata.1 libeatmydata-26/debian/eatmydata.1
--- libeatmydata-26.orig/debian/eatmydata.1	2011-01-05 08:18:27.000000000 +0900
+++ libeatmydata-26/debian/eatmydata.1	2014-10-21 23:44:27.859353293 +0900
@@ -59,6 +59,17 @@
 .fi
 .P
 and enjoy sync\-free aptitude system-wide.
+.SH CAVEAT
+.P
+When using \fBeatmydata\fR with \fBchroot\fR (including wrapper scripts such as \fBpbuilder\fR, \fBcowbuilder\fR, \fBpdebuild\fR, \fBgit-pbuilder\fR, \fBgbp buildpackage\fR, ...), make sure to install the backported version of \fBlibeatmydata1\fR (>= 82-2~) in the chroot and set the \fBLD_PRELOAD\fR variable as:
+.P
+.nf
+    LD_PRELOAD=${LD_PRELOAD:+$LD_PRELOAD:}libeatmydata.so
+.fi
+.P
+in it.
+.P
+When using \fBeatmydata\fR with \fBsetarch\fR (including alias such as \fBlinux32\fR), make sure to install the matching architecture of \fBlibeatmydata1\fR in the \fBsetarch\fR environment and set the \fBLD_PRELOAD\fR variable as above in it.
 .SH AUTHOR
 The \fBeatmydata\fR wrapper around libeatmydata LD_PRELOAD library was written
 by Modestas Vainius <[email protected]>

Reply via email to