Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
bootiso
syslinux-lib-root.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File syslinux-lib-root.patch of Package bootiso
From: = Mustafa Çalışkan <musfay@protonmail.com> Date: Mon, 1 Feb 2021 23:43:06 +0300 Subject: [PATCH] export syslinux lib root --- bootiso | 2 ++ 1 file changed, 2 insertions(+) Index: bootiso-4.2.0/bootiso =================================================================== --- bootiso-4.2.0.orig/bootiso +++ bootiso-4.2.0/bootiso @@ -23,6 +23,9 @@ # This file is organized in "pseudo-modules". # Refer to the style.md file for a detailed definition. +# SUSE default +export BOOTISO_SYSLINUX_LIB_ROOT=${BOOTISO_SYSLINUX_LIB_ROOT:-/usr/share/syslinux} + set -o pipefail set -E @@ -1323,8 +1326,13 @@ function asrt_checkSyslinuxInstall() { "Your distribution doesn't ship 'extlinux' with the 'syslinux' package." \ "Please install 'extlinux' and try again." fi - st_foundSyslinuxBiosFolder=$(find "$ct_syslinuxLibRoot" -type d -path '*/bios' -print -quit) - st_foundSyslinuxMbrBinary=$(fs_findFileFromPatterns "$ct_syslinuxLibRoot" 'bios/mbr.bin' 'mbr.bin') + + st_foundSyslinuxBiosFolder="" + st_foundSyslinuxMbrBinary="" + + [ -f $ct_syslinuxLibRoot/isolinux.bin ] && st_foundSyslinuxBiosFolder=$ct_syslinuxLibRoot + [ -f $ct_syslinuxLibRoot/mbr.bin ] && st_foundSyslinuxMbrBinary="$ct_syslinuxLibRoot/mbr.bin" + if [ -z "$st_foundSyslinuxBiosFolder" ]; then ps_failAndExit MISSING_DEPENDENCY \ "Could not find a SYSLINUX bios folder containing c32 bios module files on this system."
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor