diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/syslinux/syslinux.xibuild | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/syslinux/syslinux.xibuild')
-rw-r--r-- | repo/syslinux/syslinux.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/syslinux/syslinux.xibuild b/repo/syslinux/syslinux.xibuild new file mode 100644 index 0000000..19edc66 --- /dev/null +++ b/repo/syslinux/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 +} + |