head -r320192 -> -r320387 kernel build and install to a DESTDIR: if_igb.ko vs. DESTDIR use for installkernel has symbolic link that seems inapproriate

From: Mark Millard <markmi_at_dsl-only.net>
Date: Mon, 26 Jun 2017 16:30:30 -0700
installkernel  DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387

produced a if_igb.ko (this used: ls -lD %C ):

lrwxr-xr-x  1 root  wheel        80 20 if_igb.ko -> /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_em.ko

This does not allow simple copies of such directory trees
that have if_igb.ko pointing to the right if_em.ko.

Looking in my -r320192 based /boot/kernel/ that had been filled in
via a default DESTDIR for installkernel  (this used: ls -lD %C ):

lrwxr-xr-x  1 root  wheel        21 20 if_igb.ko -> /boot/kernel/if_em.ko

So something like:

cp -aRx /boot/kernel/ /boot/kercgd

ends up with /boot/kercgd/if_igb.ko pointing into /boot/kernel/ instead
of into /boot/kercgd/ .



===
Mark Millard
markmi at dsl-only.net
Received on Mon Jun 26 2017 - 21:30:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC