1b35dd595d
'install' does not properly handle symlinks, it copies the entire file instead of a symlink to it. This PR uses `cp -a` to preserve symlinks. For example, with `install`, the files libc.musl-armhf.so.1 and ld-musl-armhf.so.1 are the same size, despite the fact that in rootfs libc.musl-armhf.so.1 is actually a symlink to ld-musl-armhf.so.1. According to @drebrez research, the initramfs size shrunk from 1 567 930 to 1 168 591. |
||
---|---|---|
.. | ||
APKBUILD | ||
init.sh.in | ||
init_functions.sh | ||
mkinitfs.sh | ||
postmarketos-mkinitfs.trigger | ||
TODO |