Instalace BSD na flash disk, problem s DESTDIR

Petr Macek pm-conf at kostax.cz
Mon Apr 8 17:06:56 CEST 2013


> To znamena, ze jakmile mam OS pres DESTDIR nainstalovany, namountuju (uz
> do jeho stromu) /usr/ports (pres nullfs) a nasledne do nove instalace
> udelam chroot.
>
> Porty uz pak instaluju obvyklym zpusobem v "klasickem" stromu.
>
tenhle postup mi prisel nejlepsi, ale zase mi to nejde.
Mountnu si /usr/ports a devfs:
/dev/md0s1a on /MNT_USB (ufs, local)
/usr/ports on /MNT_USB/usr/ports (nullfs, local)
devfs on /MNT_USB/dev (devfs, local, multilabel)

chrootnu, ale nainstalovat nemuzu stejne nic. Opet skocimt na:

root na netsentinel:/ # chroot /MNT_USB/
# ls
.snap	boot	etc	libexec	mnt	rescue	sbin	tmp	var
bin	dev	lib	media	proc	root	sys	usr
# cd usr/ports/ports-mgmt/portaudit
# make
===>  Creating some important subdirectories
realpath: /mnt/___temp___: No such file or directory
*** [do-chroot] Error code 1

Stop in /usr/ports/ports-mgmt/portaudit.

Zkousel jsem i chroot /MNT_USB sh -c "cd /usr/ports.... ; make"
Dopadne to stejne.

PM


More information about the Users-l mailing list