diff options
| author | andromeda <andromeda@lenovo> | 2026-03-06 20:38:32 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-03-06 20:38:32 +0100 |
| commit | 42003df4157098f4977153b03df68491ab3c11bc (patch) | |
| tree | 27b61bd7a27df6e25db8b21dc0ee3daed01d79fb /bootler | |
| parent | d35463e1959cb64828c3166527b06e4a79cbea5e (diff) | |
| parent | 9c65697dd8119ec9cee13f57f870b07e305d27ec (diff) | |
merge new changes
Diffstat (limited to 'bootler')
| -rw-r--r-- | bootler/package.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bootler/package.nix b/bootler/package.nix index 4e18816..c4faf29 100644 --- a/bootler/package.nix +++ b/bootler/package.nix @@ -14,14 +14,13 @@ in ${nasm}/bin/nasm asm/boot.asm -o boot.bin ${nasm}/bin/nasm asm/kernel.asm -o dummy.bin - dd if=/dev/zero of=${bootImg} bs=512 count=2 + dd if=/dev/zero of=${bootImg} bs=512 count=2880 dd if=boot.bin of=${bootImg} conv=notrunc dd if=dummy.bin of=${bootImg} bs=512 seek=1 conv=notrunc ''; installPhase = '' mkdir -p $out/bin cp boot.bin $out/bin - cp dummy.bin $out/bin cp ${bootImg} $out/bin # create emulation binary |
