head -r320192 -> -r320387 kernel build and install to a DESTDIR: if_igb.ko vs. DESTDIR use for installkernel has symbolic link that seems inapproriate
Mark Millard
markmi at dsl-only.net
Mon Jun 26 23:30:34 UTC 2017
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
More information about the freebsd-toolchain
mailing list