oe_yp_migration

This is an old revision of the document!


Migration issues in various releases.

* recipe-specific sysroots, so you must be more rigorous about DEPENDS – those dependencies will be populated into the recipe's sysroot * PACKAGE_WRITE_DEPS to enumerate host tools necessary for pre- and post-install scripts; see “Post-Installation Scripts” in Dev Tasks Manual (see do_rootfs() task)

PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}"

* SYSROOT_PREPROCESS_FUNCS * Check per-recipe settings of SYSTEMD_AUTO_ENABLE

recipes-bsp/apmd/apmd_3.2.2-15.bb:SYSTEMD_AUTO_ENABLE = "disable"
recipes-connectivity/dhcp/dhcp.inc:SYSTEMD_AUTO_ENABLE_${PN}-server = "disable"
recipes-connectivity/dhcp/dhcp.inc:SYSTEMD_AUTO_ENABLE_${PN}-relay = "disable"
recipes-connectivity/dhcp/dhcp.inc:SYSTEMD_AUTO_ENABLE_${PN}-client = "disable"
recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb:SYSTEMD_AUTO_ENABLE = "disable"
recipes-core/util-linux/util-linux.inc:SYSTEMD_AUTO_ENABLE_${PN}-uuidd = "disable"
recipes-core/util-linux/util-linux.inc:SYSTEMD_AUTO_ENABLE_${PN}-fstrim = "disable"
recipes-devtools/dnf/dnf_2.7.5.bb:SYSTEMD_AUTO_ENABLE ?= "disable"
recipes-extended/mdadm/mdadm_4.0.bb:SYSTEMD_AUTO_ENABLE = "disable"
recipes-extended/watchdog/watchdog_5.15.bb:SYSTEMD_AUTO_ENABLE = "disable"
recipes-extended/sysstat/sysstat.inc:SYSTEMD_AUTO_ENABLE = "enable"
recipes-extended/sysklogd/sysklogd.inc:SYSTEMD_AUTO_ENABLE = "enable"
recipes-kernel/lttng/lttng-tools_2.9.11.bb:SYSTEMD_AUTO_ENABLE = "disable"

* Per-recipe STAGING_DIR_NATIVE * lnr (poky/scripts/lnr); relative_symlinks.bbclass

do_install[postfuncs] += "install_relative_symlinks"

python install_relative_symlinks () {
    oe.path.replace_absolute_symlinks(d.getVar('D'), d)
}

* Smart package manager replaced by DNF Smart no longer maintained Smart not ported to Python 3 * RPM 5 downgraded to RPM 4 DNF incompatible with RPM 5 RPM 5 just not popular

* no need to include linux-dtb.inc anymore * do_image_<type>[depends]

image_types.bbclass:# do_image_tar[depends] += "tar-replacement-native:do_populate_sysroot"
image_types.bbclass:do_image_cpio[depends] += "cpio-native:do_populate_sysroot"
image_types.bbclass:do_image_jffs2[depends] += "mtd-utils-native:do_populate_sysroot"
image_types.bbclass:do_image_cramfs[depends] += "util-linux-native:do_populate_sysroot"
image_types.bbclass:do_image_ext2[depends] += "e2fsprogs-native:do_populate_sysroot"
image_types.bbclass:do_image_ext3[depends] += "e2fsprogs-native:do_populate_sysroot"
image_types.bbclass:do_image_ext4[depends] += "e2fsprogs-native:do_populate_sysroot"
image_types.bbclass:do_image_btrfs[depends] += "btrfs-tools-native:do_populate_sysroot"
image_types.bbclass:do_image_squashfs[depends] += "squashfs-tools-native:do_populate_sysroot"
image_types.bbclass:do_image_squashfs_xz[depends] += "squashfs-tools-native:do_populate_sysroot"
image_types.bbclass:do_image_squashfs_lzo[depends] += "squashfs-tools-native:do_populate_sysroot"
image_types.bbclass:do_image_squashfs_lz4[depends] += "squashfs-tools-native:do_populate_sysroot"
image_types.bbclass:do_image_ubi[depends] += "mtd-utils-native:do_populate_sysroot"
image_types.bbclass:do_image_ubifs[depends] += "mtd-utils-native:do_populate_sysroot"
image_types.bbclass:do_image_multiubi[depends] += "mtd-utils-native:do_populate_sysroot"
image_types.bbclass:do_image_f2fs[depends] += "f2fs-tools-native:do_populate_sysroot"
image_types_wic.bbclass:do_image_wic[depends] += "${@' '.join('%s-native:do_populate_sysroot' % r for r in ('parted', 'gptfdisk', 'dosfstools', 'mtools'))}"
  • can't have DEPENDS on python-name anymore, need one of:
    • IMAGE_INSTALL_append = “ python-foo”
    • RDEPENDS_${PN} = “python-foo”
  • check new use of KERNEL_PACKAGE_NAME, switch to:
RDEPENDS_kernel-base = ""
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
  • oe_yp_migration.1582549157.txt.gz
  • Last modified: 2020/02/24 12:59
  • by rpjday