NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/46537: MAKEDEV runs MAKEDEV.local using sh instead of HOST_SH when run as part of a cross-build
>Number: 46537
>Category: toolchain
>Synopsis: MAKEDEV runs MAKEDEV.local using sh instead of HOST_SH when
>run as part of a cross-build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 03 23:30:00 +0000 2012
>Originator: Hans Rosenfeld
>Release: 6.0_BETA2
>Organization:
>Environment:
SunOS bl0rg 5.11 oi_151a4 i86pc i386 i86pc
>Description:
When cross-building install-image or live-image, MAKEDEV from the etc set is
run using HOST_SH. MAKEDEV itself runs MAKEDEV.local using sh, which isn't
necessesarily good enough:
/usr/pkg/bin/pdksh work/dev/MAKEDEV -s all |
/export/ws/netbsd/6/src/../tooldir.SunOS-5.11-i86pc/bin/nbsed -e '/^\.
type=dir/d' -e 's,^\.,./dev,' >> work.spec
work/dev/MAKEDEV.local[402]: local: not found [No such file or directory]
work/dev/MAKEDEV.local[449]: eval[1]: all: not found [No such file or directory]
work/dev/MAKEDEV.local[402]: local: not found [No such file or directory]
work/dev/MAKEDEV.local[449]: eval[1]: all: not found [No such file or directory]
>How-To-Repeat:
Try to build an install-image or live-image on SunOS.
>Fix:
- use HOST_SH in MAKEDEV when running MAKEDEV.local
- don't run MAKEDEV.local at all, as it is expected to be empty
- don't run MAKEDEV at all, as the system is expected to create a tmpfs /dev
and run MAKEDEV at boot
Home |
Main Index |
Thread Index |
Old Index