Steven Chamberlain <ste...@pyro.eu.org> (2014-08-29): > Please may I commit the following to d-i/partman-basicfilesystems? > -hurd@ already requested to keep commit.d/format_swap, so this is a > kfreebsd-only change. > > Thanks. > > --- a/debian/changelog > +++ b/debian/changelog > @@ -1,3 +1,11 @@ > +partman-basicfilesystems (98) UNRELEASED; urgency=low > + > + [ Steven Chamberlain ] > + * Skip commit.d/format_swap on kfreebsd-*, whose swap partitions do > + not need to be formatted (Closes: #757987) > + > + -- Debian Install System Team <debian-boot@lists.debian.org> Fri, 22 Aug > 2014 12:23:11 +0100 > + > partman-basicfilesystems (97) unstable; urgency=medium > > * dosfstools has a good deal of Linux-specific code and isn't currently > --- a/commit.d/format_swap > +++ b/commit.d/format_swap > @@ -1,5 +1,18 @@ > #!/bin/sh > > +ARCH="$(archdetect)" > + > +# The mkswap utility only supports Linux-type swap partitions, used > +# on Linux and Hurd; do not use it on kfreebsd which does need to > +# format swap partitions > +case $ARCH in > + kfreebsd-*) > + exit 0 > + ;; > + *) > + ;; > +esac > + > . /lib/partman/lib/base.sh > > for dev in $DEVICES/*; do
I'm no partman-* expert, but that doesn't look crazy to me. Mraw, KiBi.
signature.asc
Description: Digital signature