Annotation of wikisrc/users/imil/cheatsheet.mdwn, revision 1.2
1.1 imil 1: # NetBSD cheat sheet
2:
3: ## Upgrade the system with binaries
4:
5: # cp /netbsd /netbsd.old
6: # tar zxvfp kern-MONOLITHIC.tgz -C /
7: # sync; sync
8: # shutdown -r now
9: # for i in base comp games man misc modules tests text xbase xcomp xetc xfont xserver; do tar zxvfp $i.tgz -C /;done
10: # mkdir /tmp/temproot
11: # tar zxvfp etc.tgz -C /tmp/temproot
12: # postinstall -s /tmp/tmproot check
13: # # copy postinstall's requirements
14: # etcupdate -s /tmp/tmproot
15: # shutdown -r now
16:
17: ## Upgrade the system with sources
18:
19: * Build the userland
20:
1.2 ! imil 21: # cd /usr/src
! 22: # ./build.sh -O ../obj -T ../tools -j<njobs> -U distribution
1.1 imil 23:
24: * Build the kernel
25:
1.2 ! imil 26: # cd /usr/src
! 27: # ./build.sh -O ../obj -T ../tools -j<njobs> kernel=<KERNEL>
1.1 imil 28:
29: * Install the new kernel
30:
1.2 ! imil 31: # cd /usr/src
! 32: # cp /netbsd /netbsd.old
! 33: # cp /usr/obj/sys/arch/<ARCH>/compile/<KERNEL>/netbsd /
! 34: # shutdown -r now
! 35: # cd /usr/src
! 36: # ./build.sh -O ../obj -T ../tools -U install=/
! 37: # /usr/sbin/etcupdate -s /usr/src
1.1 imil 38:
39: ## Adobe Flash
40:
41: # echo "procfs /emul/linux/proc procfs ro,linux" >> /etc/fstab
42: # mount /emul/linux/proc
43: # cd /usr/pkgsrc/www/nspluginwrapper
44: # make install
45: # cd /usr/pkgsrc/multimedia/ns-flash
46: # make install
47: $ nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb