functions: support copying from file descriptors in add_file
functions: support copying from file descriptors in add_file
This will allow to use e.g. sed ... | add_file /dev/stdin ...
, instead
of directly manipulating the file in $BUILDROOT
, when needing to
modify a file after adding it.
install/{consolefont,keymap,lvm2,sd-vconsole,systemd}: use add_file instead of directly writing to BUILDROOT
Now that add_file
supports file descriptors, there is no need to
directly manipulate files in $BUILDROOT
.
Edited by nl6720