From 7c6ec81cd2607d5d91a200c5fcfcb54662c6d084 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Wed, 21 Aug 2019 22:40:52 +0200 Subject: [PATCH] syslinux recipe added. --- syslinux/recipe.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 syslinux/recipe.spec diff --git a/syslinux/recipe.spec b/syslinux/recipe.spec new file mode 100644 index 0000000..e1864c2 --- /dev/null +++ b/syslinux/recipe.spec @@ -0,0 +1,17 @@ +name: syslinux +version: 6.03 +sources: https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.gz +dependencies: util-linux +build-dependencies: nasm, linux-dev, util-linux-dev + +@build + cd %{name}-%{version} + (echo '#include '; cat extlinux/main.c) > main.c.new && \ + mv main.c.new extlinux/main.c + make efi32 efi64 bios installer + +@install + cd %{name}-%{version} + make install \ + INSTALLROOT="%{pkg}" \ + EXTLINUXDIR=/boot/extlinux