aboutsummaryrefslogtreecommitdiff
path: root/nix/initramfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/initramfs.nix')
-rw-r--r--nix/initramfs.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/nix/initramfs.nix b/nix/initramfs.nix
deleted file mode 100644
index 5d023c4..0000000
--- a/nix/initramfs.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ stdenv, kernel, busybox, cpio }:
-
-stdenv.mkDerivation {
- name = "initramfs-yerba";
- src = ./.;
- buildInputs = [ cpio ];
- buildPhase = ''
- mkdir -p initramfs/bin
- cp -a ${busybox}/_install/* initramfs/
- cp ${../initramfs_init} initramfs/init
- chmod +x initramfs/init
- cd initramfs
- find . | cpio -o -H newc | gzip > $out
- '';
- installPhase = ''
- echo "initramfs built"
- '';
-}