From 71aab849492c2cf50dd6c3c9a24ed36bac1252fa Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 25 Apr 2012 17:40:33 +0200 Subject: [PATCH] mk-sbuild: Support kmod, when checking for overlayfs availability. --- debian/changelog | 6 ++++++ mk-sbuild | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 487aed5..00a341f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ubuntu-dev-tools (0.142) UNRELEASED; urgency=low + + * mk-sbuild: Support kmod, when checking for overlayfs availability. + + -- Stefano Rivera Wed, 25 Apr 2012 17:38:58 +0200 + ubuntu-dev-tools (0.141) unstable; urgency=low * syncpackage: Log into Launchpad anonymously with --no-lp diff --git a/mk-sbuild b/mk-sbuild index 02cd3e3..d79f672 100755 --- a/mk-sbuild +++ b/mk-sbuild @@ -541,7 +541,7 @@ esac case "$SCHROOT_TYPE" in directory|file) if grep -q '\soverlayfs$' /proc/filesystems \ - || (/sbin/modprobe -l | grep -Fq '/overlayfs.ko'); then + || /sbin/modprobe -q --dry-run overlayfs; then OVERLAY_FS=overlayfs else OVERLAY_FS=aufs