aboutsummaryrefslogtreecommitdiff
path: root/nix/initramfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/initramfs.nix')
-rw-r--r--nix/initramfs.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nix/initramfs.nix b/nix/initramfs.nix
index 6ca3865..1db79a0 100644
--- a/nix/initramfs.nix
+++ b/nix/initramfs.nix
@@ -2,11 +2,9 @@
stdenv.mkDerivation {
name = "initramfs-yerba";
- src = ./.;
buildInputs = [ cpio ];
buildPhase = ''
mkdir -p $out
- # Create initramfs directory structure
mkdir -p initramfs/bin
cp -a ${busybox}/bin/* initramfs/bin/
cp ${./initramfs_init} initramfs/init
@@ -14,4 +12,7 @@ stdenv.mkDerivation {
cd initramfs
find . | cpio -o -H newc | gzip > $out/initramfs.cpio.gz
'';
+ installPhase = ''
+ echo "initramfs built"
+ '';
}