-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
ectool: init at 4.9 #66494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ectool: init at 4.9 #66494
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { stdenv, fetchurl }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "ectool"; | ||
| version = "4.10"; | ||
|
|
||
| src = fetchurl { | ||
| url = "https://coreboot.org/releases/coreboot-${version}.tar.xz"; | ||
| sha256 = "1jsiz17afi2lqg1jv6lsl8s05w7vr7iwgg86y2qp369hcz6kcwfa"; | ||
| }; | ||
|
|
||
| buildPhase = '' | ||
| make -C util/ectool | ||
|
||
| ''; | ||
|
|
||
| installPhase = '' | ||
| install -Dm755 util/ectool/ectool $out/bin/ectool | ||
| ''; | ||
|
|
||
| meta = with stdenv.lib; { | ||
| description = "Dump the RAM of a laptop's Embedded/Environmental Controller (EC)"; | ||
| homepage = "https://www.coreboot.org"; | ||
| license = licenses.gpl2; | ||
| maintainers = [ maintainers.petabyteboy ]; | ||
| platforms = [ "i686-linux" "x86_64-linux" ]; | ||
| }; | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If in the future another package is added for
corebootutils, it would probably be best if there was a package that was just all of them.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very valid point, I will look into it in the future.