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.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAK9C7GA11RmpT1C76Xi2JovQh1Zz0kAC4c3%3Dmo%2BY6Y8mJhOc9Q%40mail.gmail.com.


--
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.