Installing a rootfs inside a rootfs
Hi,
thanks for accepting me to the yocto mailing list.
Here is my first question :)
For container testing purposes, I would like to write a recipe which downloads the latest arch linux arm image and installs its contents into "/container" on the rootfs. However, during do_rootfs, my recipe fails - it seems because of automatically generated dependencies. You will notice, that I have already tried several options to come closer to a solution, without success. Please help:
My recipe:
DESCRIPTION = "Test root fs Arch Linux ARM"
SECTION = "container test"
LICENSE = "GPLv1"LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" ALLOW_EMPTY_${PN} = "1"
RPM_LDD_IGNORE_CHECK = "*"
INSANE_SKIP_${PN} += "dev-so file-rdeps"
FILES_${PN} = "\
/container"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
SRC_URI = "http://os.archlinuxarm.org/os/ArchLinuxARM-am33x-latest.tar.gz;unpack=0" BB_STRICT_CHECKSUM = "0"
INHIBIT_PACKAGE_STRIP = "1"INHIBIT_PACKAGE_DEBUG_SPLIT = "1"INHIBIT_DEFAULT_DEPS = "1"
S = "${WORKDIR}"
do_install() {
install -d "${D}/container"
tar xzf "${S}/ArchLinuxARM-am33x-latest.tar.gz" -C "${D}/container"
}do_package_qa[noexec] = "1"
And I get the following error:
ERROR: Unable to install packages. Command '/usr/local/buildspace/build-xxx/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/usr/local/buildspace/build-xxx/tmp/work/bbb-poky-linux-gnueabi/ses-image-release/1.0-r0/rootfs/var/lib/smart install -y run-postinsts@all alarm@cortexa8hf_vfp_neon kernel-modules@bbb lxc@cortexa8hf_vfp_neon ebs-config-ovl@cortexa8hf_vfp_neon packagegroup-base-extended@bbb packagegroup-core-boot@bbb locale-base-en-us@cortexa8hf_vfp_neon locale-base-en-gb@cortexa8hf_vfp_neon' returned 1:
Loading cache...
Updating cache... ######################################## [100%]
Computing transaction...error: Can't install alarm-1.0-r0@cortexa8hf_vfp_neon: no package provides libgc.so.1
Thanks for any help!!
AJR