public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Niedermayr, BENEDIKT' via isar-users" <isar-users@googlegroups.com>
To: Stephen Ecker <stephenecker240@gmail.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: dpkg-prebuilt version naming
Date: Thu, 30 Jan 2025 12:14:08 +0000	[thread overview]
Message-ID: <4b872830-03c4-411a-a927-2ab8bf8c3723@siemens.com> (raw)
In-Reply-To: <CAK9C7GA11RmpT1C76Xi2JovQh1Zz0kAC4c3=mo+Y6Y8mJhOc9Q@mail.gmail.com>

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

On 29.01.25 21:53, Stephen Ecker wrote:
Is there a built-in way to have the downloaded prebuilt packages renamed so they follow convention:

E.g.
* download somepkg.deb
* Read version 2.4 from file
* Rename to somepkg_2.4.deb


Hi Stephen,

you can try to append to the unpack task in the respective recipe:

python do_unpack:append() {

  rename your *.deb

}

or your create a postfunc for that:


do_unpack[postfuncs] += rename

rename() {

  mv ${WORKDIR}/foo.deb ${WORKDIR}/bar.deb

}


Never tested this myself.


Regards,

Benedikt


Thanks
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com<mailto:isar-users+unsubscribe@googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAK9C7GA11RmpT1C76Xi2JovQh1Zz0kAC4c3%3Dmo%2BY6Y8mJhOc9Q%40mail.gmail.com<https://groups.google.com/d/msgid/isar-users/CAK9C7GA11RmpT1C76Xi2JovQh1Zz0kAC4c3%3Dmo%2BY6Y8mJhOc9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4b872830-03c4-411a-a927-2ab8bf8c3723%40siemens.com.

[-- Attachment #2: Type: text/html, Size: 2728 bytes --]

      reply	other threads:[~2025-01-30 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29 20:53 Stephen Ecker
2025-01-30 12:14 ` 'Niedermayr, BENEDIKT' via isar-users [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=4b872830-03c4-411a-a927-2ab8bf8c3723@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=benedikt.niedermayr@siemens.com \
    --cc=stephenecker240@gmail.com \
    /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