mikoto@debian:~$ sudo podman run hello-worldHello from Docker!This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:1. The Docker client contacted the Docker daemon.2. The Docker daemon pulled the "hello-world" image from the Docker Hub.(amd64)3. The Docker daemon created a new container from that image which runs theexecutable that produces the output you are currently reading.4. The Docker daemon streamed that output to the Docker client, which sent itto your terminal.To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID:https://hub.docker.com/For more examples and ideas, visit:https://docs.docker.com/get-started/
mikoto@debian:~$ podman run hello-worldResolved"hello-world" as an alias (/etc/containers/registries.conf.d/shortnames.conf)Trying to pull docker.io/library/hello-world:latest...Getting image source signaturesCopying blob b8dfde127a29 doneCopying config d1165f2212 doneWriting manifest to image destinationStoring signaturesHello from Docker!This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:1. The Docker client contacted the Docker daemon.2. The Docker daemon pulled the "hello-world" image from the Docker Hub.(amd64)3. The Docker daemon created a new container from that image which runs theexecutable that produces the output you are currently reading.4. The Docker daemon streamed that output to the Docker client, which sent itto your terminal.To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID:https://hub.docker.com/For more examples and ideas, visit:https://docs.docker.com/get-started/
22:35:14,133 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 6.0.1 (WildFly Core 8.0.0.Final) started in 11106ms - Started 617 of 880 services (563 services are lazy, passive or on-demand)
Ctrl+C で終了する。
エクスポートした情報をローカル PC へコピー
kubectl cp -n che keycloak-cccb6d4b8-6jz8f:keycloak-export ./keycloak-export
22:54:15,594 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 6.0.1 (WildFly Core 8.0.0.Final) started in 13818ms - Started 617 of 880 services (563 services are lazy, passive or on-demand)
# 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# src/xdiff/COPYING# src/xpm/COPYRIGHT## NOTE: multiple licenses have been detected; they have been separated with &# in the LICENSE value for now since it is a reasonable assumption that all# of the licenses apply. If instead there is a choice between the multiple# licenses then you should change the value to separate the licenses with |# instead of &. If there is any doubt, check the accompanying documentation# to determine which situation is applicable.LICENSE = "Unknown & MIT"LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \ file://src/libvterm/LICENSE;md5=be5681ffe0dc58ccc9756bc6260fe0cd \ file://src/xdiff/COPYING;md5=278f2557e3b277b94e9a8430f6a6d0a9 \ file://src/xpm/COPYRIGHT;md5=1e8b098093f3bb7a8fed64938e8e465e"SRC_URI = "git://github.com/vim/vim.git;protocol=https"# Modify these as desiredPV = "1.0+git${SRCPV}"SRCREV = "0346b799fc228a3b48967ca0747e6b23586dbaa6"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:exportvim_cv_toupper_broken="no"exportvim_cv_terminfo="yes"exportvim_cv_tgetent="zero"exportvim_cv_getcwd_broken="no"exportvim_cv_stat_ignores_slash="yes"exportvim_cv_memmove_handles_overlap="yes"./configure --build=x86_64-linux --host=-arm-poly-linux-gnueabi --with-features=huge --enable-fail-if-missing --with-tlib=ncurses --prefix=${D}/${prefix}}do_compile (){# You will almost certainly need to add additional arguments here:make}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:make install}
レシピのビルド
devtool build myvim
エラーが出た。
checking for linking with ncurses library... configure: error: FAILEDWARNING: exit code 1 from a shell command.
# 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# src/xdiff/COPYING# src/xpm/COPYRIGHT## NOTE: multiple licenses have been detected; they have been separated with &# in the LICENSE value for now since it is a reasonable assumption that all# of the licenses apply. If instead there is a choice between the multiple# licenses then you should change the value to separate the licenses with |# instead of &. If there is any doubt, check the accompanying documentation# to determine which situation is applicable.LICENSE = "Unknown & MIT"LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \ file://src/libvterm/LICENSE;md5=be5681ffe0dc58ccc9756bc6260fe0cd \ file://src/xdiff/COPYING;md5=278f2557e3b277b94e9a8430f6a6d0a9 \ file://src/xpm/COPYRIGHT;md5=1e8b098093f3bb7a8fed64938e8e465e"SRC_URI = "git://github.com/vim/vim.git;protocol=https"# Modify these as desiredPV = "1.0+git${SRCPV}"SRCREV = "0346b799fc228a3b48967ca0747e6b23586dbaa6"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# that the appropriate arguments are passed in.do_configure (){# specify any needed configure commands here:exportvim_cv_toupper_broken="no"exportvim_cv_terminfo="yes"exportvim_cv_tgetent="zero"exportvim_cv_getcwd_broken="no"exportvim_cv_stat_ignores_slash="yes"exportvim_cv_memmove_handles_overlap="yes"./configure --build=x86_64-linux --host=-arm-poly-linux-gnueabi --with-features=huge --enable-fail-if-missing --with-tlib=ncurses --prefix=${D}/${prefix}}do_compile (){# You will almost certainly need to add additional arguments here:make}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:make install}
また、エラーが出た。
ERROR: myvim-1.0+git999-r0 do_package: QA Issue: File '/usr/bin/vim' from myvim was already stripped, this will prevent future debugging! [already-stripped]ERROR: myvim-1.0+git999-r0 do_package: QA Issue: File '/usr/bin/xxd' from myvim was already stripped, this will prevent future debugging! [already-stripped]ERROR: myvim-1.0+git999-r0 do_package: QA Issue: myvim: Files/directories were installed but not shipped in any package:
以下 2 点に対応する。
コンパイルで strip 済みバイナリを生成すると、 myvim was already stripped というエラーになるようだ
INSANE_SKIP_${PN} += "already-stripped" を追加
FILES_${PN} 書き忘れ
myvim_git.bb
# 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# src/xdiff/COPYING# src/xpm/COPYRIGHT## NOTE: multiple licenses have been detected; they have been separated with &# in the LICENSE value for now since it is a reasonable assumption that all# of the licenses apply. If instead there is a choice between the multiple# licenses then you should change the value to separate the licenses with |# instead of &. If there is any doubt, check the accompanying documentation# to determine which situation is applicable.LICENSE = "Unknown & MIT"LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \ file://src/libvterm/LICENSE;md5=be5681ffe0dc58ccc9756bc6260fe0cd \ file://src/xdiff/COPYING;md5=278f2557e3b277b94e9a8430f6a6d0a9 \ file://src/xpm/COPYRIGHT;md5=1e8b098093f3bb7a8fed64938e8e465e"SRC_URI = "git://github.com/vim/vim.git;protocol=https"# Modify these as desiredPV = "1.0+git${SRCPV}"SRCREV = "0346b799fc228a3b48967ca0747e6b23586dbaa6"S = "${WORKDIR}/git"FILES_${PN} = " \${bindir} \${prefix}/share \"DEPENDS += " ncurses"INSANE_SKIP_${PN} += "already-stripped"# 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:exportvim_cv_toupper_broken="no"exportvim_cv_terminfo="yes"exportvim_cv_tgetent="zero"exportvim_cv_getcwd_broken="no"exportvim_cv_stat_ignores_slash="yes"exportvim_cv_memmove_handles_overlap="yes"./configure --build=x86_64-linux --host=-arm-poly-linux-gnueabi --with-features=huge --enable-fail-if-missing --with-tlib=ncurses --prefix=${D}/${prefix}}do_compile (){# You will almost certainly need to add additional arguments here:make}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:make install}
ERROR: myvim-1.0+gitAUTOINC+e7bebc495d-r0 do_package_qa: QA Issue: /usr/share/vim/vim82/tools/demoserver.py contained in package myvim requires /usr/bin/python, but no providers found in RDEPENDS_myvim? [file-rdeps]ERROR: myvim-1.0+gitAUTOINC+e7bebc495d-r0 do_package_qa: QA Issue: /usr/share/vim/vim82/tools/efm_perl.pl contained in package myvim requires /work/poky/build/tmp/hosttools/perl, but no providers found in RDEPENDS_myvim? [file-rdeps]ERROR: myvim-1.0+gitAUTOINC+e7bebc495d-r0 do_package_qa: QA Issue: /usr/share/vim/vim82/tools/mve.awk contained in package myvim requires /work/poky/build/tmp/hosttools/gawk, but no providers found in RDEPENDS_myvim? [file-rdeps]ERROR: myvim-1.0+gitAUTOINC+e7bebc495d-r0 do_package_qa: QA Issue: /usr/share/vim/vim82/tools/vim132 contained in package myvim requires /bin/csh, but no providers found in RDEPENDS_myvim? [file-rdeps]
# 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# src/xdiff/COPYING# src/xpm/COPYRIGHT## NOTE: multiple licenses have been detected; they have been separated with &# in the LICENSE value for now since it is a reasonable assumption that all# of the licenses apply. If instead there is a choice between the multiple# licenses then you should change the value to separate the licenses with |# instead of &. If there is any doubt, check the accompanying documentation# to determine which situation is applicable.LICENSE = "Unknown & MIT"LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \ file://src/libvterm/LICENSE;md5=be5681ffe0dc58ccc9756bc6260fe0cd \ file://src/xdiff/COPYING;md5=278f2557e3b277b94e9a8430f6a6d0a9 \ file://src/xpm/COPYRIGHT;md5=1e8b098093f3bb7a8fed64938e8e465e"SRC_URI = "git://github.com/vim/vim.git;protocol=https"# Modify these as desiredPV = "1.0+git${SRCPV}"SRCREV = "0346b799fc228a3b48967ca0747e6b23586dbaa6"S = "${WORKDIR}/git"FILES_${PN} = " \${bindir} \${prefix}/share \"RDEPENDS_${PN} += " python3 perl gawk"DEPENDS += " ncurses"INSANE_SKIP_${PN} += "already-stripped"# 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:exportvim_cv_toupper_broken="no"exportvim_cv_terminfo="yes"exportvim_cv_tgetent="zero"exportvim_cv_getcwd_broken="no"exportvim_cv_stat_ignores_slash="yes"exportvim_cv_memmove_handles_overlap="yes"./configure --build=x86_64-linux --host=-arm-poly-linux-gnueabi --with-features=huge --enable-fail-if-missing --with-tlib=ncurses --prefix=${D}/${prefix}}do_compile (){# You will almost certainly need to add additional arguments here:make}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:make install}
Shebang の修正とパッチ作成
Shebang 修正
エラーに表示された以下ファイルの Shebang を修正する。
/usr/share/vim/vim82/tools/demoserver.py
#!/usr/bin/python -> #!/usr/bin/env python
/usr/share/vim/vim82/tools/efm_perl.pl
#!/usr/bin/perl -w -> #!/usr/bin/env perl -w
/usr/share/vim/vim82/tools/mve.awk
#!/usr/bin/nawk -f -> #!/usr/bin/env nawk -f
/usr/share/vim/vim82/tools/vim132
#!/bin/csh -f -> #!/bin/sh
パッチ作成
cd workspace/sources/myvimgit diff > ../../../meta-myvim/recipes-myvim/shebang.patchcd ../../..
# 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# src/xdiff/COPYING# src/xpm/COPYRIGHT## NOTE: multiple licenses have been detected; they have been separated with &# in the LICENSE value for now since it is a reasonable assumption that all# of the licenses apply. If instead there is a choice between the multiple# licenses then you should change the value to separate the licenses with |# instead of &. If there is any doubt, check the accompanying documentation# to determine which situation is applicable.LICENSE = "Unknown & MIT"LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \ file://src/libvterm/LICENSE;md5=be5681ffe0dc58ccc9756bc6260fe0cd \ file://src/xdiff/COPYING;md5=278f2557e3b277b94e9a8430f6a6d0a9 \ file://src/xpm/COPYRIGHT;md5=1e8b098093f3bb7a8fed64938e8e465e"SRC_URI = "git://github.com/vim/vim.git;protocol=https"SRC_URI += " file:///work/poky/build/meta-myvim/recipes-myvim/shebang.patch;patch=1"# Modify these as desiredPV = "1.0+git${SRCPV}"SRCREV = "0346b799fc228a3b48967ca0747e6b23586dbaa6"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:exportvim_cv_toupper_broken="no"exportvim_cv_terminfo="yes"exportvim_cv_tgetent="zero"exportvim_cv_getcwd_broken="no"exportvim_cv_stat_ignores_slash="yes"exportvim_cv_memmove_handles_overlap="yes"./configure --build=x86_64-linux --host=-arm-poly-linux-gnueabi --with-features=huge --enable-fail-if-missing --with-tlib=ncurses --prefix=${D}/${prefix}}do_compile (){# You will almost certainly need to add additional arguments here:make}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:make install}