* dpkg-prebuilt version naming
@ 2025-01-29 20:53 Stephen Ecker
2025-01-30 12:14 ` 'Niedermayr, BENEDIKT' via isar-users
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Ecker @ 2025-01-29 20:53 UTC (permalink / raw)
To: isar-users
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
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
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.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAK9C7GA11RmpT1C76Xi2JovQh1Zz0kAC4c3%3Dmo%2BY6Y8mJhOc9Q%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 1028 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dpkg-prebuilt version naming
2025-01-29 20:53 dpkg-prebuilt version naming Stephen Ecker
@ 2025-01-30 12:14 ` 'Niedermayr, BENEDIKT' via isar-users
0 siblings, 0 replies; 2+ messages in thread
From: 'Niedermayr, BENEDIKT' via isar-users @ 2025-01-30 12:14 UTC (permalink / raw)
To: Stephen Ecker, isar-users
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-30 12:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-29 20:53 dpkg-prebuilt version naming Stephen Ecker
2025-01-30 12:14 ` 'Niedermayr, BENEDIKT' via isar-users
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox