@dmnks Next time shout at me about what's missing! I Would have been happy to
discuss improvements to mkosi to make it work for your use case. (I would have
commented but had no clue you were considering it)
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-m
It's kinda sad that this strips the leading spaces:
```
rpm -E "%{lua:macros.define({'foo', ' 1 '})}" -E "x%{foo}x"
>1 <
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2962#issuecomment-1999675441
You are receiving this because yo
I noticed that there is no documentation for this construct
```
$ rpm --define 'foo { bar }' --eval '>%{foo}<'
> bar <
```
Should we document it? Or is that feature deprecated? Does anybody use it at
all?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-mana
It's not much work to not use libarchive for writing. The only two formats that
can be used for archive writing are cpio and pax (all the others have too many
limitations). Writing cpio is easy and writing a pax tar file is also not hard
(reading a tar file is where it gets really messy because
I find it very surprising that bsdtar's output depends on the current locale,
but that seems to be the case:
```
$ echo hello > micro_µ
$ bsdtar -cf - . | bsdtar -tf -
./
./micro_µ
$ LC_CTYPE=de_DE@euro bsdtar -cf - . | bsdtar -tf -
./
./micro_µ
$ LC_CTYPE=de_DE@euro bsdtar --options hdrcharset=B
Btw, it cannot handle UTF8 filenames as well, as it checks the current locale
which is not initialized and thus 7 bit ascii...
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2972#issuecomment-1999274523
You are receiving this because y
Oh, and the error handling in rpm2archive is completely broken...
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2972#issuecomment-1999270285
You are receiving this because you are subscribed to this thread.
Message ID: ___
In the "newc" cpio format the content of hardlinked files is
supposted to be stored with the last hardlink and not the first.
Fixes issue #2974
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2975
-- Commit Summary --
* rp