add Red Hat's mkinitrd package. This is mainly so we can use the "grubby" program in NixOS.
svn path=/nixpkgs/trunk/; revision=6280
This commit is contained in:
parent
1026cf8396
commit
a9aa78e444
5
pkgs/os-specific/linux/mkinitrd/builder.sh
Normal file
5
pkgs/os-specific/linux/mkinitrd/builder.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
source $stdenv/setup
|
||||||
|
|
||||||
|
export BUILDROOT=$out
|
||||||
|
|
||||||
|
genericBuild
|
14
pkgs/os-specific/linux/mkinitrd/default.nix
Normal file
14
pkgs/os-specific/linux/mkinitrd/default.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{stdenv, fetchurl, popt}:
|
||||||
|
|
||||||
|
# Red Hat mkinitrd
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
builder = ./builder.sh;
|
||||||
|
name = "mkinitrd-4.2.15";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/mkinitrd-4.2.15.tar.bz2;
|
||||||
|
md5 = "2f707784c460613357343ab5ce8b3aad";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [popt];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user