*FuguIta build procedure [#z0597510]

**setup build tools [#kf5604b0]
-update CVS, then fully build from src/* xenocara/* ports/*

-prepare work dir.
--normally copy /opt/fi/X.Y-1 to /opt/fi/X.Y
--''make open-media''
---rename fuguita-X.Y-1-arch.ffsimg to fuguita-X.Y-arch.ffsimg
---'make open-fuguita''
---sync fuguita to syncroot
---rename syncroot to refroot-X.Y
--make directory: syncroot
--cleanup directories: archived-images, workroot, sys
---remove fuguita/*
---zero-fill with fuguita/fill, then remove it
--''make open-rdroot''
---update FuguIta's CVS
-- compile under TOOLDIR/lib/special for bootbin
-- build crunched binary /boottmp/bootbin under TOOLDIR/lib/bootbin
-- build kernels
---lndir sys to /usr/src/sys
---update RDROOT and RDROOT.MP kernel config files, then config and compile
-- add two new vnode devices under TOOLDIR/rdroot/dev

----

- i386: create FuguIta's contents in TOOLDIR/fuguita -- [[kaw]] &new{2018-10-23 (Tue) 04:07:59};
--extract {base,comp,games,man,xbase,xserv,xfonts}??.tgz in TOOLDIR/fuguita ~
then extract var/sysmerge/{etc,xetc}??.tgz
--for /usr
---fix dandling symlinks in bin dirs
---%%delete /usr/lib/lib*_p.a /usr/share/relink/kernel.tgz%%
---%%delete /usr/lib/lib*.a if /usr/lib/lib*.so.* exists%%
---%%strip all shared libs%%
---remove /usr/share/relink/kernel.tgz
---create dirs/files under /usr/fuguita~
add fuguita bin dirs to PATH to /root/.profile and /etc/skel/.profile
--under TOOLDIR chrooted
---pkg_add rsync, rlwrapper and pv
---ldconfig -m
---MAKEDEV std
--for /etc
---create /etc/hosts for locahost
---create /etc/localtime : timezone to UTC
---create /etc/rc.firsttime
---create /etc/installurl : https://cdn.openbsd.org/pub/OpenBSD
---fix /etc/man.conf and makewhatis (at chrooted)
---fix /etc/mtree/special
---fix /etc/sysctl.conf
---make a diff of /etc/rc for ASLR modification and disabling KARL
--for /var
---create /var/db/host.ramdom
---remove stale files
--for X
---mkfontdir, mkfontscale and fc-cache
--final setup
---remove /root/.ksh_history
---make /usr/fuguita/etc/mode0symlinks.cpio.gz
---copy boot stuffs into TOOLDIR/lib
--create an ISO image
---make contall
Top Index Search Recent Backups  Help  RSS