All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kevin Kettinger" <kkettinger@gmail.com>
To: poky@lists.yoctoproject.org
Subject: apt-package.inc commented out section still evaluated
Date: Wed, 20 Jan 2021 12:05:35 +0100	[thread overview]
Message-ID: <da3e458e-e0c5-9fe6-16fe-e329083d386a@gmail.com> (raw)

Hello,

when looking into poky/meta/recipes-devtools/apt/apt-package.inc 
(dunfell), i see some section commented out (/*) in do_install():

---
do_install() {
...
install -d ${D}${libdir}/apt/methods

install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/  # <--

install -d ${D}${libdir}/dpkg/methods/apt
install -m 0644 ${S}/dselect/desc.apt ${D}${libdir}/dpkg/methods/apt/
install -m 0644 ${S}/dselect/names ${D}${libdir}/dpkg/methods/apt/
...
---

But it is still evaluated when checking with `bitbake -e apt`.

I noticed it when the apt-daily service was still triggered after 
disabling the systemd service. In the commented out section the cronjob 
file 'apt.apt-compat.cron.daily' is installed, which triggers the service.

Is this a bug?

Thanks.

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "hp00164"
DISTRO               = "xxxxxx"
DISTRO_VERSION       = "3.1.1"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb 
callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky            = "HEAD:39d7cf1abb2c88baaedb3a627eba8827747b2eb9"
meta-oe
meta-filesystems
meta-multimedia
meta-networking
meta-python
meta-webserver       = "HEAD:d7b41ced4b9a9a68083b0fcceff3b226298cff8b"
meta-iot-cloud       = "HEAD:45f83bbef34fb7760942e0ab650ab107053032d6"
meta-qt5             = "HEAD:0e7015f7a86dda995a39662edbb5c26da647c496"
meta-rust            = "HEAD:318fb46863c0df5001f937bb4ca856491a493725"
meta-bytesatwork     = "HEAD:e7db1dc2aa722dae27b6c15fddced0ef1a3d4d54"
meta-st-stm32mp      = "HEAD:36a9911705bd37df136e9ac51dbf418861d510c9"
meta-bytesatwork-st  = "HEAD:131629cf9db0e6000290e22f38943b324219a2bd"

Thanks.

Mit freundlichen Grüßen / Best regards,
Kevin Kettinger

             reply	other threads:[~2021-01-20 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 11:05 Kevin Kettinger [this message]
2021-01-20 11:10 ` [poky] apt-package.inc commented out section still evaluated Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da3e458e-e0c5-9fe6-16fe-e329083d386a@gmail.com \
    --to=kkettinger@gmail.com \
    --cc=poky@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.