From 19b9a12a93a45cc02b31de9b40c45029fbf3c569 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 20 Mar 2022 00:00:54 +0000 Subject: changed the linux kernel configs --- repo/system/syslinux.xibuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/system/syslinux.xibuild (limited to 'repo/system/syslinux.xibuild') diff --git a/repo/system/syslinux.xibuild b/repo/system/syslinux.xibuild new file mode 100644 index 0000000..19edc66 --- /dev/null +++ b/repo/system/syslinux.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +MAKEDEPS="make " +DEPS="util-linux sbase musl" + +PKG_VER=6.03 +SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/${PKG_VER%.*}.xx/syslinux-$PKG_VER.tar.xz +ADDITIONAL=" + update-extlinux.conf + update-extlinux + 0018-prevent-pow-optimization.patch + fix-sysmacros.patch + " +DESC="Boot loader for the Linux operating system" + +prepare () { + apply_patches +} + +build () { + make efi64 installer +} + +package () { + make -j1 INSTALLROOT="$PKG_DEST" MANDIR=/usr/share/man \ + bios efi64 install + + mkdir -p "$PKG_DEST"/etc/update-extlinux.d + cp update-extlinux.conf "$PKG_DEST"/etc/ + sed "/^version=/s/=.*/=$PKG_VER/" update-extlinux \ + > "$PKG_DEST"/sbin/update-extlinux + chmod 755 "$PKG_DEST"/sbin/update-extlinux +} + -- cgit v1.2.1