-
Committer:
Harald Sitter
-
Date:
2018-03-28 12:32:24 UTC
-
Revision ID:
sitter@kde.org-20180328123224-j92ab5xtsndc9kqe
disable binary removal for neon
BINARY_REMOVE_LINUX when !false will cause boot/initrd* and boot/vmlinu* to be removed
*during* squashfs building. ubiquity would then in its post-install setup copy the respective
files from the ISO's casper/ dir into the target system's boot/ so things end up working.
in calamares we do not have such a feature however and it is unclear if we would want to.
I've talked to [ade] and he thinks this ought to be solved on the distro-side via shellprocess or
contextualprocess. He also added that in the future a new filepreserver module might be
abusable in this fashion, however I think shellprocess might be best seeing as implementing
this requires globbing files in /iso/casper/* and then copying them to @@ROOT@@/boot/* with
appropriate names.
That said, we apparently could reliably address both paths in a process comme ca:
`cp /iso/casper/initrd @@ROOT@@/boot/initrd`
Also see https://github.com/calamares/calamares/issues/903