#5211: [patch] detect host sfdisk --------------------------+------------------------------------------------- Reporter: mmadia | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Build System | Version: R1/alpha1 Keywords: | Blockedby: Platform: All | Blocking: --------------------------+------------------------------------------------- [http://dev.haiku- os.org/browser/haiku/trunk/src/system/boot/platform/u-boot/Jamfile#L147 u-boot/Jamfile#L147] currently hard codes {{{ SDIMAGE_FDISK on $(image) = /sbin/sfdisk ; }}} sfdisk doesn't reside in /sbin on all OS's. Example, /usr/local/sbin for FreeBSD. The attached patch introduces a new variable HOST_SFDISK. In configure it first defaults to '=sfdisk'. Later in the file, configure attempts to find the binary in places that may be outside of the user's $PATH -- Ticket URL: <http://dev.haiku-os.org/ticket/5211> Haiku <http://dev.haiku-os.org> Haiku - the operating system.