On Fri, Mar 06, 2015 at 11:25:52AM +0100, Hubert Feurstein wrote: > Signed-off-by: Hubert Feurstein <[email protected]>
Thanks, applied (It's already in ptxdist-2015.03.0). Michael > --- > rules/util-linux-ng.in | 12 ++++++++++++ > rules/util-linux-ng.make | 3 +++ > 2 files changed, 15 insertions(+) > > diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in > index a5f51a6..50dfbf6 100644 > --- a/rules/util-linux-ng.in > +++ b/rules/util-linux-ng.in > @@ -200,6 +200,18 @@ config UTIL_LINUX_NG_FSCK > comment "BusyBox' fsck is selected!" > depends on BUSYBOX_FSCK > > +config UTIL_LINUX_NG_FSTRIM > + bool > + prompt "fstrim" > + depends on !BUSYBOX_FSTRIM || ALLYES > + help > + fstrim is used on a mounted filesystem to discard (or "trim") > + blocks which are not in use by the filesystem. This is useful > + for solid-state drives (SSDs) and thinly-provisioned storage. > + > +comment "BusyBox' fstrim is selected!" > + depends on BUSYBOX_FSTRIM > + > config UTIL_LINUX_NG_IPCS > bool > prompt "ipcs" > diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make > index fc28c66..acd3b78 100644 > --- a/rules/util-linux-ng.make > +++ b/rules/util-linux-ng.make > @@ -205,6 +205,9 @@ endif > ifdef PTXCONF_UTIL_LINUX_NG_FSCK > @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/fsck) > endif > +ifdef PTXCONF_UTIL_LINUX_NG_FSTRIM > + @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/fstrim) > +endif > ifdef PTXCONF_UTIL_LINUX_NG_IPCS > @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/ipcs) > endif > -- > 2.3.0 > > > -- > ptxdist mailing list > [email protected] > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
