[HOME] [研究室] [github] [twitter] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

新しいユーザランドをインストールする (1/2): /etc 以外

ユーザランドの更新には「install=ディレクトリ」命令を使います。 ちなみに /etc は更新されませんので安心して下さい。

# cd /usr/src
# sh netbsd-build.sh install=/

なお、netbsd-build.sh さんは、 最後に、次のステップの指示 「etcupdate -s /...略.../etc.tgz を実行して下さいね!」 を教えてくれるので、 その行をコピー&ペーストして使うと便利です。

実行例:


===> build.sh command: build.sh -M /var/tmp/build-5.1.0_PATCH/obj -T /var/tmp/build-5.1.0_PATCH/tools -D /var/tmp/build-5.1.0_PATCH/dest -R /var/tmp/build-5.1.0_PATCH/release install=/
===> build.sh started: Thu Aug 25 18:24:06 JST 2011
===> NetBSD version:   5.1.0_PATCH
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 5.1.0_PATCH i386
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /var/tmp/build-5.1.0_PATCH/tools
===> DESTDIR path:     /var/tmp/build-5.1.0_PATCH/dest
===> RELEASEDIR path:  /var/tmp/build-5.1.0_PATCH/release
===> makewrapper:      /var/tmp/build-5.1.0_PATCH/tools/bin/nbmake-i386
===> Updated /var/tmp/build-5.1.0_PATCH/tools/bin/nbmake-i386
installsets ===> distrib/sets	(with: INSTALLDIR=/ INSTALLSETS=)
cd /usr/src/distrib/sets &&  DESTDIR=/var/tmp/build-5.1.0_PATCH/dest  MACHINE=i386 MACHINE_ARCH=i386  AWK=/var/tmp/build-5.1.0_PATCH/tools/bin/nbawk  CKSUM=/var/tmp/build-5.1.0_PATCH/tools/bin/nbcksum  DB=/var/tmp/build-5.1.0_PATCH/tools/bin/nbdb  HOST_SH=/bin/sh  MAKE=/var/tmp/build-5.1.0_PATCH/tools/bin/nbmake  MKTEMP=/var/tmp/build-5.1.0_PATCH/tools/bin/nbmktemp  MTREE=/var/tmp/build-5.1.0_PATCH/tools/bin/nbmtree  PAX=/var/tmp/build-5.1.0_PATCH/tools/bin/nbpax  SED=/var/tmp/build-5.1.0_PATCH/tools/bin/nbsed  TSORT=/var/tmp/build-5.1.0_PATCH/tools/bin/nbtsort\ -q  /bin/sh ./maketars -d /var/tmp/build-5.1.0_PATCH/dest    -N /usr/src/etc   -i / 
Copying set base
Copying set comp
Copying set games
Copying set man
Copying set misc
Copying set tests
Copying set text
postinstall-check ===> .	(with: DESTDIR=/)
   === Post installation checks ===
AWK=/var/tmp/build-5.1.0_PATCH/tools/bin/nbawk MAKE=/var/tmp/build-5.1.0_PATCH/tools/bin/nbmake /bin/sh /usr/src/usr.sbin/postinstall/postinstall -s /usr/src -d / check; if [ $? -gt 1 ]; then exit 1; fi
Source directory: /usr/src
Target directory: //
bluetooth check:
ddbonpanic check:
defaults check:
dhcpcd check:
envsys check:
fontconfig check:
	Broken fontconfig configuration found; please delete these files
	in the //etc/fonts/conf.d/ subdirectory:
	   10-autohint.conf 10-no-sub-pixel.conf 10-sub-pixel-bgr.conf
	   10-sub-pixel-rgb.conf 10-sub-pixel-vbgr.conf
	   10-sub-pixel-vrgb.conf 10-unhinted.conf 25-unhint-nonlatin.conf
	   65-khmer.conf 70-no-bitmaps.conf 70-yes-bitmaps.conf
	(This warning only appears if both the 10-unhinted.conf and
	10-autohint.conf files are present.
gid check:
hosts check:
iscsi check:
makedev check:
motd check:
mtree check:
	/usr/src/etc/mtree/NetBSD.dist != ///etc/mtree/NetBSD.dist
	/usr/src/etc/mtree/special != ///etc/mtree/special
named check:
nosa check:
pam check:
periodic check:
pf check:
rc check:
	/usr/src/etc/rc.d/named != ///etc/rc.d/named
	/usr/src/etc/rc.d/ntpd != ///etc/rc.d/ntpd
	/usr/src/etc/rc.d/ntpdate != ///etc/rc.d/ntpdate
	/usr/src/etc/rc.d/postfix != ///etc/rc.d/postfix
	/usr/src/etc/rc.d/sshd != ///etc/rc.d/sshd
ssh check:
wscons check:
x11 check:
xkb check:
uid check:
varrwho check:
obsolete check:
postinstall checks passed: bluetooth ddbonpanic defaults dhcpcd envsys gid hosts iscsi makedev motd named nosa pam periodic pf ssh wscons x11 xkb uid varrwho obsolete
postinstall checks failed: fontconfig mtree rc
To fix, run:
    /usr/src/usr.sbin/postinstall/postinstall -s '/usr/src' -d / fix fontconfig mtree rc
Note that this may overwrite local changes.
   ================================
make installworld started at:  Thu Aug 25 18:24:07 JST 2011
make installworld finished at: Thu Aug 25 18:28:55 JST 2011
===> Successful installworld to /
===> build.sh ended:   Thu Aug 25 18:28:55 JST 2011
===> Summary of results:
	 build.sh command: build.sh -M /var/tmp/build-5.1.0_PATCH/obj -T /var/tmp/build-5.1.0_PATCH/tools -D /var/tmp/build-5.1.0_PATCH/dest -R /var/tmp/build-5.1.0_PATCH/release install=/
	 build.sh started: Thu Aug 25 18:24:06 JST 2011
	 NetBSD version:   5.1.0_PATCH
	 MACHINE:          i386
	 MACHINE_ARCH:     i386
	 Build platform:   NetBSD 5.1.0_PATCH i386
	 HOST_SH:          /bin/sh
	 TOOLDIR path:     /var/tmp/build-5.1.0_PATCH/tools
	 DESTDIR path:     /var/tmp/build-5.1.0_PATCH/dest
	 RELEASEDIR path:  /var/tmp/build-5.1.0_PATCH/release
	 makewrapper:      /var/tmp/build-5.1.0_PATCH/tools/bin/nbmake-i386
	 Updated /var/tmp/build-5.1.0_PATCH/tools/bin/nbmake-i386
	 Successful installworld to /
	 build.sh ended:   Thu Aug 25 18:28:55 JST 2011
===> .
next:

After chroot, etcupdate -s /var/tmp/build.i386.netbsd-5.1.0_PATCH/release/i386/binary/sets/etc.tgz

[HOME] [研究室] [github] [twitter] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2018 Ken'ichi Fukamachi mail:< fukachan at fml.org >