diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/classes-recipe/rootfs_deb.bbclass | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/rootfs_deb.bbclass')
| -rw-r--r-- | meta/classes-recipe/rootfs_deb.bbclass | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/classes-recipe/rootfs_deb.bbclass b/meta/classes-recipe/rootfs_deb.bbclass deleted file mode 100644 index c5c6426abb..0000000000 --- a/meta/classes-recipe/rootfs_deb.bbclass +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright 2006-2007 Openedhand Ltd. | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: MIT | ||
| 5 | # | ||
| 6 | |||
| 7 | ROOTFS_PKGMANAGE = "dpkg apt" | ||
| 8 | |||
| 9 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" | ||
| 10 | do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot" | ||
| 11 | do_rootfs[recrdeptask] += "do_package_write_deb do_package_qa" | ||
| 12 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS" | ||
| 13 | |||
| 14 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
| 15 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
| 16 | do_populate_sdk_ext[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
| 17 | |||
| 18 | python rootfs_deb_bad_recommendations() { | ||
| 19 | if d.getVar("BAD_RECOMMENDATIONS"): | ||
| 20 | bb.warn("Debian package install does not support BAD_RECOMMENDATIONS") | ||
| 21 | } | ||
| 22 | do_rootfs[prefuncs] += "rootfs_deb_bad_recommendations" | ||
| 23 | |||
| 24 | DEB_POSTPROCESS_COMMANDS = "" | ||
| 25 | |||
| 26 | opkglibdir = "${localstatedir}/lib/opkg" | ||
| 27 | |||
| 28 | python () { | ||
| 29 | # Map TARGET_ARCH to Debian's ideas about architectures | ||
| 30 | darch = d.getVar('SDK_ARCH') | ||
| 31 | if darch in ["x86", "i486", "i586", "i686", "pentium"]: | ||
| 32 | d.setVar('DEB_SDK_ARCH', 'i386') | ||
| 33 | elif darch == "x86_64": | ||
| 34 | d.setVar('DEB_SDK_ARCH', 'amd64') | ||
| 35 | elif darch == "arm": | ||
| 36 | d.setVar('DEB_SDK_ARCH', 'armel') | ||
| 37 | elif darch == "aarch64": | ||
| 38 | d.setVar('DEB_SDK_ARCH', 'arm64') | ||
| 39 | else: | ||
| 40 | bb.fatal("Unhandled SDK_ARCH %s" % darch) | ||
| 41 | } | ||
