From: Leo Famulari <leo@famulari.name>
To: Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add freefall.
Date: Wed, 16 Mar 2016 02:47:47 -0400 [thread overview]
Message-ID: <20160316064747.GA30457@jasmine> (raw)
In-Reply-To: <1458099269-19695-1-git-send-email-tobias.geerinckx.rice@gmail.com>
On Wed, Mar 16, 2016 at 04:34:29AM +0100, Tobias Geerinckx-Rice wrote:
> * gnu/packages/linux.scm (freefall): New variable.
Looks good!
Do you think we should change the 'alarm' value as in the Nix package?
> ---
>
> A little example-cum-useful-tool included in the Linux tree.
>
> Regards,
>
> T G-R
>
> gnu/packages/linux.scm | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index a2412d0..09c0c7e 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -2524,3 +2524,29 @@ easy administration.")
> ;; GPL2+: crc32.c, radix-tree.c, raid6.c, rbtree.c.
> ;; GPL2: Everything else.
> (license (list license:gpl2 license:gpl2+))))
> +
> +(define-public freefall
> + (package
> + (name "freefall")
> + (version (package-version linux-libre))
> + (source (package-source linux-libre))
> + (build-system gnu-build-system)
> + (arguments
> + '(#:phases (modify-phases %standard-phases
> + (add-after 'unpack 'enter-subdirectory
> + (lambda _
> + (chdir "tools/laptop/freefall")))
> + (delete 'configure))
> + #:make-flags (list (string-append "PREFIX="
> + (assoc-ref %outputs "out")))
> + #:tests? #f)) ;no tests
> + (home-page (package-home-page linux-libre))
> + (synopsis "Free-fall protection for spinning laptop hard drives")
> + (description
> + "Prevents shock damage to the internal spinning hard drive(s) of some
> +HP and Dell laptops. When sudden movement is detected, all input/output
> +operations on the drive are suspended and its heads are parked on the ramp,
> +where they are less likely to cause damage to the spinning disc. Requires a
> +drive that supports the ATA/ATAPI-7 IDLE IMMEDIATE command with unload
> +feature, and a laptop with an accelerometer. It has no effect on SSDs.")
> + (license license:gpl2)))
> --
> 2.7.0 :-(
>
>
next prev parent reply other threads:[~2016-03-16 6:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 3:34 [PATCH] gnu: Add freefall Tobias Geerinckx-Rice
2016-03-16 6:47 ` Leo Famulari [this message]
2016-03-16 11:09 ` Tobias Geerinckx-Rice
2016-03-16 18:34 ` Efraim Flashner
2016-03-16 20:45 ` [PATCH v2] " Tobias Geerinckx-Rice
2016-03-17 4:28 ` [PATCH] " Leo Famulari
2016-03-17 4:34 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160316064747.GA30457@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=tobias.geerinckx.rice@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).