From 70e279dddb7339146eefe3cb8992abccdb6fffd6 Mon Sep 17 00:00:00 2001 From: aluft Date: Thu, 25 Feb 2016 13:43:41 -0500 Subject: [PATCH 1/2] Add all mtools during host install step. Especially mattrib which is used by syslinux.mtools during make image When absent, this error is observed: make image > image: installing extlinux to part1... > sh: mattrib: command not found > syslinux.mtools: warning: failed to set system bit on ldlinux.sys > sh: mattrib: command not found > syslinux.mtools: warning: failed to set system bit on ldlinux.c32 > image: copying files to part1... --- packages/tools/mtools/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/mtools/package.mk b/packages/tools/mtools/package.mk index f542a5b75f..36531ad845 100644 --- a/packages/tools/mtools/package.mk +++ b/packages/tools/mtools/package.mk @@ -36,5 +36,5 @@ makeinstall_host() { $STRIP mtools mkdir -p $ROOT/$TOOLCHAIN/sbin - cp -P mtools mformat mcopy mmd $ROOT/$TOOLCHAIN/sbin + find . -type l -exec cp -P \{\} $ROOT/$TOOLCHAIN/sbin \; } From bcf13b81574f4be1e4fbeb6e6062a0de4f9e4580 Mon Sep 17 00:00:00 2001 From: aluft Date: Thu, 25 Feb 2016 14:48:10 -0500 Subject: [PATCH 2/2] Add all mtools to toolchain directory Look for mtools in toolchain/bin instead of toolchain/sbin mattrib is used by syslinux.mtools during make image When mattrib is absent, this error is observed: make image > image: installing extlinux to part1... > sh: mattrib: command not found > syslinux.mtools: warning: failed to set system bit on ldlinux.sys > sh: mattrib: command not found > syslinux.mtools: warning: failed to set system bit on ldlinux.c32 > image: copying files to part1... --- packages/tools/mtools/package.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/tools/mtools/package.mk b/packages/tools/mtools/package.mk index 36531ad845..364ace95e6 100644 --- a/packages/tools/mtools/package.mk +++ b/packages/tools/mtools/package.mk @@ -29,12 +29,4 @@ PKG_SECTION="tools" PKG_SHORTDESC="mtools: A collection of utilities to access MS-DOS disks" PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks" PKG_IS_ADDON="no" -PKG_AUTORECONF="no" PKG_AUTORECONF="yes" - -makeinstall_host() { - $STRIP mtools - - mkdir -p $ROOT/$TOOLCHAIN/sbin - find . -type l -exec cp -P \{\} $ROOT/$TOOLCHAIN/sbin \; -}