version 1.5, 2025/04/10 15:27:39
|
version 1.6, 2025/04/14 13:06:46
|
Line 23
|
Line 23
|
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# |
# |
# $Log$ |
# $Log$ |
|
# Revision 1.6 2025/04/14 13:06:46 snw |
|
# Add OS/2 RPM build script to fmd |
|
# |
# Revision 1.5 2025/04/10 15:27:39 snw |
# Revision 1.5 2025/04/10 15:27:39 snw |
# Detect Devuan distribution and fix OS/2 problem with iniconf.c |
# Detect Devuan distribution and fix OS/2 problem with iniconf.c |
# |
# |
Line 52 function _fmd_os_detect()
|
Line 55 function _fmd_os_detect()
|
|
|
case $_fmd_kernel in |
case $_fmd_kernel in |
|
|
|
"os/2") |
|
export _fmd_arch=i386 |
|
export _fmd_subarch=i386 |
|
export _fmd_osversion=$(echo "${_fmd_uname}" | cut -d" " -f3) |
|
export _fmd_distribution="OS/2" |
|
export _fmd_distfamily="OS/2" |
|
export _fmd_can_package=1 |
|
export _fmd_pkg_mechanism=os2rpm |
|
|
sunos) |
sunos) |
export _fmd_arch=$(isainfo | cut -d" " -f2) |
export _fmd_arch=$(isainfo | cut -d" " -f2) |
export _fmd_subarch=$(isainfo | cut -d" " -f1) |
export _fmd_subarch=$(isainfo | cut -d" " -f1) |