[systemd-devel] kernel-install questions

Tom Gundersen teg at jklm.no
Wed Sep 25 08:20:40 PDT 2013


On Wed, Sep 25, 2013 at 4:37 PM, Kay Sievers <kay at vrfy.org> wrote:
> On Wed, Sep 25, 2013 at 3:35 PM, Tom Gundersen <teg at jklm.no> wrote:
>> *) With /boot on fat, 'add' fails for me due to not being able to use
>> "cp --preserve". How is this meant to work (or was it just not tested
>> on fat)? Dropping "--preserve" makes it work for me.
>
> Hmm, no problems here:
> # cp --preserve /etc/hostname /boot; echo $?
> 0
>
> # rpm -q coreutils
> coreutils-8.21-11.fc19.x86_64

Hm, interesting. I'll figure out what's going wrong here.

>> With the below kernel patch make
>> install "just works".
>
> It's on our TODO list for long, but we haven't done it so far.

Ok. Good to know.

>> Was there a reason for the different interface,
>> or would you be open to adding compatibility with the kernel script?
>
> What would compat mean? A symlink to kernel-install from installkernel
> and checking argv[0]?

Precisely.

>> (I could of course just ship a shim script, but I'd rather not).
>
> We thought of letting the kernel Makefile look for kernel-install
> first and fall back to installkernel, but we haven't look into details
> so far.

That would be fine for the future, but it would still be useful to
make stuff just work with old kernel builds for doing bisects and
stuff like that.

-t


More information about the systemd-devel mailing list