ERROR: No files to deploy - have you built the sl recipe? If so, the install step has not installed any files.
sakate@walle:~/git/poky/build$ devtool deploy-target sl root@192.168.7.2
Parsing recipes..done.
ERROR: No files to deploy - have you built the sl recipe? If so, the install step has not installed any files.
sakate@walle:~/git/poky/build$ devtool deploy-target sl root@192.168.7.2
Parsing recipes..done.
ERROR: No files to deploy - have you built the sl recipe? If so, the install step has not installed any files.
レシピの修正
レシピの内容確認
レシピの修正をする前に、前回addコマンドで生成したレシピの内容を確認します。
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.
do_configure(){
# Specify any needed configure commands here
:
}
do_compile(){
# You will almost certainly need to add additional arguments here
oe_runmake
}
do_install(){
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself
:
}
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
# LICENSE
#
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://LICENSE;md5=74e9dd589a0ab212a9002b15ef2b82f0"
SRC_URI = "git://github.com/mtoyoda/sl;protocol=https"
# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "923e7d7ebc5c1f009755bdeb789ac25658ccce03"
S = "${WORKDIR}/git"
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.
do_configure () {
# Specify any needed configure commands here
:
}
do_compile () {
# You will almost certainly need to add additional arguments here
oe_runmake
}
do_install () {
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself
:
}
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
# LICENSE
#
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://LICENSE;md5=74e9dd589a0ab212a9002b15ef2b82f0"
SRC_URI = "git://github.com/mtoyoda/sl;protocol=https"
# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "923e7d7ebc5c1f009755bdeb789ac25658ccce03"
S = "${WORKDIR}/git"
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.
do_configure () {
# Specify any needed configure commands here
:
}
do_compile () {
# You will almost certainly need to add additional arguments here
oe_runmake
}
do_install () {
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself
:
}
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
@@ -35,8 +36,7 @@ do_compile () {
}
do_install () {
- # NOTE: unable to determine what to put here - there is a Makefile but no
- # target named "install", so you will need to define this yourself
- :
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/sl ${D}${bindir}
}
diff --git a/sl_git.bb b/sl_git.bb
index 8c362cb..aff6497 100644
--- a/sl_git.bb
+++ b/sl_git.bb
@@ -19,6 +19,7 @@ PV = "1.0+git${SRCPV}"
SRCREV = "923e7d7ebc5c1f009755bdeb789ac25658ccce03"
S = "${WORKDIR}/git"
+DEPENDS = "ncurses"
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
@@ -35,8 +36,7 @@ do_compile () {
}
do_install () {
- # NOTE: unable to determine what to put here - there is a Makefile but no
- # target named "install", so you will need to define this yourself
- :
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/sl ${D}${bindir}
}
diff --git a/sl_git.bb b/sl_git.bb
index 8c362cb..aff6497 100644
--- a/sl_git.bb
+++ b/sl_git.bb
@@ -19,6 +19,7 @@ PV = "1.0+git${SRCPV}"
SRCREV = "923e7d7ebc5c1f009755bdeb789ac25658ccce03"
S = "${WORKDIR}/git"
+DEPENDS = "ncurses"
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
@@ -35,8 +36,7 @@ do_compile () {
}
do_install () {
- # NOTE: unable to determine what to put here - there is a Makefile but no
- # target named "install", so you will need to define this yourself
- :
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/sl ${D}${bindir}
}
これで転送できるはずです。もし、「ERROR: Failed to copy script to root@192.168.7.2 – rerun with -s to get a complete error message」と出る場合は指示通り -sオプションをつけてdeploy-targetを実施してください。私の場合はQEMU側のfingerprintが違うことが原因でしたので指示に従ってECDSAキーを削除することで解消しました。
Parsing recipes..WARNING: No bb files matched BBFILE_PATTERN_learning-devtool '^/home/sakate/git/poky/build/meta-learning-devtool/'
done.
NOTE: Adding new patch 0001-Change-toolchain-for-recipe.patch
NOTE: Updating recipe sl_git.bb
NOTE: Moving recipe file to /home/sakate/git/poky/build/meta-learning-devtool/recipes-sl/sl
NOTE: Cleaning sysroot for recipe sl...
NOTE: Leaving source tree /home/sakate/git/poky/build/workspace/sources/sl as-is; if you no longer need it then please delete it manually
sakate@walle:~/git/poky/build$ devtool finish sl meta-learning-devtool
Parsing recipes..WARNING: No bb files matched BBFILE_PATTERN_learning-devtool '^/home/sakate/git/poky/build/meta-learning-devtool/'
done.
NOTE: Adding new patch 0001-Change-toolchain-for-recipe.patch
NOTE: Updating recipe sl_git.bb
NOTE: Moving recipe file to /home/sakate/git/poky/build/meta-learning-devtool/recipes-sl/sl
NOTE: Cleaning sysroot for recipe sl...
NOTE: Leaving source tree /home/sakate/git/poky/build/workspace/sources/sl as-is; if you no longer need it then please delete it manually
sakate@walle:~/git/poky/build$ devtool finish sl meta-learning-devtool
Parsing recipes..WARNING: No bb files matched BBFILE_PATTERN_learning-devtool '^/home/sakate/git/poky/build/meta-learning-devtool/'
done.
NOTE: Adding new patch 0001-Change-toolchain-for-recipe.patch
NOTE: Updating recipe sl_git.bb
NOTE: Moving recipe file to /home/sakate/git/poky/build/meta-learning-devtool/recipes-sl/sl
NOTE: Cleaning sysroot for recipe sl...
NOTE: Leaving source tree /home/sakate/git/poky/build/workspace/sources/sl as-is; if you no longer need it then please delete it manually