diff --git a/pkgs/tiny-linux-bootloader/build.sh b/pkgs/tiny-linux-bootloader/build.sh index d604697..72819ea 100644 --- a/pkgs/tiny-linux-bootloader/build.sh +++ b/pkgs/tiny-linux-bootloader/build.sh @@ -7,6 +7,7 @@ fetch() { cd $pkgname-$pkgver patch -p1 < ../../build.patch patch -p1 < ../../bsect.patch + patch -p1 < ../../remove-dead.patch } package() { diff --git a/pkgs/tiny-linux-bootloader/remove-dead.patch b/pkgs/tiny-linux-bootloader/remove-dead.patch new file mode 100644 index 0000000..6d5547e --- /dev/null +++ b/pkgs/tiny-linux-bootloader/remove-dead.patch @@ -0,0 +1,11 @@ +--- a/bsect.asm ++++ b/bsect.asm +@@ -135,7 +135,7 @@ + .loop: + cmp edx, 127*512 + jl loader.part_2 +- jz loader.finish ++; jz loader.finish + + mov ax, 127 ;count + xor bx, bx ; offset