User Tools

Site Tools


oe_yp_migration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oe_yp_migration [2020/02/24 10:26]
rpjday [Yocto Project 2.3 (morty -> pyro)]
oe_yp_migration [2020/02/24 17:04] (current)
rpjday [Yocto Project 2.3 (morty -> pyro)]
Line 5: Line 5:
 ===== Yocto Project 2.3 (morty -> pyro) ===== ===== Yocto Project 2.3 (morty -> pyro) =====
  
-* recipe-specific sysroots, so you must be more rigorous about DEPENDS -- those dependencies will be populated into the recipe'​s sysroot +* recipe-specific sysroots, so you must be more rigorous about DEPENDS -- those dependencies will be populated into each 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 to enumerate host tools necessary for pkg_preinst() ​and pkg_postinst() ​scripts; see "​Post-Installation Scripts"​ in Dev Tasks Manual (see do_rootfs() task)
 <​code>​ <​code>​
 PACKAGE_WRITE_DEPS += "​${@bb.utils.contains('​DISTRO_FEATURES','​systemd sysvinit','​systemd-systemctl-native','',​d)}"​ PACKAGE_WRITE_DEPS += "​${@bb.utils.contains('​DISTRO_FEATURES','​systemd sysvinit','​systemd-systemctl-native','',​d)}"​
Line 37: Line 37:
 } }
 </​code>​ </​code>​
 +* 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
  
  
Line 42: Line 48:
  
 ===== Yocto Project 2.4 (pyro -> rocko) ===== ===== Yocto Project 2.4 (pyro -> rocko) =====
 +
 +* no need to include linux-dtb.inc anymore
 +* do_image_<​type>​[depends]
 +<​code>​
 +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'​))}"​
 +</​code>​
  
 ===== Yocto Project 2.5 (rocko -> sumo) ===== ===== Yocto Project 2.5 (rocko -> sumo) =====
 +
 +  * 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:
 +<​code>​
 +RDEPENDS_kernel-base = ""​
 +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""​
 +</​code>​
  
 ===== Yocto Project 2.6 (sumo -> thud) ===== ===== Yocto Project 2.6 (sumo -> thud) =====
oe_yp_migration.1582540011.txt.gz · Last modified: 2020/02/24 10:26 by rpjday