Project

General

Profile

Actions

Bug #3217

open

rescue tools: make install fails if rescue folder doesn't exist

Added by Anonymous over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/27/2019
Due date:
% Done:

0%

Estimated time:

Description

boojum# ls -l /rescue
ls: /rescue: No such file or directory

boojum# make install
--------------------------------------------------------------

installing rescue tools to /rescue ...

--------------------------------------------------------------
(cd /usr/src/initrd/oinit; LC_ALL=C make -m /usr/src/initrd/../share/mk BINDIR=/rescue install)
install -s -o root -g wheel -m 555 oinit /rescue
(cd /usr/src/initrd/rescue; LC_ALL=C make -m /usr/src/initrd/../share/mk BINDIR=/rescue install)
install -s -o root -g wheel -m 555 rescue /rescue
install -o root -g wheel -m 555 /usr/src/initrd/rescue/dowpa /rescue/dowpa
install: /rescue/dowpa: Not a directory
  • Error code 71
Stop.
make1: stopped in /usr/src/initrd/rescue
  • Error code 1

Stop.
make: stopped in /usr/src/initrd

Actions #1

Updated by liweitianux over 4 years ago

Hi. This is the expected behavior because initrd's 'make install' would not create the destination directory '/rescue', which is created by 'mtree(8)' during the 'make installworld' stage.

Cheers,
Aaron

Actions #2

Updated by Anonymous over 4 years ago

I hit this because I was creating a new boot drive by copying files over (almost never use the installer). No worries, I can just make the folder now that I know, but it seems like a small thing to check for in the makefile.

Actions

Also available in: Atom PDF