cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel Sangorrin" <daniel.sangorrin@toshiba.co.jp>
To: <jan.kiszka@web.de>, <cip-dev@lists.cip-project.org>
Subject: Re: [cip-dev] [isar-cip-core] image: export dpkg status file for debsecan
Date: Thu, 1 Oct 2020 03:03:24 +0000	[thread overview]
Message-ID: <OSBPR01MB2053F771D826EE8349CCA258D0300@OSBPR01MB2053.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: 7596cf39-b8f9-cedc-3b51-b164553b3ee4@web.de

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

Hi Jan,

Now it seems to work. I think it was some subtle issue with the use of quotes.

Thanks,
Daniel

> -----Original Message-----
> From: sangorrin daniel(サンゴリン ダニエル □SWC◯ACT)
> Sent: Thursday, October 1, 2020 9:23 AM
> To: 'Jan Kiszka' <jan.kiszka@web.de>; cip-dev@lists.cip-project.org
> Subject: RE: [cip-dev] [isar-cip-core] image: export dpkg status file for debsecan
> 
> Hi Jan,
> 
> I forgot to reply one comment.
> 
> > > +# for cip-core-sec/debsecan
> > > +ROOTFS_POSTPROCESS_COMMAND += "export_dpkg_status"
> > > +export_dpkg_status() {
> > > +    sudo -E chroot --userspec=$(id -u):$(id -g) '${ROOTFSDIR}' \
> > > +        cat /var/lib/dpkg/status > \
> > > +        ${ROOTFS_MANIFEST_DEPLOY_DIR}/"${PF}".dpkg_status
> >
> > This is just a copy-out, I don't see the chroot need here.
> 
> This was based on the generate_manifest function.
> For some reason, copying without chroot didn't work for me. I will give it another try.
> 
> Thanks,
> Daniel

[-- Attachment #2: Type: text/plain, Size: 420 bytes --]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5486): https://lists.cip-project.org/g/cip-dev/message/5486
Mute This Topic: https://lists.cip-project.org/mt/77210404/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-


      parent reply	other threads:[~2020-10-01  3:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  2:08 [cip-dev] [isar-cip-core] export dpkg status for debsecan Daniel Sangorrin
2020-09-30  2:08 ` [cip-dev] [isar-cip-core] image: export dpkg status file " Daniel Sangorrin
2020-09-30  7:11   ` Jan Kiszka
2020-10-01  0:20     ` Daniel Sangorrin
2020-10-01  0:23     ` Daniel Sangorrin
2020-10-01  3:03     ` Daniel Sangorrin [this message]

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=OSBPR01MB2053F771D826EE8349CCA258D0300@OSBPR01MB2053.jpnprd01.prod.outlook.com \
    --to=daniel.sangorrin@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@web.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).