Chybka v Handbooku?
Miroslav Prýmek
m.prymek at gmail.com
Fri Jul 9 11:25:19 CEST 2010
Da se to vyzkouset i bez prekladu world:
> root# setenv DESTDIR /tmp/test
> root# mkdir $DESTDIR
> root# cd /usr/src/etc
> root# make distribution
> cd /usr/src/etc; install -o root -g wheel -m 644 auth.conf crontab devd.conf devfs.conf ddb.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv inetd.conf libalias.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf nsswitch.conf phones profile protocols rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless rc.sendmail rc.shutdown rc.subr remote rpc services shells sysctl.conf syslog.conf etc.i386/ttys amd.map apmd.conf snmpd.config freebsd-update.conf /usr/src/etc/../usr.bin/locate/locate/locate.rc hosts.lpd printcap /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config nscd.conf portsnap.conf pf.os csh.cshrc csh.login csh.logout /tmp/test/etc; cap_mkdb -l /tmp/test/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /tmp/test/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /tmp/test/etc;
> install: wrong number or types of arguments
> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
> [-o owner] file1 file2
> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
> [-o owner] file1 ... fileN directory
> install -d [-v] [-g group] [-m mode] [-o owner] directory ...
> *** Error code 64
>
> Stop in /usr/src/etc.
Chybi mu adresar $DESTDIR/etc, kterej make buildworld nevytvori.
Podle http://lists.freebsd.org/pipermail/freebsd-hackers/2006-May/016659.html by snad predtim melo byt "make distrib-dirs", ale
"make installworld && installkernel" mi fungovalo taky.
M.
On 8.7.2010, at 21:12, Jozef Babjak wrote:
>> cd /usr/src/etc; make distribution
>
> ^-- IIRC, make distribution by mal nahradzat make install*; akurat
> sa mi vidi divny to cd predtym. Ale - co to urobi, ked sa to vykona
> podla handbook-u? Ak tvrdis, ze je tam chyba, bolo by to asi dobre
> najprv predsa len skusit, nie? :-)
>
> J.
> --
> FreeBSD mailing list (users-l na freebsd.cz)
> http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list