Commit 804a6a43 authored by Joey Hess's avatar Joey Hess

warn about missing modules on FreeBSD

* Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD
  chroot or jail. Thanks, Arno Toell.
* When debootstrapping on FreeBSD, warn if necessary modules are not
  loaded. Thanks, Arno Toell.
parent 3b609a40
debootstrap (1.0.36) UNRELEASED; urgency=low
* Guess host OS based on uname for non-Debian systems. Closes: #637363
* Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD
chroot or jail.
* Clarify "target" in usage message.
* Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD
chroot or jail. Thanks, Arno Toell.
* Search PATH for programs, rather than checking hardcoded locations.
* Support using md5 and shaN programs, as found on FreeBSD, in addition
to md5sum and shaNsum.
* When FreeBSD (not kfreebsd) is the host, don't chroot to mount special
filesystems.
* When debootstrapping on FreeBSD, warn if necessary modules are not
loaded. Thanks, Arno Toell.
-- Joey Hess <joeyh@debian.org> Mon, 15 Aug 2011 14:14:29 -0400
......
......@@ -428,6 +428,12 @@ if [ -z "$ARCH" ] || [ -z "$HOST_OS" ]; then
fi
if [ "$HOST_OS" = "kfreebsd" ] || [ "$HOST_OS" = "freebsd" ]; then
for module in "linprocfs fdescfs tmpfs linsysfs"; do
kldstat -m "$module" > /dev/null 2>&1 || warning SANITYCHECK "Probably required module %s is not loaded" "$module"
done
fi
if [ "$TARGET" = "/" ]; then
CHROOT_CMD=""
elif doing_variant scratchbox; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment