NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/55928: KERNEL_DIR build option tries to install multiple kernels
>Number: 55928
>Category: kern
>Synopsis: KERNEL_DIR option tries to put multiple kernels in $DESTDIR/netbsd/kernel
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 14 21:05:00 +0000 2021
>Originator: Paul Goyette
>Release: NetBSD 9.99.77
>Organization:
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 9.99.77 NetBSD 9.99.77 (SPEEDY 2020-12-09 16:52:22 UTC) #0: Thu Dec 10 00:56:59 UTC 2020 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
When running ``build.sh release'' with KERNEL_DIR set to "yes", the
kernel build tries to put _all_ non-INSTALL kernels into a single
file $DESTDIR/netbsd/kernel and you get an error. For amd64, there
are 4 such kernels, and here are the errors:
...
echo netbsd | GZIP=-9\ -n XZ_OPT=-9 /build/netbsd-local/tools/x86_64/amd64/bin/nbpax --use-compress-program /build/netbsd-local/tools/x86_64/amd64/bin/nbxz -O -w -M -N /build/netbsd-local/src_ro/etc -f /build/netbsd-local/release/amd64/binary/sets/kern-GENERIC.tar.xz
ln: ./netbsd/kernel: File exists
...
echo netbsd | GZIP=-9\ -n XZ_OPT=-9 /build/netbsd-local/tools/x86_64/amd64/bin/nbpax --use-compress-program /build/netbsd-local/tools/x86_64/amd64/bin/nbxz -O -w -M -N /build/netbsd-local/src_ro/etc -f /build/netbsd-local/release/amd64/binary/sets/kern-GENERIC_KASLR.tar.xz
ln: ./netbsd/kernel: File exists
...
echo netbsd | GZIP=-9\ -n XZ_OPT=-9 /build/netbsd-local/tools/x86_64/amd64/bin/nbpax --use-compress-program /build/netbsd-local/tools/x86_64/amd64/bin/nbxz -O -w -M -N /build/netbsd-local/src_ro/etc -f /build/netbsd-local/release/amd64/binary/sets/kern-XEN3_DOM0.tar.xz
ln: ./netbsd/kernel: File exists
...
echo netbsd | GZIP=-9\ -n XZ_OPT=-9 /build/netbsd-local/tools/x86_64/amd64/bin/nbpax --use-compress-program /build/netbsd-local/tools/x86_64/amd64/bin/nbxz -O -w -M -N /build/netbsd-local/src_ro/etc -f /build/netbsd-local/release/amd64/binary/sets/kern-XEN3_DOMU.tar.xz
ln: ./netbsd/kernel: File exists
...
>How-To-Repeat:
See above
>Fix:
Fix unknown, however a mechanism needs to be defined to specify
which kernel should be installed, and decide what to do with (or
where to put) any other non-installed kernels.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index