--- wikisrc/users/imil/cheatsheet.mdwn 2012/07/25 20:00:28 1.2 +++ wikisrc/users/imil/cheatsheet.mdwn 2012/07/25 20:05:38 1.3 @@ -2,46 +2,57 @@ ## Upgrade the system with binaries - # cp /netbsd /netbsd.old - # tar zxvfp kern-MONOLITHIC.tgz -C / - # sync; sync - # shutdown -r now - # for i in base comp games man misc modules tests text xbase xcomp xetc xfont xserver; do tar zxvfp $i.tgz -C /;done - # mkdir /tmp/temproot - # tar zxvfp etc.tgz -C /tmp/temproot - # postinstall -s /tmp/tmproot check - # # copy postinstall's requirements - # etcupdate -s /tmp/tmproot - # shutdown -r now +[[!template id=programlisting text=""" + # cp /netbsd /netbsd.old + # tar zxvfp kern-MONOLITHIC.tgz -C / + # sync; sync + # shutdown -r now + # for i in base comp games man misc modules tests text xbase xcomp xetc xfont xserver; do tar zxvfp $i.tgz -C /;done + # mkdir /tmp/temproot + # tar zxvfp etc.tgz -C /tmp/temproot + # postinstall -s /tmp/tmproot check + # # copy postinstall's requirements + # etcupdate -s /tmp/tmproot + # shutdown -r now +"""]] ## Upgrade the system with sources * Build the userland - # cd /usr/src - # ./build.sh -O ../obj -T ../tools -j -U distribution +[[!template id=programlisting text=""" + # cd /usr/src + # ./build.sh -O ../obj -T ../tools -j -U distribution +"""] * Build the kernel - # cd /usr/src - # ./build.sh -O ../obj -T ../tools -j kernel= +[[!template id=programlisting text=""" + # cd /usr/src + # ./build.sh -O ../obj -T ../tools -j kernel= +"""] * Install the new kernel - # cd /usr/src - # cp /netbsd /netbsd.old - # cp /usr/obj/sys/arch//compile//netbsd / - # shutdown -r now - # cd /usr/src - # ./build.sh -O ../obj -T ../tools -U install=/ - # /usr/sbin/etcupdate -s /usr/src +[[!template id=programlisting text=""" + # cd /usr/src + # cp /netbsd /netbsd.old + # cp /usr/obj/sys/arch//compile//netbsd / + # shutdown -r now + # cd /usr/src + # ./build.sh -O ../obj -T ../tools -U install=/ + # /usr/sbin/etcupdate -s /usr/src +"""]]] ## Adobe Flash - # echo "procfs /emul/linux/proc procfs ro,linux" >> /etc/fstab - # mount /emul/linux/proc - # cd /usr/pkgsrc/www/nspluginwrapper - # make install - # cd /usr/pkgsrc/multimedia/ns-flash - # make install - $ nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so +[[!template id=programlisting text=""" + # echo "procfs /emul/linux/proc procfs ro,linux" >> /etc/fstab + # mount /emul/linux/proc + # cd /usr/pkgsrc/www/nspluginwrapper + # make install + # cd /usr/pkgsrc/multimedia/ns-flash + # make install + $ nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so +"""] +